/////////////////////////////////////////////// // // 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;} // buttons .btn-primary { background: $btnPrimaryBackground; @include box-shadow(none); border-color: $btnPrimaryBackground; text-shadow: none; @include transition(.3s); &:hover, &:active, &:focus { border-color: $btnPrimaryBackgroundHighlight; background: $btnPrimaryBackgroundHighlight; } } .btn-secondary { @include buttonBackground($accent-sec, darken($accent-sec, 5%), #fff, 0px 1px 1px darken($accent-sec, 10%)); font-weight: 700; } // 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%); } .full-width {width:100%} // 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-right-width: 0; *border-bottom-width: 0; @include border-radius(4px !important); @include box-shadow(none); .dropdown-menu { margin-left: 1px !important; } } .dropdown-submenu > a:after {margin-top: 7px;} // nav pills .nav-pills.top-links { margin: $baseLineHeight/2 0;} .nav-pills.top-links > li > a {background-color: $grayLighter;} span.link-info {font-size: 12px; color: green!important;} // navbar #nav-main { clear:right; > li:last-child > .dropdown-menu {left:auto; right:0;} } .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 { left: 10px; right: auto; .dropdown-menu { left: 100%; right: auto; } } .navbar-inverse { .nav > li > a:focus, .nav > li > a:hover { background-color: transparent; } .nav .active > a, .nav .active > a:hover, .nav .active > a:focus { background-color: transparent; } .nav li.dropdown.open > .dropdown-toggle, .nav li.dropdown.active > .dropdown-toggle, .nav li.dropdown.open.active > .dropdown-toggle { background-color: transparent; } .navbar-search { .search-query { border: 0; @include box-shadow(inset 1px 1px 2px 1px rgba(0,0,0,.3)); @include transition(width .35s ease-out); &:focus, &.focused { padding: 1px 12px; width: 150px; @include transition(width .35s ease); } } } } .table { th { font-size: $baseFontSize - 1; 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;} td { vertical-align: middle; } } /////////////////////////////////////////////// // 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_link_enum, .grid_options, .cell_usage_count, .cell_id, .grid_file-options, .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;} .grid_date { width: 150px;} .total {width: 100px;} } .linear_grid { margin-top: $baseLineHeight / 2; 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;} } .table-linear { border-bottom: 1px solid $tableBorder; td.grid-label { background-color: $tableBackgroundAccent; width: 20%; font-weight: bold; } } .invisible {visibility: hidden}