diff --git a/dist/ionic.css b/dist/ionic.css index a801e03ab1..129875b00f 100644 --- a/dist/ionic.css +++ b/dist/ionic.css @@ -344,9 +344,10 @@ table { html { -webkit-text-size-adjust: 100%; - -webkit-touch-callout: none; -webkit-user-select: none; - -moz-user-select: -moz-none; + -moz-user-select: none; + -ms-user-select: none; + -o-user-select: none; user-select: none; } body { @@ -390,7 +391,7 @@ body { margin: 10px; } .rounded { - border-radius: 5px; } + border-radius: 4px; } a { -webkit-tap-highlight-color: rgba(0, 0, 0, 0); } @@ -432,9 +433,10 @@ a { margin-top: 5px; } .bar { - -webkit-touch-callout: none; -webkit-user-select: none; - -moz-user-select: -moz-none; + -moz-user-select: none; + -ms-user-select: none; + -o-user-select: none; user-select: none; display: -webkit-box; display: box; @@ -654,62 +656,54 @@ select, textarea { font-family: "Helvetica Neue", Helvetica, Arial, sans-serif; } +.form-group { + border-top: 1px solid #cccccc; + border-bottom: 1px solid #cccccc; + background-color: white; + overflow: hidden; } + +.content-padded > .form-group, +.form-group.inset { + border-left: 1px solid #cccccc; + border-right: 1px solid #cccccc; + -webkit-border-radius: 4px; + -moz-border-radius: 4px; + border-radius: 4px; } + +.form-group .input-wrapper + .input-wrapper { + border-top: 1px solid #cccccc; } + +.form-group + .form-group { + margin-top: 10px; } + .input-wrapper { display: block; - border-top: 1px solid #999999; - border-bottom: 1px solid #999999; - padding: 4px 7px 3px; } + padding: 6px 8px 5px; + overflow: hidden; } .input-wrapper input { + background-color: transparent; margin: 0; - -webkit-appearance: none; } + -webkit-appearance: none; + -webkit-border-radius: 0; + -moz-border-radius: 0; + border-radius: 0; } .input-wrapper .input-label { font-weight: bold; line-height: 34px; } -.content-padded > .input-wrapper, -.input-wrapper.inset { - border-left: 1px solid #999999; - border-right: 1px solid #999999; - -webkit-border-radius: 2px; - -moz-border-radius: 2px; - border-radius: 2px; } - -.input-wrapper.row-fluid { - width: auto; } - -.stacked-label { - padding: 0; } - .stacked-label input { - border: 1px solid #999999; } - -.stacked-label { +.form-group.stacked-label, +.form-group.stacked-label .input-wrapper { + background-color: transparent; border: 0; } - .stacked-label input { - border: 1px solid #999999 !important; - padding: 20px 10px !important; - -webkit-border-radius: 2px; - -moz-border-radius: 2px; - border-radius: 2px; } - .stacked-label span { - font-weight: bold; - line-height: 20px; } -.content > .input-wrapper.stacked-label input { - border-left: 0 !important; - border-right: 0 !important; - -webkit-border-radius: 0; - -moz-border-radius: 0; - border-radius: 0; } - -.content-padded > .input-wrapper.stacked-label, -.content > .input-wrapper.stacked-label.inset { - border: 0 !important; } - -.content > .input-wrapper.stacked-label.inset input { - border: 1px solid #999999 !important; } - -.input-wrapper + .input-wrapper { - border-top: 0 !important; } +.form-group.stacked-label input { + border: 1px solid #cccccc; + background-color: white; + padding: 4px 8px 3px; + overflow: hidden; + -webkit-border-radius: 4px; + -moz-border-radius: 4px; + border-radius: 4px; } select, textarea, @@ -759,7 +753,6 @@ input[type="search"], input[type="tel"], input[type="color"], .uneditable-input { - background-color: white; border: 0; } textarea:focus, input[type="text"]:focus, @@ -799,13 +792,13 @@ input[type="checkbox"] { select, input[type="file"] { - height: 24px; + height: 34px; /* In IE7, the height of the select element cannot be changed by height, only font-size */ - line-height: 24px; } + line-height: 34px; } select { width: 220px; - border: 1px solid #999999; + border: 1px solid #cccccc; background-color: white; } select[multiple], @@ -820,21 +813,6 @@ input[type="checkbox"]:focus { outline: 5px auto -webkit-focus-ring-color; outline-offset: -2px; } -.uneditable-input, -.uneditable-textarea { - color: #999999; - background-color: #fcfcfc; - border-color: #999999; - cursor: not-allowed; } - -.uneditable-input { - overflow: hidden; - white-space: nowrap; } - -.uneditable-textarea { - width: auto; - height: auto; } - input:-moz-placeholder, textarea:-moz-placeholder { color: #999999; } @@ -845,157 +823,6 @@ input::-webkit-input-placeholder, textarea::-webkit-input-placeholder { color: #999999; } -.radio, -.checkbox { - min-height: 1.42857; - padding-left: 20px; } - -.radio input[type="radio"], -.checkbox input[type="checkbox"] { - float: left; - margin-left: -20px; } - -.controls > .radio:first-child, -.controls > .checkbox:first-child { - padding-top: 5px; } - -.radio.inline, -.checkbox.inline { - display: inline-block; - padding-top: 5px; - margin-bottom: 0; - vertical-align: middle; } - -.radio.inline + .radio.inline, -.checkbox.inline + .checkbox.inline { - margin-left: 10px; } - -.input-mini { - width: 60px; } - -.input-small { - width: 90px; } - -.input-medium { - width: 150px; } - -.input-large { - width: 210px; } - -.input-xlarge { - width: 270px; } - -.input-xxlarge { - width: 530px; } - -input[class*="span"], -select[class*="span"], -textarea[class*="span"], -.uneditable-input[class*="span"], -.row-fluid input[class*="span"], -.row-fluid select[class*="span"], -.row-fluid textarea[class*="span"], -.row-fluid .uneditable-input[class*="span"] { - float: none; - margin-left: 0; } - -.input-append input[class*="span"], -.input-append .uneditable-input[class*="span"], -.input-prepend input[class*="span"], -.input-prepend .uneditable-input[class*="span"], -.row-fluid input[class*="span"], -.row-fluid select[class*="span"], -.row-fluid textarea[class*="span"], -.row-fluid .uneditable-input[class*="span"], -.row-fluid .input-prepend [class*="span"], -.row-fluid .input-append [class*="span"] { - display: inline-block; } - -input, -textarea, -.uneditable-input { - margin-left: 0; } - -.controls-row [class*="span"] + [class*="span"] { - margin-left: 20px; } - -input.span1, -textarea.span1, -.uneditable-input.span1 { - width: 46px; } - -input.span2, -textarea.span2, -.uneditable-input.span2 { - width: 126px; } - -input.span3, -textarea.span3, -.uneditable-input.span3 { - width: 206px; } - -input.span4, -textarea.span4, -.uneditable-input.span4 { - width: 286px; } - -input.span5, -textarea.span5, -.uneditable-input.span5 { - width: 366px; } - -input.span6, -textarea.span6, -.uneditable-input.span6 { - width: 446px; } - -input.span7, -textarea.span7, -.uneditable-input.span7 { - width: 526px; } - -input.span8, -textarea.span8, -.uneditable-input.span8 { - width: 606px; } - -input.span9, -textarea.span9, -.uneditable-input.span9 { - width: 686px; } - -input.span10, -textarea.span10, -.uneditable-input.span10 { - width: 766px; } - -input.span11, -textarea.span11, -.uneditable-input.span11 { - width: 846px; } - -input.span12, -textarea.span12, -.uneditable-input.span12 { - width: 926px; } - -.controls-row { - *zoom: 1; } - .controls-row:before, .controls-row:after { - display: table; - content: ""; - line-height: 0; } - .controls-row:after { - clear: both; } - -.controls-row [class*="span"], -.row-fluid .controls-row [class*="span"] { - float: left; } - -.controls-row .checkbox[class*="span"], -.controls-row .radio[class*="span"] { - padding-top: 5px; } - input[disabled], select[disabled], textarea[disabled], @@ -1003,7 +830,7 @@ input[readonly], select[readonly], textarea[readonly] { cursor: not-allowed; - background-color: whitesmoke; } + background-color: #eeeeee; } input[type="radio"][disabled], input[type="checkbox"][disabled], @@ -1011,427 +838,22 @@ input[type="radio"][readonly], input[type="checkbox"][readonly] { background-color: transparent; } -.control-group.warning .control-label, -.control-group.warning .help-block, -.control-group.warning .help-inline { - color: #c09853; } -.control-group.warning .checkbox, -.control-group.warning .radio, -.control-group.warning input, -.control-group.warning select, -.control-group.warning textarea { - color: #c09853; } -.control-group.warning input, -.control-group.warning select, -.control-group.warning textarea { - border-color: #c09853; - -webkit-box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.075); - -moz-box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.075); - box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.075); } - .control-group.warning input:focus, - .control-group.warning select:focus, - .control-group.warning textarea:focus { - border-color: #a47e3c; - -webkit-box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.075), 0 0 6px #dbc59e; - -moz-box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.075), 0 0 6px #dbc59e; - box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.075), 0 0 6px #dbc59e; } -.control-group.warning .input-prepend .add-on, -.control-group.warning .input-append .add-on { - color: #c09853; - background-color: #fcf8e3; - border-color: #c09853; } - -.control-group.error .control-label, -.control-group.error .help-block, -.control-group.error .help-inline { - color: #b94a48; } -.control-group.error .checkbox, -.control-group.error .radio, -.control-group.error input, -.control-group.error select, -.control-group.error textarea { - color: #b94a48; } -.control-group.error input, -.control-group.error select, -.control-group.error textarea { - border-color: #b94a48; - -webkit-box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.075); - -moz-box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.075); - box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.075); } - .control-group.error input:focus, - .control-group.error select:focus, - .control-group.error textarea:focus { - border-color: #953b39; - -webkit-box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.075), 0 0 6px #d59392; - -moz-box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.075), 0 0 6px #d59392; - box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.075), 0 0 6px #d59392; } -.control-group.error .input-prepend .add-on, -.control-group.error .input-append .add-on { - color: #b94a48; - background-color: #f2dede; - border-color: #b94a48; } - -.control-group.success .control-label, -.control-group.success .help-block, -.control-group.success .help-inline { - color: #468847; } -.control-group.success .checkbox, -.control-group.success .radio, -.control-group.success input, -.control-group.success select, -.control-group.success textarea { - color: #468847; } -.control-group.success input, -.control-group.success select, -.control-group.success textarea { - border-color: #468847; - -webkit-box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.075); - -moz-box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.075); - box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.075); } - .control-group.success input:focus, - .control-group.success select:focus, - .control-group.success textarea:focus { - border-color: #356635; - -webkit-box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.075), 0 0 6px #7aba7b; - -moz-box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.075), 0 0 6px #7aba7b; - box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.075), 0 0 6px #7aba7b; } -.control-group.success .input-prepend .add-on, -.control-group.success .input-append .add-on { - color: #468847; - background-color: #dff0d8; - border-color: #468847; } - -.control-group.info .control-label, -.control-group.info .help-block, -.control-group.info .help-inline { - color: #3a87ad; } -.control-group.info .checkbox, -.control-group.info .radio, -.control-group.info input, -.control-group.info select, -.control-group.info textarea { - color: #3a87ad; } -.control-group.info input, -.control-group.info select, -.control-group.info textarea { - border-color: #3a87ad; - -webkit-box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.075); - -moz-box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.075); - box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.075); } - .control-group.info input:focus, - .control-group.info select:focus, - .control-group.info textarea:focus { - border-color: #2d6987; - -webkit-box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.075), 0 0 6px #7ab5d3; - -moz-box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.075), 0 0 6px #7ab5d3; - box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.075), 0 0 6px #7ab5d3; } -.control-group.info .input-prepend .add-on, -.control-group.info .input-append .add-on { - color: #3a87ad; - background-color: #d9edf7; - border-color: #3a87ad; } - -input:focus:invalid, -textarea:focus:invalid, -select:focus:invalid { - color: #b94a48; - border-color: #ee5f5b; } - input:focus:invalid:focus, - textarea:focus:invalid:focus, - select:focus:invalid:focus { - border-color: #e9322d; } - -.form-actions { - padding: 0.42857 20px 1.42857; - margin-top: 1.42857; - margin-bottom: 1.42857; - background-color: whitesmoke; - border-top: 1px solid #e5e5e5; +.container { + margin-right: auto; + margin-left: auto; + padding-left: 15px; + padding-right: 15px; *zoom: 1; } - .form-actions:before, .form-actions:after { + .container:before, .container:after { display: table; content: ""; line-height: 0; } - .form-actions:after { + .container:after { clear: both; } -.help-block, -.help-inline { - color: #595959; } - -.help-block { - display: block; - margin-bottom: 0.71429; } - -.help-inline { - display: inline-block; - *display: inline; - /* IE7 inline-block hack */ - *zoom: 1; - vertical-align: middle; - padding-left: 5px; } - -.input-append, -.input-prepend { - display: inline-block; - margin-bottom: 0.71429; - vertical-align: middle; - font-size: 0; - white-space: nowrap; } - .input-append input, - .input-append select, - .input-append .uneditable-input, - .input-append .dropdown-menu, - .input-append .popover, - .input-prepend input, - .input-prepend select, - .input-prepend .uneditable-input, - .input-prepend .dropdown-menu, - .input-prepend .popover { - font-size: 14px; } - .input-append input, - .input-append select, - .input-append .uneditable-input, - .input-prepend input, - .input-prepend select, - .input-prepend .uneditable-input { - position: relative; - margin-bottom: 0; - vertical-align: top; } - .input-append input:focus, - .input-append select:focus, - .input-append .uneditable-input:focus, - .input-prepend input:focus, - .input-prepend select:focus, - .input-prepend .uneditable-input:focus { - z-index: 2; } - .input-append .add-on, - .input-prepend .add-on { - display: inline-block; - width: auto; - height: 1.42857; - min-width: 16px; - padding: 4px 5px; - font-size: 14px; - font-weight: normal; - line-height: 1.42857; - text-align: center; - text-shadow: 0 1px 0 white; - background-color: whitesmoke; - border: 1px solid #cccccc; } - .input-append .add-on, - .input-append .btn, - .input-append .btn-group > .dropdown-toggle, - .input-prepend .add-on, - .input-prepend .btn, - .input-prepend .btn-group > .dropdown-toggle { - vertical-align: top; - -webkit-border-radius: 0; - -moz-border-radius: 0; - border-radius: 0; } - .input-append .active, - .input-prepend .active { - background-color: #a9dba9; - border-color: #46a546; } - -.input-prepend .add-on, -.input-prepend .btn { - margin-right: -1px; } -.input-prepend .add-on:first-child, -.input-prepend .btn:first-child { - -webkit-border-radius: 4px 0 0 4px; - -moz-border-radius: 4px 0 0 4px; - border-radius: 4px 0 0 4px; } - -.input-append input, -.input-append select, -.input-append .uneditable-input { - -webkit-border-radius: 4px 0 0 4px; - -moz-border-radius: 4px 0 0 4px; - border-radius: 4px 0 0 4px; } - .input-append input + .btn-group .btn:last-child, - .input-append select + .btn-group .btn:last-child, - .input-append .uneditable-input + .btn-group .btn:last-child { - -webkit-border-radius: 0 4px 4px 0; - -moz-border-radius: 0 4px 4px 0; - border-radius: 0 4px 4px 0; } -.input-append .add-on, -.input-append .btn, -.input-append .btn-group { - margin-left: -1px; } -.input-append .add-on:last-child, -.input-append .btn:last-child, -.input-append .btn-group:last-child > .dropdown-toggle { - -webkit-border-radius: 0 4px 4px 0; - -moz-border-radius: 0 4px 4px 0; - border-radius: 0 4px 4px 0; } - -.input-prepend.input-append input, -.input-prepend.input-append select, -.input-prepend.input-append .uneditable-input { - -webkit-border-radius: 0; - -moz-border-radius: 0; - border-radius: 0; } - .input-prepend.input-append input + .btn-group .btn, - .input-prepend.input-append select + .btn-group .btn, - .input-prepend.input-append .uneditable-input + .btn-group .btn { - -webkit-border-radius: 0 4px 4px 0; - -moz-border-radius: 0 4px 4px 0; - border-radius: 0 4px 4px 0; } -.input-prepend.input-append .add-on:first-child, -.input-prepend.input-append .btn:first-child { - margin-right: -1px; - -webkit-border-radius: 4px 0 0 4px; - -moz-border-radius: 4px 0 0 4px; - border-radius: 4px 0 0 4px; } -.input-prepend.input-append .add-on:last-child, -.input-prepend.input-append .btn:last-child { - margin-left: -1px; - -webkit-border-radius: 0 4px 4px 0; - -moz-border-radius: 0 4px 4px 0; - border-radius: 0 4px 4px 0; } -.input-prepend.input-append .btn-group:first-child { - margin-left: 0; } - -input.search-query { - padding-right: 14px; - padding-right: 4px \9; - padding-left: 14px; - padding-left: 4px \9; - /* IE7-8 doesn't have border-radius, so don't indent the padding */ - margin-bottom: 0; - -webkit-border-radius: 15px; - -moz-border-radius: 15px; - border-radius: 15px; } - -/* Allow for input prepend/append in search forms */ -.form-search .input-append .search-query, -.form-search .input-prepend .search-query { - -webkit-border-radius: 0; - -moz-border-radius: 0; - border-radius: 0; } - -.form-search .input-append .search-query { - -webkit-border-radius: 14px 0 0 14px; - -moz-border-radius: 14px 0 0 14px; - border-radius: 14px 0 0 14px; } - -.form-search .input-append .btn { - -webkit-border-radius: 0 14px 14px 0; - -moz-border-radius: 0 14px 14px 0; - border-radius: 0 14px 14px 0; } - -.form-search .input-prepend .search-query { - -webkit-border-radius: 0 14px 14px 0; - -moz-border-radius: 0 14px 14px 0; - border-radius: 0 14px 14px 0; } - -.form-search .input-prepend .btn { - -webkit-border-radius: 14px 0 0 14px; - -moz-border-radius: 14px 0 0 14px; - border-radius: 14px 0 0 14px; } - -.form-search input, -.form-search textarea, -.form-search select, -.form-search .help-inline, -.form-search .uneditable-input, -.form-search .input-prepend, -.form-search .input-append, -.form-inline input, -.form-inline textarea, -.form-inline select, -.form-inline .help-inline, -.form-inline .uneditable-input, -.form-inline .input-prepend, -.form-inline .input-append, -.form-horizontal input, -.form-horizontal textarea, -.form-horizontal select, -.form-horizontal .help-inline, -.form-horizontal .uneditable-input, -.form-horizontal .input-prepend, -.form-horizontal .input-append { - display: inline-block; - *display: inline; - /* IE7 inline-block hack */ - *zoom: 1; - margin-bottom: 0; - vertical-align: middle; } -.form-search .hide, -.form-inline .hide, -.form-horizontal .hide { - display: none; } - -.form-search label, -.form-inline label, -.form-search .btn-group, -.form-inline .btn-group { - display: inline-block; } - -.form-search .input-append, -.form-inline .input-append, -.form-search .input-prepend, -.form-inline .input-prepend { - margin-bottom: 0; } - -.form-search .radio, -.form-search .checkbox, -.form-inline .radio, -.form-inline .checkbox { - padding-left: 0; - margin-bottom: 0; - vertical-align: middle; } - -.form-search .radio input[type="radio"], -.form-search .checkbox input[type="checkbox"], -.form-inline .radio input[type="radio"], -.form-inline .checkbox input[type="checkbox"] { - float: left; - margin-right: 3px; - margin-left: 0; } - -.control-group { - margin-bottom: 0.71429; } - -legend + .control-group { - margin-top: 1.42857; - -webkit-margin-top-collapse: separate; } - -.form-horizontal .control-group { - margin-bottom: 1.42857; - *zoom: 1; } - .form-horizontal .control-group:before, .form-horizontal .control-group:after { - display: table; - content: ""; - line-height: 0; } - .form-horizontal .control-group:after { - clear: both; } -.form-horizontal .control-label { - float: left; - width: 160px; - padding-top: 5px; - text-align: right; } -.form-horizontal .controls { - *display: inline-block; - *padding-left: 20px; - margin-left: 180px; } - .form-horizontal .controls:first-child { - *padding-left: 180px; } -.form-horizontal .help-block { - margin-bottom: 0; } -.form-horizontal input + .help-block, -.form-horizontal select + .help-block, -.form-horizontal textarea + .help-block, -.form-horizontal .uneditable-input + .help-block, -.form-horizontal .input-prepend + .help-block, -.form-horizontal .input-append + .help-block { - margin-top: 0.71429; } -.form-horizontal .form-actions { - padding-left: 180px; } - .row { - margin-left: -20px; + margin-left: -15px; + margin-right: -15px; *zoom: 1; } .row:before, .row:after { display: table; @@ -1440,229 +862,579 @@ legend + .control-group { .row:after { clear: both; } -[class*="span"] { - float: left; +.col-xs-1, +.col-xs-2, +.col-xs-3, +.col-xs-4, +.col-xs-5, +.col-xs-6, +.col-xs-7, +.col-xs-8, +.col-xs-9, +.col-xs-10, +.col-xs-11, +.col-xs-12, +.col-sm-1, +.col-sm-2, +.col-sm-3, +.col-sm-4, +.col-sm-5, +.col-sm-6, +.col-sm-7, +.col-sm-8, +.col-sm-9, +.col-sm-10, +.col-sm-11, +.col-sm-12, +.col-md-1, +.col-md-2, +.col-md-3, +.col-md-4, +.col-md-5, +.col-md-6, +.col-md-7, +.col-md-8, +.col-md-9, +.col-md-10, +.col-md-11, +.col-md-12, +.col-lg-1, +.col-lg-2, +.col-lg-3, +.col-lg-4, +.col-lg-5, +.col-lg-6, +.col-lg-7, +.col-lg-8, +.col-lg-9, +.col-lg-10, +.col-lg-11, +.col-lg-12 { + position: relative; min-height: 1px; - margin-left: 20px; } + padding-left: 15px; + padding-right: 15px; } -.container, -.navbar-static-top .container, -.navbar-fixed-top .container, -.navbar-fixed-bottom .container { - width: 940px; } +.col-xs-1, +.col-xs-2, +.col-xs-3, +.col-xs-4, +.col-xs-5, +.col-xs-6, +.col-xs-7, +.col-xs-8, +.col-xs-9, +.col-xs-10, +.col-xs-11 { + float: left; } -.span1 { - width: 60px; } +.col-xs-1 { + width: 8.33333%; } -.span2 { - width: 140px; } +.col-xs-2 { + width: 16.66667%; } -.span3 { - width: 220px; } +.col-xs-3 { + width: 25%; } -.span4 { - width: 300px; } +.col-xs-4 { + width: 33.33333%; } -.span5 { - width: 380px; } +.col-xs-5 { + width: 41.66667%; } -.span6 { - width: 460px; } +.col-xs-6 { + width: 50%; } -.span7 { - width: 540px; } +.col-xs-7 { + width: 58.33333%; } -.span8 { - width: 620px; } +.col-xs-8 { + width: 66.66667%; } -.span9 { - width: 700px; } +.col-xs-9 { + width: 75%; } -.span10 { - width: 780px; } +.col-xs-10 { + width: 83.33333%; } -.span11 { - width: 860px; } +.col-xs-11 { + width: 91.66667%; } -.span12 { - width: 940px; } +.col-xs-12 { + width: 100%; } -.offset1 { - margin-left: 100px; } +@media (min-width: 768px) { + .container { + max-width: 750px; } -.offset2 { - margin-left: 180px; } + .col-sm-1, + .col-sm-2, + .col-sm-3, + .col-sm-4, + .col-sm-5, + .col-sm-6, + .col-sm-7, + .col-sm-8, + .col-sm-9, + .col-sm-10, + .col-sm-11 { + float: left; } -.offset3 { - margin-left: 260px; } + .col-sm-1 { + width: 8.33333%; } -.offset4 { - margin-left: 340px; } + .col-sm-2 { + width: 16.66667%; } -.offset5 { - margin-left: 420px; } + .col-sm-3 { + width: 25%; } -.offset6 { - margin-left: 500px; } + .col-sm-4 { + width: 33.33333%; } -.offset7 { - margin-left: 580px; } + .col-sm-5 { + width: 41.66667%; } -.offset8 { - margin-left: 660px; } + .col-sm-6 { + width: 50%; } -.offset9 { - margin-left: 740px; } + .col-sm-7 { + width: 58.33333%; } -.offset10 { - margin-left: 820px; } + .col-sm-8 { + width: 66.66667%; } -.offset11 { - margin-left: 900px; } + .col-sm-9 { + width: 75%; } -.offset12 { - margin-left: 980px; } + .col-sm-10 { + width: 83.33333%; } -.row-fluid { - width: 100%; - *zoom: 1; } - .row-fluid:before, .row-fluid:after { - display: table; - content: ""; - line-height: 0; } - .row-fluid:after { - clear: both; } - .row-fluid [class*="span"] { - display: block; - width: 100%; - min-height: 24px; - -webkit-box-sizing: border-box; - -moz-box-sizing: border-box; - box-sizing: border-box; - float: left; - margin-left: 2.12766%; - *margin-left: 2.07447%; } - .row-fluid [class*="span"]:first-child { + .col-sm-11 { + width: 91.66667%; } + + .col-sm-12 { + width: 100%; } + + .col-sm-push-1 { + left: 8.33333%; } + + .col-sm-push-2 { + left: 16.66667%; } + + .col-sm-push-3 { + left: 25%; } + + .col-sm-push-4 { + left: 33.33333%; } + + .col-sm-push-5 { + left: 41.66667%; } + + .col-sm-push-6 { + left: 50%; } + + .col-sm-push-7 { + left: 58.33333%; } + + .col-sm-push-8 { + left: 66.66667%; } + + .col-sm-push-9 { + left: 75%; } + + .col-sm-push-10 { + left: 83.33333%; } + + .col-sm-push-11 { + left: 91.66667%; } + + .col-sm-pull-1 { + right: 8.33333%; } + + .col-sm-pull-2 { + right: 16.66667%; } + + .col-sm-pull-3 { + right: 25%; } + + .col-sm-pull-4 { + right: 33.33333%; } + + .col-sm-pull-5 { + right: 41.66667%; } + + .col-sm-pull-6 { + right: 50%; } + + .col-sm-pull-7 { + right: 58.33333%; } + + .col-sm-pull-8 { + right: 66.66667%; } + + .col-sm-pull-9 { + right: 75%; } + + .col-sm-pull-10 { + right: 83.33333%; } + + .col-sm-pull-11 { + right: 91.66667%; } + + .col-sm-offset-1 { + margin-left: 8.33333%; } + + .col-sm-offset-2 { + margin-left: 16.66667%; } + + .col-sm-offset-3 { + margin-left: 25%; } + + .col-sm-offset-4 { + margin-left: 33.33333%; } + + .col-sm-offset-5 { + margin-left: 41.66667%; } + + .col-sm-offset-6 { + margin-left: 50%; } + + .col-sm-offset-7 { + margin-left: 58.33333%; } + + .col-sm-offset-8 { + margin-left: 66.66667%; } + + .col-sm-offset-9 { + margin-left: 75%; } + + .col-sm-offset-10 { + margin-left: 83.33333%; } + + .col-sm-offset-11 { + margin-left: 91.66667%; } } +@media (min-width: 992px) { + .container { + max-width: 970px; } + + .col-md-1, + .col-md-2, + .col-md-3, + .col-md-4, + .col-md-5, + .col-md-6, + .col-md-7, + .col-md-8, + .col-md-9, + .col-md-10, + .col-md-11 { + float: left; } + + .col-md-1 { + width: 8.33333%; } + + .col-md-2 { + width: 16.66667%; } + + .col-md-3 { + width: 25%; } + + .col-md-4 { + width: 33.33333%; } + + .col-md-5 { + width: 41.66667%; } + + .col-md-6 { + width: 50%; } + + .col-md-7 { + width: 58.33333%; } + + .col-md-8 { + width: 66.66667%; } + + .col-md-9 { + width: 75%; } + + .col-md-10 { + width: 83.33333%; } + + .col-md-11 { + width: 91.66667%; } + + .col-md-12 { + width: 100%; } + + .col-md-push-0 { + left: auto; } + + .col-md-push-1 { + left: 8.33333%; } + + .col-md-push-2 { + left: 16.66667%; } + + .col-md-push-3 { + left: 25%; } + + .col-md-push-4 { + left: 33.33333%; } + + .col-md-push-5 { + left: 41.66667%; } + + .col-md-push-6 { + left: 50%; } + + .col-md-push-7 { + left: 58.33333%; } + + .col-md-push-8 { + left: 66.66667%; } + + .col-md-push-9 { + left: 75%; } + + .col-md-push-10 { + left: 83.33333%; } + + .col-md-push-11 { + left: 91.66667%; } + + .col-md-pull-0 { + right: auto; } + + .col-md-pull-1 { + right: 8.33333%; } + + .col-md-pull-2 { + right: 16.66667%; } + + .col-md-pull-3 { + right: 25%; } + + .col-md-pull-4 { + right: 33.33333%; } + + .col-md-pull-5 { + right: 41.66667%; } + + .col-md-pull-6 { + right: 50%; } + + .col-md-pull-7 { + right: 58.33333%; } + + .col-md-pull-8 { + right: 66.66667%; } + + .col-md-pull-9 { + right: 75%; } + + .col-md-pull-10 { + right: 83.33333%; } + + .col-md-pull-11 { + right: 91.66667%; } + + .col-md-offset-0 { margin-left: 0; } - .row-fluid .controls-row [class*="span"] + [class*="span"] { - margin-left: 2.12766%; } - .row-fluid .span1 { - width: 6.38298%; - *width: 6.32979%; } - .row-fluid .span2 { - width: 14.89362%; - *width: 14.84043%; } - .row-fluid .span3 { - width: 23.40426%; - *width: 23.35106%; } - .row-fluid .span4 { - width: 31.91489%; - *width: 31.8617%; } - .row-fluid .span5 { - width: 40.42553%; - *width: 40.37234%; } - .row-fluid .span6 { - width: 48.93617%; - *width: 48.88298%; } - .row-fluid .span7 { - width: 57.44681%; - *width: 57.39362%; } - .row-fluid .span8 { - width: 65.95745%; - *width: 65.90426%; } - .row-fluid .span9 { - width: 74.46809%; - *width: 74.41489%; } - .row-fluid .span10 { - width: 82.97872%; - *width: 82.92553%; } - .row-fluid .span11 { - width: 91.48936%; - *width: 91.43617%; } - .row-fluid .span12 { - width: 100%; - *width: 99.94681%; } - .row-fluid .offset1 { - margin-left: 10.6383%; - *margin-left: 10.53191%; } - .row-fluid .offset1:first-child { - margin-left: 8.51064%; - *margin-left: 8.40426%; } - .row-fluid .offset2 { - margin-left: 19.14894%; - *margin-left: 19.04255%; } - .row-fluid .offset2:first-child { - margin-left: 17.02128%; - *margin-left: 16.91489%; } - .row-fluid .offset3 { - margin-left: 27.65957%; - *margin-left: 27.55319%; } - .row-fluid .offset3:first-child { - margin-left: 25.53191%; - *margin-left: 25.42553%; } - .row-fluid .offset4 { - margin-left: 36.17021%; - *margin-left: 36.06383%; } - .row-fluid .offset4:first-child { - margin-left: 34.04255%; - *margin-left: 33.93617%; } - .row-fluid .offset5 { - margin-left: 44.68085%; - *margin-left: 44.57447%; } - .row-fluid .offset5:first-child { - margin-left: 42.55319%; - *margin-left: 42.44681%; } - .row-fluid .offset6 { - margin-left: 53.19149%; - *margin-left: 53.08511%; } - .row-fluid .offset6:first-child { - margin-left: 51.06383%; - *margin-left: 50.95745%; } - .row-fluid .offset7 { - margin-left: 61.70213%; - *margin-left: 61.59574%; } - .row-fluid .offset7:first-child { - margin-left: 59.57447%; - *margin-left: 59.46809%; } - .row-fluid .offset8 { - margin-left: 70.21277%; - *margin-left: 70.10638%; } - .row-fluid .offset8:first-child { - margin-left: 68.08511%; - *margin-left: 67.97872%; } - .row-fluid .offset9 { - margin-left: 78.7234%; - *margin-left: 78.61702%; } - .row-fluid .offset9:first-child { - margin-left: 76.59574%; - *margin-left: 76.48936%; } - .row-fluid .offset10 { - margin-left: 87.23404%; - *margin-left: 87.12766%; } - .row-fluid .offset10:first-child { - margin-left: 85.10638%; - *margin-left: 85.0%; } - .row-fluid .offset11 { - margin-left: 95.74468%; - *margin-left: 95.6383%; } - .row-fluid .offset11:first-child { - margin-left: 93.61702%; - *margin-left: 93.51064%; } - .row-fluid .offset12 { - margin-left: 104.25532%; - *margin-left: 104.14894%; } - .row-fluid .offset12:first-child { - margin-left: 102.12766%; - *margin-left: 102.02128%; } -[class*="span"].hide, -.row-fluid [class*="span"].hide { - display: none; } + .col-md-offset-1 { + margin-left: 8.33333%; } -[class*="span"].pull-right, -.row-fluid [class*="span"].pull-right { - float: right; } + .col-md-offset-2 { + margin-left: 16.66667%; } + .col-md-offset-3 { + margin-left: 25%; } + + .col-md-offset-4 { + margin-left: 33.33333%; } + + .col-md-offset-5 { + margin-left: 41.66667%; } + + .col-md-offset-6 { + margin-left: 50%; } + + .col-md-offset-7 { + margin-left: 58.33333%; } + + .col-md-offset-8 { + margin-left: 66.66667%; } + + .col-md-offset-9 { + margin-left: 75%; } + + .col-md-offset-10 { + margin-left: 83.33333%; } + + .col-md-offset-11 { + margin-left: 91.66667%; } } +@media (min-width: 1200px) { + .container { + max-width: 1170px; } + + .col-lg-1, + .col-lg-2, + .col-lg-3, + .col-lg-4, + .col-lg-5, + .col-lg-6, + .col-lg-7, + .col-lg-8, + .col-lg-9, + .col-lg-10, + .col-lg-11 { + float: left; } + + .col-lg-1 { + width: 8.33333%; } + + .col-lg-2 { + width: 16.66667%; } + + .col-lg-3 { + width: 25%; } + + .col-lg-4 { + width: 33.33333%; } + + .col-lg-5 { + width: 41.66667%; } + + .col-lg-6 { + width: 50%; } + + .col-lg-7 { + width: 58.33333%; } + + .col-lg-8 { + width: 66.66667%; } + + .col-lg-9 { + width: 75%; } + + .col-lg-10 { + width: 83.33333%; } + + .col-lg-11 { + width: 91.66667%; } + + .col-lg-12 { + width: 100%; } + + .col-lg-push-0 { + left: auto; } + + .col-lg-push-1 { + left: 8.33333%; } + + .col-lg-push-2 { + left: 16.66667%; } + + .col-lg-push-3 { + left: 25%; } + + .col-lg-push-4 { + left: 33.33333%; } + + .col-lg-push-5 { + left: 41.66667%; } + + .col-lg-push-6 { + left: 50%; } + + .col-lg-push-7 { + left: 58.33333%; } + + .col-lg-push-8 { + left: 66.66667%; } + + .col-lg-push-9 { + left: 75%; } + + .col-lg-push-10 { + left: 83.33333%; } + + .col-lg-push-11 { + left: 91.66667%; } + + .col-lg-pull-0 { + right: auto; } + + .col-lg-pull-1 { + right: 8.33333%; } + + .col-lg-pull-2 { + right: 16.66667%; } + + .col-lg-pull-3 { + right: 25%; } + + .col-lg-pull-4 { + right: 33.33333%; } + + .col-lg-pull-5 { + right: 41.66667%; } + + .col-lg-pull-6 { + right: 50%; } + + .col-lg-pull-7 { + right: 58.33333%; } + + .col-lg-pull-8 { + right: 66.66667%; } + + .col-lg-pull-9 { + right: 75%; } + + .col-lg-pull-10 { + right: 83.33333%; } + + .col-lg-pull-11 { + right: 91.66667%; } + + .col-lg-offset-0 { + margin-left: 0; } + + .col-lg-offset-1 { + margin-left: 8.33333%; } + + .col-lg-offset-2 { + margin-left: 16.66667%; } + + .col-lg-offset-3 { + margin-left: 25%; } + + .col-lg-offset-4 { + margin-left: 33.33333%; } + + .col-lg-offset-5 { + margin-left: 41.66667%; } + + .col-lg-offset-6 { + margin-left: 50%; } + + .col-lg-offset-7 { + margin-left: 58.33333%; } + + .col-lg-offset-8 { + margin-left: 66.66667%; } + + .col-lg-offset-9 { + margin-left: 75%; } + + .col-lg-offset-10 { + margin-left: 83.33333%; } + + .col-lg-offset-11 { + margin-left: 91.66667%; } } .list { margin-bottom: 20px; padding-left: 0; } @@ -1860,39 +1632,39 @@ main { .bar.bar-primary { background-color: #6999e9; border-color: #5981c5; - color: white; } + color: #999999; } .bar.bar-primary .tab-item a { - color: white; } + color: #999999; } .bar.bar-info { background-color: #60d2e6; border-color: #51b3c4; - color: white; } + color: #999999; } .bar.bar-info .tab-item a { - color: white; } + color: #999999; } .bar.bar-success { background-color: #89c163; border-color: #71a052; - color: white; } + color: #999999; } .bar.bar-success .tab-item a { - color: white; } + color: #999999; } .bar.bar-warning { background-color: #f0b840; border-color: #cf9a29; - color: white; } + color: #999999; } .bar.bar-warning .tab-item a { - color: white; } + color: #999999; } .bar.bar-danger { background-color: #de5645; border-color: #bc4435; - color: white; } + color: #999999; } .bar.bar-danger .tab-item a { - color: white; } + color: #999999; } .bar.bar-dark { background-color: #444444; border-color: #111111; - color: white; } + color: #999999; } .bar.bar-dark .tab-item a { - color: white; } + color: #999999; } .bar-default .button { color: #333333; @@ -1919,11 +1691,11 @@ main { border-color: #b3b3b3; } .bar-primary .button { - color: white; + color: #999999; background-color: #6999e9; border-color: #5981c5; } .bar-primary .button:hover { - color: white; + color: #999999; text-decoration: none; } .bar-primary .button.active, .bar-primary .button:active { background-color: #4581e4; @@ -1931,11 +1703,11 @@ main { border-color: #3d67ae; } .bar-info .button { - color: white; + color: #999999; background-color: #60d2e6; border-color: #51b3c4; } .bar-info .button:hover { - color: white; + color: #999999; text-decoration: none; } .bar-info .button.active, .bar-info .button:active { background-color: #3dc8e0; @@ -1943,11 +1715,11 @@ main { border-color: #3998a9; } .bar-success .button { - color: white; + color: #999999; background-color: #89c163; border-color: #71a052; } .bar-success .button:hover { - color: white; + color: #999999; text-decoration: none; } .bar-success .button.active, .bar-success .button:active { background-color: #73b447; @@ -1955,11 +1727,11 @@ main { border-color: #597e41; } .bar-warning .button { - color: white; + color: #999999; background-color: #f0b840; border-color: #cf9a29; } .bar-warning .button:hover { - color: white; + color: #999999; text-decoration: none; } .bar-warning .button.active, .bar-warning .button:active { background-color: #edaa1a; @@ -1967,11 +1739,11 @@ main { border-color: #a47a21; } .bar-danger .button { - color: white; + color: #999999; background-color: #de5645; border-color: #bc4435; } .bar-danger .button:hover { - color: white; + color: #999999; text-decoration: none; } .bar-danger .button.active, .bar-danger .button:active { background-color: #d43926; @@ -1979,11 +1751,11 @@ main { border-color: #94362a; } .bar-dark .button { - color: white; + color: #999999; background-color: #444444; border-color: #111111; } .bar-dark .button:hover { - color: white; + color: #999999; text-decoration: none; } .bar-dark .button.active, .bar-dark .button:active { background-color: #303030; @@ -2024,71 +1796,75 @@ main { box-shadow: inset 0px 1px 3px rgba(0, 0, 0, 0.12); border-color: #b3b3b3; } .button.button-primary { - color: white; + color: #999999; background-color: #6999e9; border-color: #5981c5; } .button.button-primary:hover { - color: white; + color: #999999; text-decoration: none; } .button.button-primary.active, .button.button-primary:active { background-color: #4581e4; box-shadow: inset 0px 1px 3px rgba(0, 0, 0, 0.12); border-color: #3d67ae; } .button.button-info { - color: white; + color: #999999; background-color: #60d2e6; border-color: #51b3c4; } .button.button-info:hover { - color: white; + color: #999999; text-decoration: none; } .button.button-info.active, .button.button-info:active { background-color: #3dc8e0; box-shadow: inset 0px 1px 3px rgba(0, 0, 0, 0.12); border-color: #3998a9; } .button.button-success { - color: white; + color: #999999; background-color: #89c163; border-color: #71a052; } .button.button-success:hover { - color: white; + color: #999999; text-decoration: none; } .button.button-success.active, .button.button-success:active { background-color: #73b447; box-shadow: inset 0px 1px 3px rgba(0, 0, 0, 0.12); border-color: #597e41; } .button.button-warning { - color: white; + color: #999999; background-color: #f0b840; border-color: #cf9a29; } .button.button-warning:hover { - color: white; + color: #999999; text-decoration: none; } .button.button-warning.active, .button.button-warning:active { background-color: #edaa1a; box-shadow: inset 0px 1px 3px rgba(0, 0, 0, 0.12); border-color: #a47a21; } .button.button-danger { - color: white; + color: #999999; background-color: #de5645; border-color: #bc4435; } .button.button-danger:hover { - color: white; + color: #999999; text-decoration: none; } .button.button-danger.active, .button.button-danger:active { background-color: #d43926; box-shadow: inset 0px 1px 3px rgba(0, 0, 0, 0.12); border-color: #94362a; } .button.button-dark { - color: white; + color: #999999; background-color: #444444; border-color: #111111; } .button.button-dark:hover { - color: white; + color: #999999; text-decoration: none; } .button.button-dark.active, .button.button-dark:active { background-color: #303030; box-shadow: inset 0px 1px 3px rgba(0, 0, 0, 0.12); border-color: black; } + .button.button-clear { + background: none; + border: none; + padding: 10px 0px; } a.button { text-decoration: none; } diff --git a/example/input-text.html b/example/input-text.html index 0ca1418707..7584816f98 100644 --- a/example/input-text.html +++ b/example/input-text.html @@ -24,32 +24,58 @@