Skip to content

Commit

Permalink
Reduce padding used for shadows in context menus #44
Browse files Browse the repository at this point in the history
Also fix fullscreen warning not using the correct color in light mode.
  • Loading branch information
Guerra24 committed Feb 6, 2022
1 parent 4e82c3a commit 86aaa6a
Show file tree
Hide file tree
Showing 4 changed files with 8 additions and 6 deletions.
1 change: 1 addition & 0 deletions css/base.css
Original file line number Diff line number Diff line change
Expand Up @@ -743,6 +743,7 @@ notification {
border-radius: var(--uwp-tags-overlay-radius) !important;
background-color: var(--uwp-autocomplete-list) !important;
box-shadow: var(--uwp-shadow-popup) !important;
color: var(--uwp-foreground) !important;
}
.pointerlockfswarning[ontop] {
transform: translate(-50%, 10px) !important;
Expand Down
8 changes: 2 additions & 6 deletions css/context.css
Original file line number Diff line number Diff line change
Expand Up @@ -5,12 +5,8 @@
background: transparent !important;
-moz-window-shadow: none !important;
border: none !important;
margin-left: -22px !important;
margin-top: -12px !important;
padding-top: 10px !important;
padding-left: 20px !important;
padding-right: 20px !important;
padding-bottom: 30px !important;
padding: var(--uwp-popup-padding) !important;
margin: var(--uwp-popup-margin) !important;
}
menupopup.in-menulist {
margin: 0px !important;
Expand Down
2 changes: 2 additions & 0 deletions css/styles/mdl2.css
Original file line number Diff line number Diff line change
Expand Up @@ -197,6 +197,8 @@
--uwp-acrylic-noise: url(../img/noise-512x512.png);
--uwp-shadow-context: 0px 10px 20px 0px rgba(0, 0, 0, .32);
--uwp-shadow-popup: 0px 10px 20px 0px rgba(0, 0, 0, .32);
--uwp-popup-padding: 10px 20px 30px 20px;
--uwp-popup-margin: -12px 0px 0px -22px;
}

:root {
Expand Down
3 changes: 3 additions & 0 deletions css/styles/sun-valley.css
Original file line number Diff line number Diff line change
Expand Up @@ -208,6 +208,9 @@
--uwp-acrylic-noise: none;
--uwp-shadow-context: 0px 8px 10px 0px rgba(0, 0, 0, .14);
--uwp-shadow-popup: 0px 10px 20px 0px rgba(0, 0, 0, .32);

--uwp-popup-padding: 2px 10px 18px 10px;
--uwp-popup-margin: -4px 0px 0px -10px;
}

:root {
Expand Down

0 comments on commit 86aaa6a

Please sign in to comment.