.dropdown-menu{
border:2px solid #666;
background:#fff;
margin-top:0;
@include border-radius(0);
@include box-shadow(none);
&:before{
border:0;
}
&.typeahead{
&>li{
&.active{
&>a{
background: #ddd;
color:#333;
filter:none;
}
&:focus,&:hover{
&>a{
background: $blue;
color:#fff;
filter:none;
}
}
}
}
}
&>li{
&:focus,&:hover{
&>a{
background: #ddd;
color:#333;
filter:none;
}
}
&>a{
padding:6px 15px;
font-size:13px;
filter:none;
}
}
.dropdown-submenu{
&:hover{
&>a{
background: #eee;
color:#333;
}
}
&.active{
&:hover{
&:after{
border-left-color:#666;
}
}
}
&>a{
&:active,&:focus{
background: #eee;
color:#333;
}
&:after{
border-left-color:#666;
}
}
.dropdown-menu{
-webkit-border-radius: 0 !important;
-moz-border-radius: 0 !important;
border-radius: 0 !important;
.active{
&>a{
background: #ddd;
color:#333;
}
}
}
}
}
.modal{
form{
margin-bottom: 0;
}
}
.input-append input, .input-append select, .input-append .uneditable-input {
@include border-radius(0);
}
.tooltip {
z-index:99999;
}
.tab-content{
overflow:visible;
}
.uneditable-input{
@include border-radius(0);
}
.btn-group{
&.text{
font-size:13px;
}
.dropdown,.pagination{
font-size:13px;
}
.pagination{
margin: 0;
ul{
@include box-shadow(none);
}
}
}
.table-bordered{
border-top:0;
&.table-force-topborder{
border-top:1px solid #ddd;
}
&.dataTable{
&.dataTable-noheader{
border-top:0;
}
border-top:1px solid #ddd;
}
}
.table-bordered,.table-bordered thead:first-child tr:first-child>th:first-child, .table-bordered tbody:first-child tr:first-child>td:first-child, .table-bordered tbody:first-child tr:first-child>th:first-child,.table-bordered thead:first-child tr:first-child>th:last-child, .table-bordered tbody:first-child tr:first-child>td:last-child, .table-bordered tbody:first-child tr:first-child>th:last-child, .table-bordered thead:last-child tr:last-child>th:first-child, .table-bordered tbody:last-child tr:last-child>td:first-child, .table-bordered tbody:last-child tr:last-child>th:first-child, .table-bordered tfoot:last-child tr:last-child>td:first-child, .table-bordered tfoot:last-child tr:last-child>th:first-child,.table-bordered thead:last-child tr:last-child>th:last-child, .table-bordered tbody:last-child tr:last-child>td:last-child, .table-bordered tbody:last-child tr:last-child>th:last-child, .table-bordered tfoot:last-child tr:last-child>td:last-child, .table-bordered tfoot:last-child tr:last-child>th:last-child {
-webkit-border-radius: 0 !important;
-moz-border-radius: 0 !important;
border-radius: 0 !important;
}
.input-prepend .add-on:first-child, .input-prepend .btn:first-child, .input-append .add-on:last-child, .input-append .btn:last-child, .input-append .btn-group:last-child>.dropdown-toggle, .input-prepend.input-append .add-on:last-child, .input-prepend.input-append .btn:last-child, .input-prepend.input-append .add-on:first-child, .input-prepend.input-append .btn:first-child, .btn-group>.btn:first-child, .btn-group>.btn:last-child, .btn-group>.dropdown-toggle {
-webkit-border-radius: 0 !important;
-moz-border-radius: 0 !important;
border-radius: 0 !important;
}
.input-prepend .btn-group .btn:first-child,.input-append .btn-group .btn:first-child{
border:1px solid #ccc;
padding:4px 8px;
-webkit-border-radius: 0 !important;
-moz-border-radius: 0 !important;
border-radius: 0 !important;
}
.input-append .add-on:last-child, .input-append .btn:last-child, .input-append .btn-group:last-child>.dropdown-toggle, .input-prepend .btn:first-child{
border:1px solid #ccc;
padding:4px 8px;
}
.input-prepend .add-on:first-child {
border:1px solid #ccc;
padding:4px 6px;
}
.label{
@include border-radius(0);
@include text-shadow(none);
}
input, textarea{
-webkit-border-radius: 0 !important;
-moz-border-radius: 0 !important;
border-radius: 0 !important;
-webkit-box-shadow: none !important;
-moz-box-shadow: none !important;
box-shadow: none !important;
}
.modal{
@include border-radius(0);
.modal-footer{
@include box-shadow(none);
}
}
.tooltip{
.tooltip-inner{
@include border-radius(0);
}
}
.btn-group{
&.open{
.dropdown-toggle{
@include box-shadow(none);
&.btn-primary{
background:$blue;
}
&.btn-danger{
background:$red;
}
&.btn-inverse{
background:#333;
}
&.btn-success{
background:$green;
}
&.btn-warning{
background:$orange;
}
&.btn-info{
background:$blue;
}
}
}
}
textarea, input[type="text"], input[type="password"], input[type="datetime"], input[type="datetime-local"], input[type="date"], input[type="month"], input[type="time"], input[type="week"], input[type="number"], input[type="email"], input[type="url"], input[type="search"], input[type="tel"], input[type="color"], .uneditable-input{
background: #f9f9f9;
}
.form-horizontal{
.control-label{
text-align:left;
width:140px;
}
.controls{
margin-left: 160px;
}
}
.dropdown-menu{
&.dropdown-primary{
border-color:$blue;
&>li{
&>a{
&:hover{
background:$blue;
color:#fff;
}
}
}
}
&.dropdown-danger{
border-color:$red;
&>li{
&>a{
&:hover{
background:$red;
color:#fff;
}
}
}
}
&.dropdown-warning{
border-color:lighten($orange, 10%);
&>li{
&>a{
&:hover{
background:$orange;
color:#fff;
}
}
}
}
&.dropdown-success{
border-color:$green;
&>li{
&>a{
&:hover{
background:$green;
color:#fff;
}
}
}
}
&.dropdown-inverse{
border-color:lighten(#222, 15%);
&>li{
&>a{
&:hover{
background:lighten(#222, 15%);
color:#fff;
}
}
}
}
}
.btn{
background:#eee;
border:0;
@include box-shadow(none);
@include text-shadow(none);
@include border-radius(0);
color:#444;
padding:5px 9px;
filter:none;
&.btn-large{
padding:10px 16px;
}
&.btn-small{
padding:3px 7px;
}
&.btn-mini{
padding:1px 4px;
}
&.btn-text-left{
text-align:left;
}
i{
font-size:14px;
}
&:hover{
background: #ccc;
@include text-shadow(none);
}
&:active{
@include box-shadow(none);
}
&:focus{
@include box-shadow(none);
outline:none;
}
&.btn-primary{
background:$blue;
color:#fff;
@include text-shadow(none);
filter:none;
&:hover{
background: darken($blue, 10%);
}
}
&.btn-info{
background:lighten($blue, 25%);
@include text-shadow(none);
filter:none;
&:hover{
background: lighten($blue, 10%);
color:#333;
}
}
&.btn-warning{
background:lighten($orange, 10%);
@include text-shadow(none);
filter:none;
&:hover{
background: $orange;
color:#333;
}
}
&.btn-danger{
background:lighten($red, 15%);
@include text-shadow(none);
color:#fff;
filter:none;
&:hover{
background: $red;
}
}
&.btn-success{
background:lighten($green, 10%);
@include text-shadow(none);
color:#fff;
filter:none;
&:hover{
background: $green;
}
}
&.btn-inverse{
background:lighten(#222, 15%);
@include text-shadow(none);
color:#fff;
filter:none;
&:hover{
background: #111;
}
}
}
.nav{
&.nav-pills, &.nav-list{
&>li{
&.active{
&>a{
background:$blue;
}
}
}
}
}
.popover{
@include border-radius(0);
@include box-shadow(none);
padding: 0;
}
.accordion{
.accordion-group{
@include border-radius(0);
.accordion-heading{
.accordion-toggle{
background: #f6f6f6;
}
}
}
}
.alert{
@include border-radius(0);
border:0;
}
.progress{
@include border-radius(0);
}
.pagination-large ul>li:first-child>a, .pagination-large ul>li:first-child>span, .pagination-large ul>li:last-child>a, .pagination-large ul>li:last-child>span, .pagination ul>li:first-child>a, .pagination ul>li:first-child>span, .pagination-mini ul>li:first-child>a, .pagination-small ul>li:first-child>a, .pagination-mini ul>li:first-child>span, .pagination-small ul>li:first-child>span, .pagination ul>li:last-child>a, .pagination ul>li:last-child>span, .pagination-mini ul>li:last-child>a, .pagination-small ul>li:last-child>a, .pagination-mini ul>li:last-child>span, .pagination-small ul>li:last-child>span {
@include border-radius(0);
}
.table{
&.table-condensed{
tr{
th,td{
padding:4px 5px;
}
}
}
tr{
th,td{
padding:10px;
border-top:1px dotted #ddd;
}
}
}
label, input, button, select, textarea {
font-size:13px;
}
.form-actions{
background:0;
border:0;
}
|