|
@@ -99,7 +99,8 @@
|
|
|
.rp-size-expanded & {
|
|
.rp-size-expanded & {
|
|
|
display: flex;
|
|
display: flex;
|
|
|
align-items: center;
|
|
align-items: center;
|
|
|
- justify-content: center;
|
|
|
|
|
|
|
+ justify-content: space-between;
|
|
|
|
|
+ padding: 0 5px;
|
|
|
}
|
|
}
|
|
|
.rp-state-current-file & {
|
|
.rp-state-current-file & {
|
|
|
position: absolute;
|
|
position: absolute;
|
|
@@ -618,33 +619,17 @@
|
|
|
border-radius: .875em;
|
|
border-radius: .875em;
|
|
|
transition: background .15s ease, border-color 0.15s ease;
|
|
transition: background .15s ease, border-color 0.15s ease;
|
|
|
|
|
|
|
|
- &::before,
|
|
|
|
|
- &::after {
|
|
|
|
|
- display: block;
|
|
|
|
|
- width: 50%;
|
|
|
|
|
- height: 100%;
|
|
|
|
|
- }
|
|
|
|
|
-
|
|
|
|
|
&::before {
|
|
&::before {
|
|
|
content: '';
|
|
content: '';
|
|
|
display: block;
|
|
display: block;
|
|
|
|
|
+ width: 50%;
|
|
|
|
|
+ height: 100%;
|
|
|
position: relative;
|
|
position: relative;
|
|
|
left: 0;
|
|
left: 0;
|
|
|
background-color: #FFF;
|
|
background-color: #FFF;
|
|
|
border-radius: .875em;
|
|
border-radius: .875em;
|
|
|
transition: background-color 0.15s ease, color 0.15s ease, left 0.15s ease;
|
|
transition: background-color 0.15s ease, color 0.15s ease, left 0.15s ease;
|
|
|
}
|
|
}
|
|
|
-
|
|
|
|
|
- &::after {
|
|
|
|
|
- content: 'OFF';
|
|
|
|
|
- position: absolute;
|
|
|
|
|
- top: 0;
|
|
|
|
|
- right: 1px;
|
|
|
|
|
- font-size: .75em;
|
|
|
|
|
- font-weight: normal;
|
|
|
|
|
- line-height: 215%;
|
|
|
|
|
- color: #FFF;
|
|
|
|
|
- }
|
|
|
|
|
}
|
|
}
|
|
|
|
|
|
|
|
&:checked + .rp-toggle-btn {
|
|
&:checked + .rp-toggle-btn {
|
|
@@ -655,13 +640,6 @@
|
|
|
left: 50%;
|
|
left: 50%;
|
|
|
background-color: #FFF;
|
|
background-color: #FFF;
|
|
|
}
|
|
}
|
|
|
-
|
|
|
|
|
- &::after {
|
|
|
|
|
- content: 'ON';
|
|
|
|
|
- left: 1px;
|
|
|
|
|
- right: auto;
|
|
|
|
|
- color: #FFF;
|
|
|
|
|
- }
|
|
|
|
|
}
|
|
}
|
|
|
}
|
|
}
|
|
|
|
|
|