2017-08-03 13:53:18 +03:00
|
|
|
@import '../../styles/themes';
|
2017-07-28 14:54:29 +03:00
|
|
|
|
2017-08-01 17:42:21 +03:00
|
|
|
@include nb-install-component() {
|
2017-09-07 16:43:31 +03:00
|
|
|
h6 {
|
2019-01-09 17:11:47 +03:00
|
|
|
margin-bottom: 0.875rem;
|
|
|
|
|
text-align: center;
|
|
|
|
|
font-weight: bold;
|
|
|
|
|
text-shadow: 0 0 8px rgba(0, 0, 0, 0.16);
|
2017-08-31 14:58:28 +03:00
|
|
|
}
|
|
|
|
|
|
2017-07-28 14:54:29 +03:00
|
|
|
.settings-row {
|
|
|
|
|
display: flex;
|
|
|
|
|
flex-direction: row;
|
2019-01-09 17:11:47 +03:00
|
|
|
justify-content: center;
|
2017-08-31 14:58:28 +03:00
|
|
|
align-items: center;
|
2017-07-28 14:54:29 +03:00
|
|
|
flex-wrap: wrap;
|
2019-01-09 17:11:47 +03:00
|
|
|
width: 100%;
|
|
|
|
|
margin: 0 0 2.575rem;
|
2017-08-31 14:58:28 +03:00
|
|
|
|
2017-07-28 14:54:29 +03:00
|
|
|
a {
|
2019-01-09 17:11:47 +03:00
|
|
|
display: flex;
|
|
|
|
|
justify-content: center;
|
|
|
|
|
align-content: center;
|
|
|
|
|
align-items: center;
|
|
|
|
|
width: 4.15rem;
|
|
|
|
|
height: 4.15rem;
|
|
|
|
|
border-radius: nb-theme(radius);
|
|
|
|
|
background-color: nb-theme(color-white);
|
|
|
|
|
border: 2px solid transparent;
|
|
|
|
|
margin: 0.875rem;
|
2017-08-31 14:58:28 +03:00
|
|
|
text-decoration: none;
|
2017-09-15 14:29:30 +03:00
|
|
|
font-size: 2.25rem;
|
2017-08-31 14:58:28 +03:00
|
|
|
color: nb-theme(color-fg);
|
2017-07-28 14:54:29 +03:00
|
|
|
|
|
|
|
|
&.selected {
|
2017-08-01 17:42:21 +03:00
|
|
|
color: nb-theme(color-success);
|
2019-01-09 17:11:47 +03:00
|
|
|
border-color: nb-theme(color-success);
|
2017-07-28 14:54:29 +03:00
|
|
|
}
|
2017-08-31 14:58:28 +03:00
|
|
|
|
|
|
|
|
@include nb-for-theme(cosmic) {
|
2019-01-09 17:11:47 +03:00
|
|
|
box-shadow: 0 4px 14px 0 rgba(19, 19, 94, 0.4);
|
|
|
|
|
background-color: #3e367e;
|
|
|
|
|
border: 2px solid #3e367e;
|
2017-08-31 14:58:28 +03:00
|
|
|
&.selected {
|
2017-09-15 18:42:08 +03:00
|
|
|
color: nb-theme(link-color);
|
2017-08-31 14:58:28 +03:00
|
|
|
}
|
|
|
|
|
}
|
2017-07-28 14:54:29 +03:00
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
|
2018-05-11 17:25:02 +03:00
|
|
|
.settings {
|
|
|
|
|
margin-bottom: 1em;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
.switcher {
|
|
|
|
|
margin-bottom: 1rem;
|
2019-01-09 17:11:47 +03:00
|
|
|
font-size: 1.524rem;
|
|
|
|
|
width: 12rem;
|
2018-05-11 17:25:02 +03:00
|
|
|
|
|
|
|
|
/deep/ ngx-switcher {
|
|
|
|
|
.switch-label span {
|
|
|
|
|
font-size: 1em;
|
|
|
|
|
font-weight: normal;
|
2019-01-09 17:11:47 +03:00
|
|
|
&.first, &.second {
|
|
|
|
|
font-size: 1rem;
|
|
|
|
|
}
|
2018-05-11 17:25:02 +03:00
|
|
|
}
|
|
|
|
|
|
|
|
|
|
.switch {
|
|
|
|
|
height: 1.5em;
|
|
|
|
|
width: 3em;
|
|
|
|
|
|
|
|
|
|
.slider::before {
|
|
|
|
|
height: 1.5em;
|
|
|
|
|
width: 1.5em;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
input:checked + .slider::before {
|
2019-01-09 17:11:47 +03:00
|
|
|
@include nb-ltr(transform, translateX(1.5em)!important);
|
|
|
|
|
@include nb-rtl(transform, translateX(-1.5em)!important);
|
2018-05-11 17:25:02 +03:00
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
@include nb-for-theme(cosmic) {
|
|
|
|
|
.switch .slider {
|
|
|
|
|
background-color: nb-theme(color-bg);
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
}
|