:root { // var-button-text: #1c95d4; var-button-selected-background: #29abe2; var-button-checkbox-selected-background: #34a3de; var-button-selected-shadow: rgba(0, 75, 115, .45); var-button-interaction-text: $gray-dark;//#208de3; var-button-interaction-shadow: #4faeef; } .tablesaw-enhanced .tablesaw-bar .btn { border: 1px solid $table-border-color; background: none; background-color: $color-white; color: $gray-dark; clear: both; cursor: pointer; display: block; margin: 0; padding: 4px 8px; position: relative; text-align: center; text-decoration: none; text-transform: capitalize; width: 100%; /* Theming */ -webkit-appearance: none !important; -moz-appearance: none !important; box-sizing: border-box; -webkit-font-smoothing: antialiased; border-radius: $border-radius; } .tablesaw-enhanced .tablesaw-bar a.btn { // color: var(button-text); } .tablesaw-enhanced .tablesaw-bar .btn:hover { text-decoration: none; } /* Default radio/checkbox styling horizonal controlgroups. */ // .tablesaw-enhanced .tablesaw-bar .btn:active { // background-color: #ddd; // background-image: linear-gradient( top, rgba( 100, 100, 100, .35 ) 0%, rgba(255, 255, 255, 0 ) 70% ); // } .tablesaw-enhanced .tablesaw-bar .btn:hover, .tablesaw-enhanced .tablesaw-bar .btn:focus { background-color: $color-white; outline: none; border-color: $brand-primary; } .tablesaw-enhanced .tablesaw-bar .btn:focus { color: $brand-primary; } .tablesaw-bar .btn:focus { color: $brand-primary; } .ie-lte8 .tablesaw-bar .btn:hover, .ie-lte8 .tablesaw-bar .btn:focus { color: $gray-dark; background-color: #fff; border-color: #aaa; outline: none; } .ie-lte8 .tablesaw-bar .btn:hover, .ie-lte8 .tablesaw-bar .btn:focus { color: $gray-dark; background-color: $color-white; border-color: $brand-primary; outline: none; } .tablesaw-bar .btn-select select { background: none; border: none; display: block; position: absolute; font-weight: inherit; left: 0; top: 0; margin: 0; width: 100%; height: 100%; z-index: 2; min-height: 1em; } .tablesaw-bar .btn-select select { opacity: 0; filter: alpha(opacity=0); display:inline-block; color: transparent; } .tablesaw-bar .btn select option { background: $color-white; color: $color-black; font-family: sans-serif; } .tablesaw-enhanced .tablesaw-bar .btn.btn-select { color: $text-color; // padding-right: 2.5em; min-width: 7.25em; text-align: left; text-indent: 0; margin-bottom: 3px; } .ie-lte8 .tablesaw-bar .btn-select { min-width: 6.1em; } .tablesaw-bar .btn.btn-small, .tablesaw-bar .btn.btn-micro { display: inline-block; width: auto; height: auto; position: relative; top: 0; } .tablesaw-bar .btn.btn-small { // font-size: 1.0625em; line-height: 20px; // padding: .3em 1em .3em 1em; } .tablesaw-bar .btn.btn-micro { // font-size: .8125em; // padding: .4em .7em .25em .7em; } .tablesaw-enhanced .tablesaw-bar .btn-select { text-align: left; } .tablesaw-bar .btn-select:after { background: $table-bg-hover; background: rgba(0, 0, 0, .1); content: " "; display: block; position: absolute; } .tablesaw-bar .btn-select.btn-small, .tablesaw-bar .btn-select.btn-micro { // padding-right: 1.5em; } .tablesaw-bar .btn-select:after { display: inline-block; font-family: $zmdi-font-name; font-feature-settings: normal; font-kerning: auto; font-language-override: normal; font-size-adjust: none; font-stretch: normal; font-style: normal; font-synthesis: weight style; font-variant: normal; font-weight: $font-weight-normal; line-height: 1; text-rendering: auto; background: transparent; // background-repeat: no-repeat; // background-position: .25em .45em; content: $zmdi-var-caret-down; font-size: 16px; padding: 0; left: auto; right: auto; margin: 0 5px 0; top: 6px; bottom: 0; width: 1.8em; } .tablesaw-bar .btn-select.btn-small:after, .tablesaw-bar .btn-select.btn-micro:after { // width: 1.2em; // font-size: .5em; // padding-top: 1em; // padding-right: .5em; // line-height: 1.65; background: none; box-shadow: none; border-left-width: 0; } .tablesaw-bar .btn-select.btn-small:after { font-size: 16px; padding-top: 0; padding-right: 0; } /* Column navigation buttons for swipe and columntoggle tables */ .tablesaw-advance .btn { -webkit-appearance: none; -moz-appearance: none; box-sizing: border-box; border-radius: $border-radius; } .tablesaw-advance .btn.btn-micro { // font-size: .8125em; // padding: .3em .7em .25em .7em; } // .tablesaw-bar .tablesaw-advance a.tablesaw-nav-btn { // display: inline-block; // overflow: hidden; // width: 1.8em; // height: 1.8em; // background-position: 50% 50%; // margin-left: .5em; // position: relative; // } .tablesaw-bar .tablesaw-advance a.tablesaw-nav-btn { position: relative; // width: 2em; // height: 2em; margin-left: .5em; display: inline-block; font-family: $zmdi-font-name; font-feature-settings: normal; font-kerning: auto; font-language-override: normal; font-size: inherit; font-size-adjust: none; font-stretch: normal; font-style: normal; font-synthesis: weight style; font-variant: normal; font-weight: $font-weight-normal; line-height: 1; text-rendering: auto; } //============ .tablesaw-bar .tablesaw-advance a.tablesaw-nav-btn.down:before { content: $zmdi-var-caret-down; } .tablesaw-bar .tablesaw-advance a.tablesaw-nav-btn.up:before { content: $zmdi-var-caret-up; } .tablesaw-bar .tablesaw-advance a.tablesaw-nav-btn.left:before { content: $zmdi-var-chevron-left; } .tablesaw-bar .tablesaw-advance a.tablesaw-nav-btn.right:before { content: $zmdi-var-chevron-right; } .tablesaw-advance a.tablesaw-nav-btn.disabled { opacity: .4; filter: alpha(opacity=40); cursor: default; pointer-events: none; } /* Table Toolbar */ .tablesaw-bar { clear: both; font-family: sans-serif; } .tablesaw-toolbar { // font-size: .875em; font-size: 13px; float: left; } .tablesaw-toolbar label { padding: .5em 0; clear: both; display: block; color: $text-color; margin-right: 20px; text-transform: uppercase; } .tablesaw-bar .btn, .tablesaw-enhanced .tablesaw-bar .btn { margin-top: .5em; margin-bottom: .5em; } .tablesaw-bar .btn-select, .tablesaw-enhanced .tablesaw-bar .btn-select { margin-bottom: 0; } .tablesaw-bar .tablesaw-toolbar .btn { margin-left: .4em; margin-top: 0; text-transform: uppercase; border: none; box-shadow: none; background: transparent; font-family: sans-serif; font-size: 1em; padding-left: .3em; } .tablesaw-bar .tablesaw-toolbar .btn-select { min-width: 0; } .tablesaw-bar .tablesaw-toolbar .btn-select:after { padding-top: 0; } .tablesaw-bar .tablesaw-toolbar select { color: $text-color; text-transform: none; background: transparent; } .tablesaw-toolbar ~ table { clear: both; } .tablesaw-toolbar .a11y-sm { clip: rect(0 0 0 0); height: 1px; overflow: hidden; position: absolute; width: 1px; } @media (min-width: 24em) { .tablesaw-toolbar .a11y-sm { clip: none; height: auto; width: auto; position: static; overflow: visible; } }