Skip to content

Commit

Permalink
Move from px to rem
Browse files Browse the repository at this point in the history
  • Loading branch information
janfaracik committed Jun 9, 2022
1 parent 68f5425 commit 13d5729
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 5 deletions.
6 changes: 3 additions & 3 deletions war/src/main/less/abstracts/mixins.less
Original file line number Diff line number Diff line change
Expand Up @@ -67,7 +67,7 @@
}

&::after {
box-shadow: 0 0 0 10px transparent;
box-shadow: 0 0 0 0.66rem transparent;
}

&:hover,
Expand All @@ -87,13 +87,13 @@
}

&::after {
box-shadow: 0 0 0 5px var(--longhorn-box-shadow--focus);
box-shadow: 0 0 0 0.33rem var(--longhorn-box-shadow--focus);
}
}

&:focus-visible {
&::after {
box-shadow: 0 0 0 5px var(--text-color);
box-shadow: 0 0 0 0.33rem var(--text-color);
}
}
}
3 changes: 1 addition & 2 deletions war/src/main/less/modules/section.less
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,6 @@
border-top: 2px solid var(--panel-border-color);
padding: var(--section-padding) 0 0 0;
max-width: 1800px;
margin-bottom: 24px;

&:first-of-type {
border-top: none;
Expand Down Expand Up @@ -135,7 +134,7 @@
color: var(--text-color-secondary);
font-weight: 500;
line-height: 1.6;
margin: 0 10px 0 0;
margin: 0 0.66rem 0 0;
font-size: 0.925rem;
}
}
Expand Down

0 comments on commit 13d5729

Please sign in to comment.