-
Notifications
You must be signed in to change notification settings - Fork 27
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
updated icon style to not use disallowed property, and to use discret…
…e pixel values
- Loading branch information
1 parent
d2aa9cb
commit 2fb40ba
Showing
2 changed files
with
13 additions
and
9 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -38,6 +38,7 @@ | |
} | ||
.user-guide-link { | ||
grid-area: guide; | ||
height: 100%; | ||
} | ||
|
||
.global-search-box { | ||
|
21 changes: 12 additions & 9 deletions
21
packages/frontend/app/styles/components/user-guide-link.scss
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,27 +1,30 @@ | ||
@use "../ilios-common/mixins" as cm; | ||
@use "../ilios-common/colors" as c; | ||
@use "../mixins" as m; | ||
|
||
.user-guide-link { | ||
@include m.header-menu; | ||
margin-left: 0.5rem; | ||
|
||
@include cm.for-tablet-and-up { | ||
margin-left: 0.25rem; | ||
margin-right: 0.5rem; | ||
} | ||
|
||
@include cm.for-phone-only { | ||
/* stylelint-disable property-disallowed-list */ | ||
font-size: 3.5vw; | ||
} | ||
|
||
a { | ||
svg { | ||
align-items: center; | ||
color: c.$white; | ||
display: flex; | ||
height: 1.85em; | ||
width: 1.85em; | ||
height: 30px; | ||
width: 30px; | ||
} | ||
} | ||
|
||
@include cm.for-phone-only { | ||
a { | ||
svg { | ||
height: 24px; | ||
width: 24px; | ||
} | ||
} | ||
} | ||
} |