mirror of
https://github.com/tenrok/bootstrap.git
synced 2026-06-14 18:42:30 +03:00
start stubbing out a new reboot section and file
This commit is contained in:
+32
-47
@@ -2,36 +2,21 @@
|
||||
// Forms
|
||||
// --------------------------------------------------
|
||||
|
||||
// legend {
|
||||
// display: block;
|
||||
// width: 100%;
|
||||
// padding: 0;
|
||||
// margin-bottom: $line-height-computed;
|
||||
// font-size: ($font-size-base * 1.5);
|
||||
// line-height: inherit;
|
||||
// color: $legend-color;
|
||||
// border: 0;
|
||||
// border-bottom: 1px solid $legend-border-color;
|
||||
// }
|
||||
|
||||
// Normalize non-controls
|
||||
//
|
||||
// Restyle and baseline non-control form elements.
|
||||
|
||||
fieldset {
|
||||
// Chrome and Firefox set a `min-width: min-content;` on fieldsets,
|
||||
// so we reset that to ensure it behaves more like a standard block element.
|
||||
// See https://github.com/twbs/bootstrap/issues/12359.
|
||||
min-width: 0;
|
||||
padding: 0;
|
||||
margin: 0;
|
||||
border: 0;
|
||||
}
|
||||
|
||||
legend {
|
||||
display: block;
|
||||
width: 100%;
|
||||
padding: 0;
|
||||
margin-bottom: $line-height-computed;
|
||||
font-size: ($font-size-base * 1.5);
|
||||
line-height: inherit;
|
||||
color: $legend-color;
|
||||
border: 0;
|
||||
border-bottom: 1px solid $legend-border-color;
|
||||
}
|
||||
|
||||
// todo: turn this into a class
|
||||
label {
|
||||
display: inline-block;
|
||||
margin-bottom: 5px;
|
||||
margin-bottom: .5rem;
|
||||
}
|
||||
|
||||
|
||||
@@ -41,10 +26,10 @@ label {
|
||||
// is required to ensure optimum display with or without those classes to better
|
||||
// address browser inconsistencies.
|
||||
|
||||
// Override content-box in Normalize (* isn't specific enough)
|
||||
input[type="search"] {
|
||||
box-sizing: border-box;
|
||||
}
|
||||
// // Override content-box in Normalize (* isn't specific enough)
|
||||
// input[type="search"] {
|
||||
// box-sizing: border-box;
|
||||
// }
|
||||
|
||||
// Position radios and checkboxes better
|
||||
input[type="radio"],
|
||||
@@ -54,22 +39,22 @@ input[type="checkbox"] {
|
||||
line-height: normal;
|
||||
}
|
||||
|
||||
// Set the height of file controls to match text inputs
|
||||
input[type="file"] {
|
||||
display: block;
|
||||
}
|
||||
// // Set the height of file controls to match text inputs
|
||||
// input[type="file"] {
|
||||
// display: block;
|
||||
// }
|
||||
|
||||
// Make range inputs behave like textual form controls
|
||||
input[type="range"] {
|
||||
display: block;
|
||||
width: 100%;
|
||||
}
|
||||
// // Make range inputs behave like textual form controls
|
||||
// input[type="range"] {
|
||||
// display: block;
|
||||
// width: 100%;
|
||||
// }
|
||||
|
||||
// Make multiple select elements height not fixed
|
||||
select[multiple],
|
||||
select[size] {
|
||||
height: auto;
|
||||
}
|
||||
// // Make multiple select elements height not fixed
|
||||
// select[multiple],
|
||||
// select[size] {
|
||||
// height: auto;
|
||||
// }
|
||||
|
||||
// Focus for file, radio, and checkbox
|
||||
input[type="file"]:focus,
|
||||
@@ -80,7 +65,7 @@ input[type="checkbox"]:focus {
|
||||
|
||||
// Adjust output element
|
||||
output {
|
||||
display: block;
|
||||
// display: block;
|
||||
padding-top: ($padding-base-vertical + 1);
|
||||
font-size: $font-size-base;
|
||||
line-height: $line-height-base;
|
||||
|
||||
Reference in New Issue
Block a user