diff options
author | 2021-09-04 11:20:34 +0200 | |
---|---|---|
committer | 2021-09-04 11:20:34 +0200 | |
commit | 6c54c9d57d5fa4c52aa454ed3ca09060b0674ad3 (patch) | |
tree | 0d236ccdf51f264cced4c8adbad24d1dba065ddf /styles/main/_submenu.scss | |
parent | a28b952eafc83ac6f6fc1a3d99805866bc41fde9 (diff) | |
download | my_apps-6c54c9d57d5fa4c52aa454ed3ca09060b0674ad3.tar.gz my_apps-6c54c9d57d5fa4c52aa454ed3ca09060b0674ad3.tar.bz2 my_apps-6c54c9d57d5fa4c52aa454ed3ca09060b0674ad3.zip |
split scss into partials
Diffstat (limited to 'styles/main/_submenu.scss')
-rw-r--r-- | styles/main/_submenu.scss | 28 |
1 files changed, 28 insertions, 0 deletions
diff --git a/styles/main/_submenu.scss b/styles/main/_submenu.scss new file mode 100644 index 0000000..92bac7c --- /dev/null +++ b/styles/main/_submenu.scss @@ -0,0 +1,28 @@ +.submenu { + position: absolute; + right: 4px; + top: 2.1em; + padding: .75em; + background-color: var(--color-window-content); + border-bottom: 1px solid var(--color-window-border-bottom); + border-radius: .5em; + display: flex; + flex-direction: column; + + & > li > span, + & > li > a { + display: block; + color: var(--color-text); + padding: .5em; + margin: .25em; + white-space: nowrap; + text-decoration: none; + transition: .3s background, .3s color; + border-radius: .5em; + + &:hover { + color: var(--color-text-alt); + background-color: var(--color-selected); + } + } +} |