You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
1148 lines
27 KiB
CSS
1148 lines
27 KiB
CSS
@charset "UTF-8";
|
|
/**
|
|
Ion.RangeSlider, 2.3.0
|
|
© Denis Ineshin, 2010 - 2018, IonDen.com
|
|
Build date: 2018-12-11 23:23:51
|
|
*/
|
|
@import url("https://fonts.googleapis.com/css?family=Roboto:300,400,500,700,900");
|
|
.irs {
|
|
position: relative;
|
|
display: block;
|
|
-webkit-touch-callout: none;
|
|
-webkit-user-select: none;
|
|
-moz-user-select: none;
|
|
-ms-user-select: none;
|
|
user-select: none;
|
|
font-size: 12px;
|
|
font-family: Arial, sans-serif; }
|
|
|
|
.irs-line {
|
|
position: relative;
|
|
display: block;
|
|
overflow: hidden;
|
|
outline: none !important; }
|
|
|
|
.irs-bar {
|
|
position: absolute;
|
|
display: block;
|
|
right: 0;
|
|
width: 0; }
|
|
|
|
.irs-shadow {
|
|
position: absolute;
|
|
display: none;
|
|
right: 0;
|
|
width: 0; }
|
|
|
|
.irs-handle {
|
|
position: absolute;
|
|
display: block;
|
|
-webkit-box-sizing: border-box;
|
|
box-sizing: border-box;
|
|
cursor: default;
|
|
z-index: 1; }
|
|
|
|
.irs-handle.type_last {
|
|
z-index: 2; }
|
|
|
|
.irs-min,
|
|
.irs-max {
|
|
position: absolute;
|
|
display: block;
|
|
cursor: default; }
|
|
|
|
.irs-min {
|
|
right: 0; }
|
|
|
|
.irs-max {
|
|
left: 0; }
|
|
|
|
.irs-from,
|
|
.irs-to,
|
|
.irs-single {
|
|
position: absolute;
|
|
display: block;
|
|
top: 0;
|
|
right: 0;
|
|
cursor: default;
|
|
white-space: nowrap; }
|
|
|
|
.irs-grid {
|
|
position: absolute;
|
|
display: none;
|
|
bottom: 0;
|
|
right: 0;
|
|
width: 100%;
|
|
height: 20px; }
|
|
|
|
.irs-with-grid .irs-grid {
|
|
display: block; }
|
|
|
|
.irs-grid-pol {
|
|
position: absolute;
|
|
top: 0;
|
|
right: 0;
|
|
width: 1px;
|
|
height: 8px;
|
|
background: #000; }
|
|
|
|
.irs-grid-pol.small {
|
|
height: 4px; }
|
|
|
|
.irs-grid-text {
|
|
position: absolute;
|
|
bottom: 0;
|
|
right: 0;
|
|
white-space: nowrap;
|
|
text-align: center;
|
|
font-size: 9px;
|
|
line-height: 9px;
|
|
padding: 0 3px;
|
|
color: #000; }
|
|
|
|
.irs-disable-mask {
|
|
position: absolute;
|
|
display: block;
|
|
top: 0;
|
|
right: -1%;
|
|
width: 102%;
|
|
height: 100%;
|
|
cursor: default;
|
|
background: rgba(0, 0, 0, 0);
|
|
z-index: 2; }
|
|
|
|
.lt-ie9 .irs-disable-mask {
|
|
background: #000;
|
|
filter: alpha(opacity=0);
|
|
cursor: not-allowed; }
|
|
|
|
.irs-disabled {
|
|
opacity: 0.4; }
|
|
|
|
.irs-hidden-input {
|
|
position: absolute !important;
|
|
display: block !important;
|
|
top: 0 !important;
|
|
right: 0 !important;
|
|
width: 0 !important;
|
|
height: 0 !important;
|
|
font-size: 0 !important;
|
|
line-height: 0 !important;
|
|
padding: 0 !important;
|
|
margin: 0 !important;
|
|
overflow: hidden;
|
|
outline: none !important;
|
|
z-index: -9999 !important;
|
|
background: none !important;
|
|
border-style: solid !important;
|
|
border-color: transparent !important; }
|
|
|
|
.irs--flat {
|
|
height: 40px; }
|
|
|
|
.irs--flat.irs-with-grid {
|
|
height: 60px; }
|
|
|
|
.irs--flat .irs-line {
|
|
top: 25px;
|
|
height: 12px;
|
|
background-color: #e1e4e9;
|
|
border-radius: 4px; }
|
|
|
|
.irs--flat .irs-bar {
|
|
top: 25px;
|
|
height: 12px;
|
|
background-color: #ed5565; }
|
|
|
|
.irs--flat .irs-bar--single {
|
|
border-radius: 0 4px 4px 0; }
|
|
|
|
.irs--flat .irs-shadow {
|
|
height: 1px;
|
|
bottom: 16px;
|
|
background-color: #e1e4e9; }
|
|
|
|
.irs--flat .irs-handle {
|
|
top: 22px;
|
|
width: 16px;
|
|
height: 18px;
|
|
background-color: transparent; }
|
|
|
|
.irs--flat .irs-handle > i:first-child {
|
|
position: absolute;
|
|
display: block;
|
|
top: 0;
|
|
right: 50%;
|
|
width: 2px;
|
|
height: 100%;
|
|
margin-right: -1px;
|
|
background-color: #da4453; }
|
|
|
|
.irs--flat .irs-handle.state_hover > i:first-child,
|
|
.irs--flat .irs-handle:hover > i:first-child {
|
|
background-color: #a43540; }
|
|
|
|
.irs--flat .irs-min,
|
|
.irs--flat .irs-max {
|
|
top: 0;
|
|
padding: 1px 3px;
|
|
color: #999;
|
|
font-size: 10px;
|
|
line-height: 1.333;
|
|
text-shadow: none;
|
|
background-color: #e1e4e9;
|
|
border-radius: 4px; }
|
|
|
|
.irs--flat .irs-from,
|
|
.irs--flat .irs-to,
|
|
.irs--flat .irs-single {
|
|
color: white;
|
|
font-size: 10px;
|
|
line-height: 1.333;
|
|
text-shadow: none;
|
|
padding: 1px 5px;
|
|
background-color: #ed5565;
|
|
border-radius: 4px; }
|
|
|
|
.irs--flat .irs-from:before,
|
|
.irs--flat .irs-to:before,
|
|
.irs--flat .irs-single:before {
|
|
position: absolute;
|
|
display: block;
|
|
content: "";
|
|
bottom: -6px;
|
|
right: 50%;
|
|
width: 0;
|
|
height: 0;
|
|
margin-right: -3px;
|
|
overflow: hidden;
|
|
border: 3px solid transparent;
|
|
border-top-color: #ed5565; }
|
|
|
|
.irs--flat .irs-grid-pol {
|
|
background-color: #e1e4e9; }
|
|
|
|
.irs--flat .irs-grid-text {
|
|
color: #999; }
|
|
|
|
.irs--big {
|
|
height: 55px; }
|
|
|
|
.irs--big.irs-with-grid {
|
|
height: 70px; }
|
|
|
|
.irs--big .irs-line {
|
|
top: 33px;
|
|
height: 12px;
|
|
background-color: white;
|
|
background: -webkit-gradient(linear, right top, right bottom, color-stop(-50%, #ddd), color-stop(150%, white));
|
|
background: linear-gradient(to bottom, #ddd -50%, white 150%);
|
|
border: 1px solid #ccc;
|
|
border-radius: 12px; }
|
|
|
|
.irs--big .irs-bar {
|
|
top: 33px;
|
|
height: 12px;
|
|
background-color: #92bce0;
|
|
border: 1px solid #428bca;
|
|
background: -webkit-gradient(linear, right top, right bottom, from(#ffffff), color-stop(30%, #428bca), to(#b9d4ec));
|
|
background: linear-gradient(to bottom, #ffffff 0%, #428bca 30%, #b9d4ec 100%);
|
|
-webkit-box-shadow: inset 0 0 1px 1px rgba(255, 255, 255, 0.5);
|
|
box-shadow: inset 0 0 1px 1px rgba(255, 255, 255, 0.5); }
|
|
|
|
.irs--big .irs-bar--single {
|
|
border-radius: 0 12px 12px 0; }
|
|
|
|
.irs--big .irs-shadow {
|
|
height: 1px;
|
|
bottom: 16px;
|
|
background-color: rgba(66, 139, 202, 0.5); }
|
|
|
|
.irs--big .irs-handle {
|
|
top: 25px;
|
|
width: 30px;
|
|
height: 30px;
|
|
border: 1px solid rgba(0, 0, 0, 0.3);
|
|
background-color: #cbcfd5;
|
|
background: -webkit-gradient(linear, right top, right bottom, from(white), color-stop(30%, #B4B9BE), to(white));
|
|
background: linear-gradient(to bottom, white 0%, #B4B9BE 30%, white 100%);
|
|
-webkit-box-shadow: -1px 1px 2px rgba(0, 0, 0, 0.2), inset 0 0 3px 1px white;
|
|
box-shadow: -1px 1px 2px rgba(0, 0, 0, 0.2), inset 0 0 3px 1px white;
|
|
border-radius: 30px; }
|
|
|
|
.irs--big .irs-handle.state_hover,
|
|
.irs--big .irs-handle:hover {
|
|
border-color: rgba(0, 0, 0, 0.45);
|
|
background-color: #939ba7;
|
|
background: -webkit-gradient(linear, right top, right bottom, from(white), color-stop(30%, #919BA5), to(white));
|
|
background: linear-gradient(to bottom, white 0%, #919BA5 30%, white 100%); }
|
|
|
|
.irs--big .irs-min,
|
|
.irs--big .irs-max {
|
|
top: 0;
|
|
padding: 1px 5px;
|
|
color: white;
|
|
text-shadow: none;
|
|
background-color: #9f9f9f;
|
|
border-radius: 3px; }
|
|
|
|
.irs--big .irs-from,
|
|
.irs--big .irs-to,
|
|
.irs--big .irs-single {
|
|
color: white;
|
|
text-shadow: none;
|
|
padding: 1px 5px;
|
|
background-color: #428bca;
|
|
background: -webkit-gradient(linear, right top, right bottom, from(#428bca), to(#3071a9));
|
|
background: linear-gradient(to bottom, #428bca 0%, #3071a9 100%);
|
|
border-radius: 3px; }
|
|
|
|
.irs--big .irs-grid-pol {
|
|
background-color: #428bca; }
|
|
|
|
.irs--big .irs-grid-text {
|
|
color: #428bca; }
|
|
|
|
.irs--modern {
|
|
height: 55px; }
|
|
|
|
.irs--modern.irs-with-grid {
|
|
height: 55px; }
|
|
|
|
.irs--modern .irs-line {
|
|
top: 25px;
|
|
height: 5px;
|
|
background-color: #d1d6e0;
|
|
background: -webkit-gradient(linear, right top, right bottom, from(#e0e4ea), to(#d1d6e0));
|
|
background: linear-gradient(to bottom, #e0e4ea 0%, #d1d6e0 100%);
|
|
border: 1px solid #a3adc1;
|
|
border-bottom-width: 0;
|
|
border-radius: 5px; }
|
|
|
|
.irs--modern .irs-bar {
|
|
top: 25px;
|
|
height: 5px;
|
|
background: #20b426;
|
|
background: -webkit-gradient(linear, right top, right bottom, from(#20b426), to(#18891d));
|
|
background: linear-gradient(to bottom, #20b426 0%, #18891d 100%); }
|
|
|
|
.irs--modern .irs-bar--single {
|
|
border-radius: 0 5px 5px 0; }
|
|
|
|
.irs--modern .irs-shadow {
|
|
height: 1px;
|
|
bottom: 21px;
|
|
background-color: rgba(209, 214, 224, 0.5); }
|
|
|
|
.irs--modern .irs-handle {
|
|
top: 37px;
|
|
width: 12px;
|
|
height: 13px;
|
|
border: 1px solid #a3adc1;
|
|
border-top-width: 0;
|
|
-webkit-box-shadow: -1px 1px 1px rgba(0, 0, 0, 0.1);
|
|
box-shadow: -1px 1px 1px rgba(0, 0, 0, 0.1);
|
|
border-radius: 0 0 3px 3px; }
|
|
|
|
.irs--modern .irs-handle > i:nth-child(1) {
|
|
position: absolute;
|
|
display: block;
|
|
top: -4px;
|
|
right: 1px;
|
|
width: 6px;
|
|
height: 6px;
|
|
border: 1px solid #a3adc1;
|
|
background: white;
|
|
-webkit-transform: rotate(-45deg);
|
|
transform: rotate(-45deg); }
|
|
|
|
.irs--modern .irs-handle > i:nth-child(2) {
|
|
position: absolute;
|
|
display: block;
|
|
-webkit-box-sizing: border-box;
|
|
box-sizing: border-box;
|
|
top: 0;
|
|
right: 0;
|
|
width: 10px;
|
|
height: 12px;
|
|
background: #e9e6e6;
|
|
background: -webkit-gradient(linear, right top, right bottom, from(white), to(#e9e6e6));
|
|
background: linear-gradient(to bottom, white 0%, #e9e6e6 100%);
|
|
border-radius: 0 0 3px 3px; }
|
|
|
|
.irs--modern .irs-handle > i:nth-child(3) {
|
|
position: absolute;
|
|
display: block;
|
|
-webkit-box-sizing: border-box;
|
|
box-sizing: border-box;
|
|
top: 3px;
|
|
right: 3px;
|
|
width: 4px;
|
|
height: 5px;
|
|
border-right: 1px solid #a3adc1;
|
|
border-left: 1px solid #a3adc1; }
|
|
|
|
.irs--modern .irs-handle.state_hover,
|
|
.irs--modern .irs-handle:hover {
|
|
border-color: #7685a2;
|
|
background: #c3c7cd;
|
|
background: -webkit-gradient(linear, right top, right bottom, from(#ffffff), color-stop(30%, #919ba5), to(#ffffff));
|
|
background: linear-gradient(to bottom, #ffffff 0%, #919ba5 30%, #ffffff 100%); }
|
|
|
|
.irs--modern .irs-handle.state_hover > i:nth-child(1),
|
|
.irs--modern .irs-handle:hover > i:nth-child(1) {
|
|
border-color: #7685a2; }
|
|
|
|
.irs--modern .irs-handle.state_hover > i:nth-child(3),
|
|
.irs--modern .irs-handle:hover > i:nth-child(3) {
|
|
border-color: #48536a; }
|
|
|
|
.irs--modern .irs-min,
|
|
.irs--modern .irs-max {
|
|
top: 0;
|
|
font-size: 10px;
|
|
line-height: 1.333;
|
|
text-shadow: none;
|
|
padding: 1px 5px;
|
|
color: white;
|
|
background-color: #d1d6e0;
|
|
border-radius: 5px; }
|
|
|
|
.irs--modern .irs-from,
|
|
.irs--modern .irs-to,
|
|
.irs--modern .irs-single {
|
|
font-size: 10px;
|
|
line-height: 1.333;
|
|
text-shadow: none;
|
|
padding: 1px 5px;
|
|
background-color: #20b426;
|
|
color: white;
|
|
border-radius: 5px; }
|
|
|
|
.irs--modern .irs-from:before,
|
|
.irs--modern .irs-to:before,
|
|
.irs--modern .irs-single:before {
|
|
position: absolute;
|
|
display: block;
|
|
content: "";
|
|
bottom: -6px;
|
|
right: 50%;
|
|
width: 0;
|
|
height: 0;
|
|
margin-right: -3px;
|
|
overflow: hidden;
|
|
border: 3px solid transparent;
|
|
border-top-color: #20b426; }
|
|
|
|
.irs--modern .irs-grid {
|
|
height: 25px; }
|
|
|
|
.irs--modern .irs-grid-pol {
|
|
background-color: #dedede; }
|
|
|
|
.irs--modern .irs-grid-text {
|
|
color: silver;
|
|
font-size: 13px; }
|
|
|
|
.irs--sharp {
|
|
height: 50px;
|
|
font-size: 12px;
|
|
line-height: 1; }
|
|
|
|
.irs--sharp.irs-with-grid {
|
|
height: 57px; }
|
|
|
|
.irs--sharp .irs-line {
|
|
top: 30px;
|
|
height: 2px;
|
|
background-color: black;
|
|
border-radius: 2px; }
|
|
|
|
.irs--sharp .irs-bar {
|
|
top: 30px;
|
|
height: 2px;
|
|
background-color: #ee22fa; }
|
|
|
|
.irs--sharp .irs-bar--single {
|
|
border-radius: 0 2px 2px 0; }
|
|
|
|
.irs--sharp .irs-shadow {
|
|
height: 1px;
|
|
bottom: 21px;
|
|
background-color: rgba(0, 0, 0, 0.5); }
|
|
|
|
.irs--sharp .irs-handle {
|
|
top: 25px;
|
|
width: 10px;
|
|
height: 10px;
|
|
background-color: #a804b2; }
|
|
|
|
.irs--sharp .irs-handle > i:first-child {
|
|
position: absolute;
|
|
display: block;
|
|
top: 100%;
|
|
right: 0;
|
|
width: 0;
|
|
height: 0;
|
|
border: 5px solid transparent;
|
|
border-top-color: #a804b2; }
|
|
|
|
.irs--sharp .irs-handle.state_hover,
|
|
.irs--sharp .irs-handle:hover {
|
|
background-color: black; }
|
|
|
|
.irs--sharp .irs-handle.state_hover > i:first-child,
|
|
.irs--sharp .irs-handle:hover > i:first-child {
|
|
border-top-color: black; }
|
|
|
|
.irs--sharp .irs-min,
|
|
.irs--sharp .irs-max {
|
|
color: white;
|
|
font-size: 14px;
|
|
line-height: 1;
|
|
top: 0;
|
|
padding: 3px 4px;
|
|
opacity: 0.4;
|
|
background-color: #a804b2;
|
|
border-radius: 2px; }
|
|
|
|
.irs--sharp .irs-from,
|
|
.irs--sharp .irs-to,
|
|
.irs--sharp .irs-single {
|
|
font-size: 14px;
|
|
line-height: 1;
|
|
text-shadow: none;
|
|
padding: 3px 4px;
|
|
background-color: #a804b2;
|
|
color: white;
|
|
border-radius: 2px; }
|
|
|
|
.irs--sharp .irs-from:before,
|
|
.irs--sharp .irs-to:before,
|
|
.irs--sharp .irs-single:before {
|
|
position: absolute;
|
|
display: block;
|
|
content: "";
|
|
bottom: -6px;
|
|
right: 50%;
|
|
width: 0;
|
|
height: 0;
|
|
margin-right: -3px;
|
|
overflow: hidden;
|
|
border: 3px solid transparent;
|
|
border-top-color: #a804b2; }
|
|
|
|
.irs--sharp .irs-grid {
|
|
height: 25px; }
|
|
|
|
.irs--sharp .irs-grid-pol {
|
|
background-color: #dedede; }
|
|
|
|
.irs--sharp .irs-grid-text {
|
|
color: silver;
|
|
font-size: 13px; }
|
|
|
|
.irs--round {
|
|
height: 50px; }
|
|
|
|
.irs--round.irs-with-grid {
|
|
height: 65px; }
|
|
|
|
.irs--round .irs-line {
|
|
top: 36px;
|
|
height: 4px;
|
|
background-color: #dee4ec;
|
|
border-radius: 4px; }
|
|
|
|
.irs--round .irs-bar {
|
|
top: 36px;
|
|
height: 4px;
|
|
background-color: #006cfa; }
|
|
|
|
.irs--round .irs-bar--single {
|
|
border-radius: 0 4px 4px 0; }
|
|
|
|
.irs--round .irs-shadow {
|
|
height: 4px;
|
|
bottom: 21px;
|
|
background-color: rgba(222, 228, 236, 0.5); }
|
|
|
|
.irs--round .irs-handle {
|
|
top: 26px;
|
|
width: 24px;
|
|
height: 24px;
|
|
border: 4px solid #006cfa;
|
|
background-color: white;
|
|
border-radius: 24px;
|
|
-webkit-box-shadow: 0 1px 3px rgba(0, 0, 255, 0.3);
|
|
box-shadow: 0 1px 3px rgba(0, 0, 255, 0.3); }
|
|
|
|
.irs--round .irs-handle.state_hover,
|
|
.irs--round .irs-handle:hover {
|
|
background-color: #f0f6ff; }
|
|
|
|
.irs--round .irs-min,
|
|
.irs--round .irs-max {
|
|
color: #333;
|
|
font-size: 14px;
|
|
line-height: 1;
|
|
top: 0;
|
|
padding: 3px 5px;
|
|
background-color: rgba(0, 0, 0, 0.1);
|
|
border-radius: 4px; }
|
|
|
|
.irs--round .irs-from,
|
|
.irs--round .irs-to,
|
|
.irs--round .irs-single {
|
|
font-size: 14px;
|
|
line-height: 1;
|
|
text-shadow: none;
|
|
padding: 3px 5px;
|
|
background-color: #006cfa;
|
|
color: white;
|
|
border-radius: 4px; }
|
|
|
|
.irs--round .irs-from:before,
|
|
.irs--round .irs-to:before,
|
|
.irs--round .irs-single:before {
|
|
position: absolute;
|
|
display: block;
|
|
content: "";
|
|
bottom: -6px;
|
|
right: 50%;
|
|
width: 0;
|
|
height: 0;
|
|
margin-right: -3px;
|
|
overflow: hidden;
|
|
border: 3px solid transparent;
|
|
border-top-color: #006cfa; }
|
|
|
|
.irs--round .irs-grid {
|
|
height: 25px; }
|
|
|
|
.irs--round .irs-grid-pol {
|
|
background-color: #dedede; }
|
|
|
|
.irs--round .irs-grid-text {
|
|
color: silver;
|
|
font-size: 13px; }
|
|
|
|
.irs--square {
|
|
height: 50px; }
|
|
|
|
.irs--square.irs-with-grid {
|
|
height: 60px; }
|
|
|
|
.irs--square .irs-line {
|
|
top: 31px;
|
|
height: 4px;
|
|
background-color: #dedede; }
|
|
|
|
.irs--square .irs-bar {
|
|
top: 31px;
|
|
height: 4px;
|
|
background-color: black; }
|
|
|
|
.irs--square .irs-shadow {
|
|
height: 2px;
|
|
bottom: 21px;
|
|
background-color: #dedede; }
|
|
|
|
.irs--square .irs-handle {
|
|
top: 25px;
|
|
width: 16px;
|
|
height: 16px;
|
|
border: 3px solid black;
|
|
background-color: white;
|
|
-webkit-transform: rotate(-45deg);
|
|
transform: rotate(-45deg); }
|
|
|
|
.irs--square .irs-handle.state_hover,
|
|
.irs--square .irs-handle:hover {
|
|
background-color: #f0f6ff; }
|
|
|
|
.irs--square .irs-min,
|
|
.irs--square .irs-max {
|
|
color: #333;
|
|
font-size: 14px;
|
|
line-height: 1;
|
|
top: 0;
|
|
padding: 3px 5px;
|
|
background-color: rgba(0, 0, 0, 0.1); }
|
|
|
|
.irs--square .irs-from,
|
|
.irs--square .irs-to,
|
|
.irs--square .irs-single {
|
|
font-size: 14px;
|
|
line-height: 1;
|
|
text-shadow: none;
|
|
padding: 3px 5px;
|
|
background-color: black;
|
|
color: white; }
|
|
|
|
.irs--square .irs-grid {
|
|
height: 25px; }
|
|
|
|
.irs--square .irs-grid-pol {
|
|
background-color: #dedede; }
|
|
|
|
.irs--square .irs-grid-text {
|
|
color: silver;
|
|
font-size: 11px; }
|
|
|
|
/* #BOOTSTRAP AND MIXINS - Base Unmodified Bootstrap file with theme mixins
|
|
========================================================================== */
|
|
/*---------------------------------------------------
|
|
SASS ELements (based on LESS Elements 0.9 http://lesselements.com)
|
|
-------------------------------- -------------------
|
|
LESS ELEMENTS made by Dmitry Fadeyev (http://fadeyev.net)
|
|
SASS port by Samuel Beek (http://samuelbeek.com)
|
|
---------------------------------------------------*/
|
|
/*------------------------
|
|
Usage
|
|
|
|
h1 {
|
|
font-size: rem(32);
|
|
}
|
|
|
|
OR:
|
|
|
|
h1 {
|
|
font-size: rem(32px);
|
|
}
|
|
------------------------*/
|
|
/*------------------------
|
|
FADE IN
|
|
e.g. @include fadeIn( 2s );
|
|
------------------------*/
|
|
/*------------------------
|
|
mixin that calculates if text needs to be light or dark
|
|
depending on the background color passed.
|
|
|
|
From this W3C document: http://www.webmasterworld.com/r.cgi?f=88&d=9769&url=http://www.w3.org/TR/AERT#color-contrast
|
|
|
|
usage:
|
|
@include text-contrast($bgcolor)
|
|
|
|
Color brightness is determined by the following formula:
|
|
((Red value X 299) + (Green value X 587) + (Blue value X 114)) / 1000
|
|
------------------------*/
|
|
/*------------------------
|
|
color factory
|
|
eg: @include paint($blue-grey-50, bg-blue-grey-50);
|
|
------------------------*/
|
|
/* backface visibility */
|
|
/* generate theme button */
|
|
/* #BASE - Base Variable file along with font library, and colors.
|
|
========================================================================== */
|
|
/* THEME COLORs
|
|
========================================================================== */
|
|
/* Looks good on chrome default color profile */
|
|
/* looks good in sRGB but washed up on chrome default
|
|
$color-primary: #826bb0;
|
|
$color-success: #31cb55;
|
|
$color-info: #5e93ec;
|
|
$color-warning: #eec559;
|
|
$color-danger: #dc4b92;
|
|
$color-fusion: darken(desaturate(adjust-hue($color-primary, 5), 80%), 25%); */
|
|
/* Color Polarity
|
|
========================================================================== */
|
|
/* PAINTBUCKET MIXER
|
|
========================================================================== */
|
|
/* the grays */
|
|
/* the sapphires */
|
|
/* the emeralds */
|
|
/* the amethyths */
|
|
/* the topaz */
|
|
/* the rubies */
|
|
/* the graphites */
|
|
/* Define universal border difition (div outlines, etc)
|
|
========================================================================== */
|
|
/* MOBILE BREAKPOINT & GUTTERS (contains some bootstrap responsive overrides)
|
|
========================================================================== */
|
|
/* define when mobile menu activates, here we are declearing (lg) so it targets the one after it */
|
|
/* bootstrap reference xs: 0, sm: 544px, md: 768px, lg: 992px, xl: 1200px*/
|
|
/* global var used for spacing*/
|
|
/* Uniform Padding variable */
|
|
/* Heads up! This is a global scoped variable - changing may impact the whole template */
|
|
/* BOOTSTRAP OVERRIDES (bootstrap variables)
|
|
========================================================================== */
|
|
/* usage: theme-colors("primary"); */
|
|
/* forms */
|
|
/*$input-height: calc(2.25rem + 1px); //I had to add this because the input gruops was having improper height for some reason... */
|
|
/* links */
|
|
/* checkbox */
|
|
/*$custom-file-height-inner: calc(2.25rem - 1px);*/
|
|
/* not part of bootstrap variable */
|
|
/* custom checkbox */
|
|
/* custom range */
|
|
/* select */
|
|
/* badge */
|
|
/* cards */
|
|
/*border radius*/
|
|
/* alert */
|
|
/* toast */
|
|
/* breadcrumb */
|
|
/* input button */
|
|
/* nav link */
|
|
/* nav, tabs, pills */
|
|
/* tables */
|
|
/* dropdowns */
|
|
/* dropdowns sizes */
|
|
/* popovers */
|
|
/* tooltips */
|
|
/* modal */
|
|
/* reference guide
|
|
http://www.standardista.com/px-to-rem-conversion-if-root-font-size-is-16px/
|
|
8px = 0.5rem
|
|
9px = 0.5625rem
|
|
10px = 0.625rem
|
|
11px = 0.6875rem
|
|
12px = 0.75rem
|
|
13px = 0.8125rem
|
|
14px = 0.875rem
|
|
15px = 0.9375rem
|
|
16px = 1rem (base)
|
|
17px = 1.0625rem
|
|
18px = 1.125rem
|
|
19px = 1.1875rem
|
|
20px = 1.25rem
|
|
21px = 1.3125rem
|
|
22px = 1.375rem
|
|
24px = 1.5rem
|
|
25px = 1.5625rem
|
|
26px = 1.625rem
|
|
28px = 1.75rem
|
|
30px = 1.875rem
|
|
32px = 2rem
|
|
34px = 2.125rem
|
|
36px = 2.25rem
|
|
38px = 2.375rem
|
|
40px = 2.5rem
|
|
*/
|
|
/* Fonts */
|
|
/* carousel */
|
|
/* BASE VARS
|
|
========================================================================== */
|
|
/* font vars below will auto change to rem values using function rem($value)*/
|
|
/* 11px */
|
|
/* 12px */
|
|
/* 12.5px */
|
|
/* 14px */
|
|
/* 15px */
|
|
/* 16px */
|
|
/* 28px */
|
|
/* Font Family
|
|
========================================================================== */
|
|
/*hint: you can also try the font called 'Poppins' by replacing the font 'Roboto' */
|
|
/* ANIMATIONS
|
|
========================================================================== */
|
|
/* this addresses all animation related to nav hide to nav minify */
|
|
/* Z-INDEX declearation
|
|
========================================================================== */
|
|
/* we adjust bootstrap z-index to be higher than our higest z-index*/
|
|
/* CUSTOM ICON PREFIX
|
|
========================================================================== */
|
|
/* PRINT CSS (landscape or portrait)
|
|
========================================================================== */
|
|
/* landscape or portrait */
|
|
/* auto, letter */
|
|
/* Common Element Variables
|
|
========================================================================== */
|
|
/* Z-index decleartion "birds eye view"
|
|
========================================================================== */
|
|
/* Components
|
|
========================================================================== */
|
|
/* PAGE HEADER STUFF
|
|
========================================================================== */
|
|
/* colors */
|
|
/* height */
|
|
/* logo */
|
|
/* try not to go beywond the width of $main_nav_width value */
|
|
/* you may need to change this depending on your logo design */
|
|
/* adjust this as you see fit : left, right, center */
|
|
/* icon font size (not button) */
|
|
/* search input box */
|
|
/* suggestion: #ccced0*/
|
|
/* btn */
|
|
/* dropdown: app list */
|
|
/* badge */
|
|
/* COMPONENTS & MODS */
|
|
/* NAVIGATION STUFF
|
|
|
|
Guide:
|
|
|
|
aside.page-sidebar ($nav-width, $nav-background)
|
|
.page-logo
|
|
.primary-nav
|
|
.info-card
|
|
ul.nav-menu
|
|
li
|
|
a (parent level-0..., $nav-link-color, $nav-link-hover-color, $nav-link-hover-bg-color, $nav-link-hover-left-border-color)
|
|
icon
|
|
span
|
|
collapse-sign
|
|
|
|
ul.nav-menu-sub-one
|
|
li
|
|
a ($nav-level-1... $nav-sub-link-height)
|
|
span
|
|
collapse-sign
|
|
|
|
ul.nav-menu-sub-two
|
|
li
|
|
a ($nav-level-2... $nav-sub-link-height)
|
|
span
|
|
|
|
p.nav-title ($nav-title-*...)
|
|
|
|
|
|
========================================================================== */
|
|
/* main navigation */
|
|
/* left panel */
|
|
/* nav parent level-0 */
|
|
/* nav icon sizes */
|
|
/* badge default */
|
|
/* all child */
|
|
/* nav title */
|
|
/* nav Minify */
|
|
/* when the menu pops on hover */
|
|
/* navigation Width */
|
|
/* partial visibility of the menu */
|
|
/* top navigation */
|
|
/* nav Info Card (appears below the logo) */
|
|
/* width is auto */
|
|
/* nav DL labels for all child */
|
|
/* will be pulled to left as a negative value */
|
|
/* MISC Settings
|
|
========================================================================== */
|
|
/* List Table */
|
|
/* PAGE SETTINGS
|
|
========================================================================== */
|
|
/* PAGE BREADCRUMB
|
|
========================================================================== */
|
|
/* PAGE COMPONENT PANELS
|
|
========================================================================== */
|
|
/* PAGE COMPONENT PROGRESSBARS
|
|
========================================================================== */
|
|
/* PAGE COMPONENT MESSENGER
|
|
========================================================================== */
|
|
/* FOOTER
|
|
========================================================================== */
|
|
/* GLOBALS
|
|
========================================================================== */
|
|
/* ACCESSIBILITIES */
|
|
/* SHORTCUT BUTTON (appears on bottom right of the page) */
|
|
body {
|
|
font-family: "Roboto", "Helvetica Neue", Helvetica, Arial;
|
|
font-size: 0.8125rem;
|
|
letter-spacing: 0.1px; }
|
|
|
|
.page-content {
|
|
color: #666666; }
|
|
|
|
h1, h2, h3, h4, h5, h6 {
|
|
line-height: 1.3;
|
|
font-weight: 400; }
|
|
|
|
strong {
|
|
font-weight: 500; }
|
|
|
|
h1 small,
|
|
h2 small,
|
|
h3 small,
|
|
h4 small,
|
|
h5 small,
|
|
h6 small,
|
|
.h1 small,
|
|
.h2 small,
|
|
.h3 small,
|
|
.h4 small,
|
|
.h5 small,
|
|
.h6 small {
|
|
font-weight: 300;
|
|
display: block;
|
|
font-size: 0.9375rem;
|
|
line-height: 1.5;
|
|
margin: 2px 0 1.5rem; }
|
|
|
|
h2 small,
|
|
h3 small,
|
|
.h2 small,
|
|
.h3 small {
|
|
font-size: 0.9375rem; }
|
|
|
|
h4 small,
|
|
.h4 small {
|
|
font-size: 0.875rem; }
|
|
|
|
h5 small,
|
|
h6 small,
|
|
.h5 small,
|
|
.h6 small {
|
|
font-size: 0.8125rem; }
|
|
|
|
/* contrast text */
|
|
.text-contrast {
|
|
color: #333333; }
|
|
|
|
/* text-gradient */
|
|
.text-gradient {
|
|
background: -webkit-gradient(linear, right top, right bottom, color-stop(25%, #6e4e9e), color-stop(50%, #62468d), color-stop(75%, #0c7cd5), to(#0960a5));
|
|
background: linear-gradient(-180deg, #6e4e9e 25%, #62468d 50%, #0c7cd5 75%, #0960a5 100%);
|
|
color: #886ab5;
|
|
background-clip: text;
|
|
text-fill-color: transparent;
|
|
-webkit-background-clip: text;
|
|
-webkit-text-fill-color: transparent;
|
|
text-shadow: none; }
|
|
|
|
/* looking for font size? Check _helpers.scss */
|
|
/* PLACEHOLDER
|
|
=============================================
|
|
|
|
EXAMPLE:
|
|
|
|
%bg-image {
|
|
width: 100%;
|
|
background-position: center center;
|
|
background-size: cover;
|
|
background-repeat: no-repeat;
|
|
}
|
|
|
|
.image-one {
|
|
@extend %bg-image;
|
|
background-image:url(/img/image-one.jpg");
|
|
}
|
|
|
|
RESULT:
|
|
|
|
.image-one, .image-two {
|
|
width: 100%;
|
|
background-position: center center;
|
|
background-size: cover;
|
|
background-repeat: no-repeat;
|
|
}
|
|
|
|
*/
|
|
/*
|
|
%shadow-hover {
|
|
box-shadow: 0 1px 3px rgba(0,0,0,0.12), 0 0 2px rgba(0,0,0,0.24);
|
|
transition: all 0.2s ease-in-out;
|
|
|
|
&:hover {
|
|
box-shadow: 0 10px 20px rgba(0,0,0,0.19), 0 -1px 6px rgba(0,0,0,0.23);
|
|
}
|
|
}
|
|
*/
|
|
/*%fixed-header-shadow {
|
|
@include box-shadow(0 2px 2px -1px rgba(0,0,0,.1));
|
|
}*/
|
|
/* %selected-dot {
|
|
&:before {
|
|
content: " ";
|
|
display: block;
|
|
border-radius: 50%;
|
|
background: inherit;
|
|
background-image: none;
|
|
border: 2px solid rgba(0,0,0,0.2);
|
|
position: absolute;
|
|
top: 15px;
|
|
left: 15px;
|
|
height: 20px;
|
|
width: 20px;
|
|
}
|
|
&:after {
|
|
content: " ";
|
|
height: inherit;
|
|
width: inherit;
|
|
border: 5px solid rgba(0,0,0,0.1);
|
|
position: absolute;
|
|
left: 0;
|
|
top: 0;
|
|
border-radius: 50%;
|
|
}
|
|
}*/
|
|
/* patterns */
|
|
.irs--flat .irs-bar,
|
|
.irs--flat .irs-from,
|
|
.irs--flat .irs-to,
|
|
.irs--flat .irs-single,
|
|
.irs--flat .irs-handle > i:first-child {
|
|
background-color: #886ab5; }
|
|
|
|
.irs--flat .irs-from,
|
|
.irs--flat .irs-to,
|
|
.irs--flat .irs-single {
|
|
font-size: 12px; }
|
|
|
|
.irs--flat .irs-from:before,
|
|
.irs--flat .irs-to:before,
|
|
.irs--flat .irs-single:before {
|
|
border-top-color: #886ab5; }
|
|
|
|
.irs--flat .irs-handle.state_hover > i:first-child,
|
|
.irs--flat .irs-handle:hover > i:first-child {
|
|
background-color: #7a59ad; }
|
|
|
|
.irs--big .irs-bar {
|
|
background-color: #a38cc6;
|
|
border-color: #886ab5;
|
|
background: -webkit-gradient(linear, right top, right bottom, from(#ffffff), color-stop(30%, #a38cc6), to(#886ab5));
|
|
background: linear-gradient(to bottom, #ffffff 0%, #a38cc6 30%, #886ab5 100%); }
|
|
|
|
.irs--big .irs-from,
|
|
.irs--big .irs-to,
|
|
.irs--big .irs-single {
|
|
background: #886ab5; }
|
|
|
|
.irs--modern .irs-bar {
|
|
background: #1ab3a3;
|
|
background: -webkit-gradient(linear, right top, right bottom, from(#21dfcb), to(#1ab3a3));
|
|
background: linear-gradient(to bottom, #21dfcb 0%, #1ab3a3 100%); }
|
|
|
|
.irs--modern .irs-from,
|
|
.irs--modern .irs-to,
|
|
.irs--modern .irs-single {
|
|
background-color: #1dc9b7; }
|
|
|
|
.irs--modern .irs-from:before,
|
|
.irs--modern .irs-to:before,
|
|
.irs--modern .irs-single:before {
|
|
border-top-color: #1dc9b7; }
|
|
|
|
.irs--modern .irs-handle > i:nth-child(1) {
|
|
width: 8px;
|
|
height: 8px; }
|
|
|
|
.irs--sharp .irs-bar,
|
|
.irs--sharp .irs-handle,
|
|
.irs--sharp .irs-from,
|
|
.irs--sharp .irs-to,
|
|
.irs--sharp .irs-single {
|
|
background-color: #fd3995; }
|
|
|
|
.irs--sharp .irs-handle > i:first-child,
|
|
.irs--sharp .irs-from:before,
|
|
.irs--sharp .irs-to:before,
|
|
.irs--sharp .irs-single:before {
|
|
border-top-color: #fd3995; }
|
|
|
|
.irs--sharp .irs-min,
|
|
.irs--sharp .irs-max {
|
|
background-color: #e7026e; }
|
|
|
|
.irs--round .irs-handle {
|
|
border-color: #2196F3; }
|
|
|
|
.irs--round .irs-bar,
|
|
.irs--round .irs-from,
|
|
.irs--round .irs-to,
|
|
.irs--round .irs-single {
|
|
background-color: #2196F3; }
|
|
|
|
.irs--round .irs-from:before,
|
|
.irs--round .irs-to:before,
|
|
.irs--round .irs-single:before {
|
|
border-top-color: #2196F3; }
|