aboutsummaryrefslogtreecommitdiffhomepage
path: root/client/src/sass/include
diff options
context:
space:
mode:
authorChocobozzz <me@florianbigard.com>2021-03-31 09:07:25 +0200
committerChocobozzz <me@florianbigard.com>2021-03-31 09:07:25 +0200
commit218f730c7bceda5511d46f26191e7b1726c9ffd3 (patch)
tree7fc9c5ca188f22993d9f815c0edf1e190ddef1ef /client/src/sass/include
parent733dbc535d5fecdaba9e05feb8923bc754920525 (diff)
downloadPeerTube-218f730c7bceda5511d46f26191e7b1726c9ffd3.tar.gz
PeerTube-218f730c7bceda5511d46f26191e7b1726c9ffd3.tar.zst
PeerTube-218f730c7bceda5511d46f26191e7b1726c9ffd3.zip
Theme breaking: --submenuColor becomes --submenuBackgroundColor
Diffstat (limited to 'client/src/sass/include')
-rw-r--r--client/src/sass/include/_mixins.scss6
-rw-r--r--client/src/sass/include/_variables.scss4
2 files changed, 5 insertions, 5 deletions
diff --git a/client/src/sass/include/_mixins.scss b/client/src/sass/include/_mixins.scss
index affffc4cc..b3190a4e3 100644
--- a/client/src/sass/include/_mixins.scss
+++ b/client/src/sass/include/_mixins.scss
@@ -696,7 +696,7 @@
696 padding: 0.75rem 1rem; 696 padding: 0.75rem 1rem;
697 margin-bottom: 1rem; 697 margin-bottom: 1rem;
698 list-style: none; 698 list-style: none;
699 background-color: pvar(--submenuColor); 699 background-color: pvar(--submenuBackgroundColor);
700 border-radius: 0.25rem; 700 border-radius: 0.25rem;
701 701
702 .breadcrumb-item { 702 .breadcrumb-item {
@@ -751,7 +751,7 @@
751 & > a, 751 & > a,
752 & > div { 752 & > div {
753 padding: 20px; 753 padding: 20px;
754 background: pvar(--submenuColor); 754 background: pvar(--submenuBackgroundColor);
755 border-radius: 4px; 755 border-radius: 4px;
756 box-sizing: border-box; 756 box-sizing: border-box;
757 height: 100%; 757 height: 100%;
@@ -773,7 +773,7 @@
773 } 773 }
774} 774}
775 775
776@mixin divider($color: pvar(--submenuColor), $background: pvar(--mainBackgroundColor)) { 776@mixin divider($color: pvar(--submenuBackgroundColor), $background: pvar(--mainBackgroundColor)) {
777 width: 95%; 777 width: 95%;
778 border-top: .05rem solid $color; 778 border-top: .05rem solid $color;
779 height: .05rem; 779 height: .05rem;
diff --git a/client/src/sass/include/_variables.scss b/client/src/sass/include/_variables.scss
index 724a897fa..532eaf650 100644
--- a/client/src/sass/include/_variables.scss
+++ b/client/src/sass/include/_variables.scss
@@ -48,7 +48,7 @@ $menu-bottom-color: #C6C6C6;
48$menu-width: 240px; 48$menu-width: 240px;
49$menu-lateral-padding: 26px; 49$menu-lateral-padding: 26px;
50 50
51$sub-menu-color: #F7F7F7; 51$sub-menu-background-color: #F7F7F7;
52$sub-menu-height: 81px; 52$sub-menu-height: 81px;
53 53
54$channel-background-color: #f6ede8; 54$channel-background-color: #f6ede8;
@@ -103,7 +103,7 @@ $variables: (
103 --menuBackgroundColor: var(--menuBackgroundColor), 103 --menuBackgroundColor: var(--menuBackgroundColor),
104 --menuForegroundColor: var(--menuForegroundColor), 104 --menuForegroundColor: var(--menuForegroundColor),
105 105
106 --submenuColor: var(--submenuColor), 106 --submenuBackgroundColor: var(--submenuBackgroundColor),
107 --channelBackgroundColor: var(--channelBackgroundColor), 107 --channelBackgroundColor: var(--channelBackgroundColor),
108 108
109 --inputForegroundColor: var(--inputForegroundColor), 109 --inputForegroundColor: var(--inputForegroundColor),