aboutsummaryrefslogtreecommitdiffstats
path: root/styles/global
diff options
context:
space:
mode:
authorGravatar piotrruss <mail@pruss.it> 2021-09-12 23:11:25 +0200
committerGravatar piotrruss <mail@pruss.it> 2021-09-12 23:11:25 +0200
commit16dab011c575eaf96630cab406ec2d8086403d0b (patch)
treeaf53af45b8cb52317cef3d4d59216b1c58d8d8ff /styles/global
parentd79f4c0bf3dae76eaae0d36469f5b279272d6944 (diff)
downloadmy_apps-16dab011c575eaf96630cab406ec2d8086403d0b.tar.gz
my_apps-16dab011c575eaf96630cab406ec2d8086403d0b.tar.bz2
my_apps-16dab011c575eaf96630cab406ec2d8086403d0b.zip
added youtube & player apps
Diffstat (limited to 'styles/global')
-rw-r--r--styles/global/_window.scss47
1 files changed, 38 insertions, 9 deletions
diff --git a/styles/global/_window.scss b/styles/global/_window.scss
index c489796..cf78752 100644
--- a/styles/global/_window.scss
+++ b/styles/global/_window.scss
@@ -106,20 +106,41 @@
width: 100%;
background: var(--color-window-menu);
- & > div > div {
- // cursor: pointer;
- display: inline-block;
- padding: .5em;
- transition: .3s background;
- white-space: nowrap;
+ & > div {
+ display: flex;
- @media(hover: hover) {
- &:hover {
- background-color: var(--color-window-menu-alt);
+ & > div {
+ display: inline-block;
+ padding: .5em;
+ transition: .3s background;
+ white-space: nowrap;
+
+ @media(hover: hover) {
+ &:hover {
+ background-color: var(--color-window-menu-alt);
+ }
}
}
+
+ & > span {
+ flex-grow: 1;
+ }
}
+ .off {
+ text-decoration: line-through solid var(--color-decor);
+ color: var(--color-decor);
+ }
+
+ .iconOff {
+ color: var(--color-window-menu-alt);
+ pointer-events: none;
+ }
+
+ .active {
+ color: var(--color-text-alt);
+ font-weight: 600;
+ }
@media(max-width: 40em) {
height: 3em;
@@ -201,5 +222,13 @@
& > .window__content {
top: 0;
}
+
+ .window__submenu > div {
+ @media(min-width: 40em) {
+ &:last-of-type {
+ margin-right: 5.5em;
+ }
+ }
+ }
}
}