mirror of
https://github.com/Noratrieb/slides.git
synced 2026-01-14 16:35:07 +01:00
simplify control styling using currentColor
This commit is contained in:
parent
2155415767
commit
10545d41cc
14 changed files with 31 additions and 39 deletions
|
|
@ -261,6 +261,7 @@ body {
|
|||
bottom: 0;
|
||||
left: 0;
|
||||
z-index: 1;
|
||||
color: #fff;
|
||||
|
||||
button {
|
||||
position: absolute;
|
||||
|
|
@ -271,6 +272,7 @@ body {
|
|||
border: 0;
|
||||
outline: 0;
|
||||
cursor: pointer;
|
||||
color: currentColor;
|
||||
transform: scale(.9999);
|
||||
transition: all 0.2s ease;
|
||||
z-index: 2; // above slides
|
||||
|
|
@ -291,7 +293,7 @@ body {
|
|||
width: $length;
|
||||
height: $thickness;
|
||||
border-radius: $thickness/2;
|
||||
background-color: #fff;
|
||||
background-color: currentColor;
|
||||
|
||||
transition: all 0.15s ease, background-color 0.8s ease;
|
||||
transform-origin: $thickness/2 50%;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue