mirror of
https://github.com/picocss/pico.git
synced 2025-05-06 07:37:12 -04:00
Address issues for new dropdown
Added box-shadow, rtl alignment, works with vertical nav/aside, fix paddings and font-size, per @lucaslarroche suggestions
This commit is contained in:
parent
b6ed37a9fc
commit
8d7b62c316
3 changed files with 35 additions and 6 deletions
|
@ -84,6 +84,12 @@
|
|||
--range-thumb-hover-color: var(--secondary-hover);
|
||||
--range-thumb-active-color: var(--primary);
|
||||
|
||||
// Nav
|
||||
--nav-dropdown-background-color: #{rgba($grey-500, 0.05)};
|
||||
--nav-dropdown-box-shadow: 0 0.125rem 1rem #{rgba($black, 0.06)},
|
||||
0 0.125rem 2rem #{rgba($black, 0.12)},
|
||||
0 0 0 0.0625rem #{rgba($black, 0.036)};
|
||||
|
||||
// Table
|
||||
--table-border-color: var(--muted-border-color);
|
||||
--table-row-stripped-background-color: #{rgba($grey-500, 0.05)};
|
||||
|
|
|
@ -85,6 +85,12 @@
|
|||
--range-thumb-hover-color: var(--secondary-hover);
|
||||
--range-thumb-active-color: var(--primary);
|
||||
|
||||
// Nav
|
||||
--nav-dropdown-background-color: #{mix($grey-50, $white)};
|
||||
--nav-dropdown-box-shadow: 0 0.125rem 1rem #{rgba($grey-900, 0.04)},
|
||||
0 0.125rem 2rem #{rgba($grey-900, 0.08)},
|
||||
0 0 0 0.0625rem #{rgba($grey-900, 0.024)};
|
||||
|
||||
// Table
|
||||
--table-border-color: var(--muted-border-color);
|
||||
--table-row-stripped-background-color: #{mix($grey-50, $white)};
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue