/////////////////////////////////////////////// // // OVERRIDE BOOTSTRAP RULES // /////////////////////////////////////////////// hr {margin:($baseLineHeight / 2) 0; border-color:#eee;} .row-fluid [class*="span"] { min-height:1px;} // Columns .clmn-to-right {float:right !important;} .clmn-to-left {float:left !important; margin-left: 0 !important;} // forms form {margin: 0;} input[type="file"] { height: auto; line-height: normal; } input[disabled], select[disabled], textarea[disabled], input[readonly], select[readonly], textarea[readonly] { color: darken($textColor, 15%); } // dropdowns .caret { border-top: 6px solid $black; border-right: 6px solid transparent; border-left: 6px solid transparent; } .dropdown-menu { margin: 0; border: none; // Fallback for IE7-8 border: none; *border-right-width: 0; *border-bottom-width: 0; @include border-radius(3px !important); @include box-shadow(none); .dropdown-menu { background-color: darken($dropdownBackground, 10%); .dropdown-menu { background-color: lighten($dropdownBackground, 10%); } } } .dropdown-submenu > a:after {margin-top: 7px;} // nav pills .nav-pills.top-links { margin: 0 0 $baseLineHeight/2;} .nav-pills.top-links > li > a {background-color: $grayLighter;} // navbar #nav-main { clear:right;} .navbar-static-top .navbar-inner { @include border-radius(0); border-width: 0; } .navbar-search { .search-query { padding: 1px 12px; @include border-radius(12px); } } .navbar .nav .dropdown-toggle .caret { margin-top: 10px; margin-left: 4px; } .navbar .nav > li > a:focus, .navbar .nav > li > a:hover { background-color: transparent; } .navbar .nav > .active > a, .navbar .nav > .active > a:hover, .navbar .nav > .active > a:focus { background-color: transparent; @include box-shadow(none); } .navbar .nav > li > .dropdown-menu { &:before, &:after { display: none; } } .navbar .pull-right > li > .dropdown-menu { right: 0; left: auto; .dropdown-menu { left: 100%; right: auto; } } .nav-tabs > .active > a, .nav-tabs > .active > a:hover, .nav-tabs > .active > a:focus { background-color: $grayLighter; color: $black; } .table { th { font-weight: normal; font-size: $baseFontSize - 2; line-height: $baseFontSize; text-transform: uppercase; color: $grayDarker; } th.text-center, td.text-center {text-align: center;} th.text-right, td.text-right {text-align: right;} } /////////////////////////////////////////////// // TABLE // ----------------------------------------------------------------- .grid, .linear_grid, .cms_container { border-collapse:collapse; border-spacing:0; width:100%; margin-bottom: 15px; } .grid { th, td { border:solid silver 1px; padding:5px 8px;} th { text-align:center; font-weight:bold; color:#000; padding:7px 5px; white-space:nowrap; a { color: darken($linkColor, 30%);} } tr td { background-color:$grayLighter;} tr.odd td { background-color:$white;} tfoot td { border-top:1px solid silver; background-color:#eee; text-align:right;} } .table { .grid_no, .grid_date, .grid_link_enum, .grid_options, .cell_usage_count, .cell_id, .grid_image, .grid_money, .grid_quantity, .grid_total, .grid_checkbox, .grid_members {text-align:center;} .grid_no {width:30px;} .cell_show {width:60px;} .cell_enabled, .cell_featured, .cell_sold_out {width:90px;} .grid_image { width: 150px;} .grid_options { width:120px; white-space:nowrap;} .grid_page_list {width:200px;} .cell_row_total, .cell_total {text-align: right;} } .linear_grid { margin-top: $baseLineHeight; th, td {border:solid silver 1px; padding:7px 5px;} th {font-weight:bold; text-align:right; color:#000; background-color: $tableBackgroundAccent; width:20%;} tfoot td {border-bottom:none; border-top:2px solid silver;} }