1
0
mirror of https://github.com/yldio/copilot.git synced 2024-11-28 14:10:04 +02:00

always calc rem for border-radius

This commit is contained in:
Sérgio Ramos 2016-10-31 14:59:17 +00:00
parent 7be25cf921
commit c89d11b621
3 changed files with 4 additions and 4 deletions

View File

@ -4,7 +4,7 @@
:root { :root {
--border-checked: ~boxes.border.checked; --border-checked: ~boxes.border.checked;
--border-unchecked: ~boxes.border.unchecked; --border-unchecked: ~boxes.border.unchecked;
--border-radius: ~boxes.borderRadius; --border-radius: remCalc(~boxes.borderRadius);
--bottom-shaddow: ~boxes.bottomShaddow; --bottom-shaddow: ~boxes.bottomShaddow;
} }

View File

@ -5,7 +5,7 @@
:root { :root {
--border-unchecked: ~boxes.border.unchecked; --border-unchecked: ~boxes.border.unchecked;
--border-radius: ~boxes.borderRadius; --border-radius: remCalc(~boxes.borderRadius);
--bottom-shaddow: ~boxes.bottomShaddow; --bottom-shaddow: ~boxes.bottomShaddow;
} }

View File

@ -11,14 +11,14 @@
--background-confirmed: ~colors.confirmation; --background-confirmed: ~colors.confirmation;
--border-confirmed: ~boxes.border.confirmed; --border-confirmed: ~boxes.border.confirmed;
--border-unchecked: ~boxes.border.unchecked; --border-unchecked: ~boxes.border.unchecked;
--border-radius: ~boxes.borderRadius; --border-radius: remCalc(~boxes.borderRadius);
--bottom-shaddow: ~boxes.bottomShaddow; --bottom-shaddow: ~boxes.bottomShaddow;
} }
.toggle { .toggle {
font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif; font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
color: #464646; color: #464646;
border-radius: 4px; border-radius: var(--border-radius);
width: 5rem; width: 5rem;
height: 2.5rem; height: 2.5rem;