diff options
author | Rigel Kent <sendmemail@rigelk.eu> | 2018-09-06 13:47:20 +0200 |
---|---|---|
committer | Rigel Kent <sendmemail@rigelk.eu> | 2018-09-06 13:47:48 +0200 |
commit | 35c29307767ac773eaab5054071c7df0555effcb (patch) | |
tree | bb81ab0bdd38e5faf554445934895cbc0841ea7b | |
parent | 21131ac17243105f59314e92277dd9cf85ca5572 (diff) | |
download | PeerTube-35c29307767ac773eaab5054071c7df0555effcb.tar.gz PeerTube-35c29307767ac773eaab5054071c7df0555effcb.tar.zst PeerTube-35c29307767ac773eaab5054071c7df0555effcb.zip |
move theme toggle icon to the right
-rw-r--r-- | client/src/app/menu/menu.component.html | 2 | ||||
-rw-r--r-- | client/src/app/menu/menu.component.scss | 5 | ||||
-rw-r--r-- | client/src/sass/include/_variables.scss | 2 |
3 files changed, 5 insertions, 4 deletions
diff --git a/client/src/app/menu/menu.component.html b/client/src/app/menu/menu.component.html index d9e75adea..63ff4a86f 100644 --- a/client/src/app/menu/menu.component.html +++ b/client/src/app/menu/menu.component.html | |||
@@ -83,7 +83,7 @@ | |||
83 | </div> | 83 | </div> |
84 | </div> | 84 | </div> |
85 | 85 | ||
86 | <div class="footer"> | 86 | <div class="footer d-flex justify-content-between"> |
87 | <span class="language"> | 87 | <span class="language"> |
88 | <span (click)="openLanguageChooser()" i18n-title title="Change the language" class="icon icon-language"></span> | 88 | <span (click)="openLanguageChooser()" i18n-title title="Change the language" class="icon icon-language"></span> |
89 | </span> | 89 | </span> |
diff --git a/client/src/app/menu/menu.component.scss b/client/src/app/menu/menu.component.scss index fc5110eda..592860e12 100644 --- a/client/src/app/menu/menu.component.scss +++ b/client/src/app/menu/menu.component.scss | |||
@@ -122,7 +122,7 @@ menu { | |||
122 | a { | 122 | a { |
123 | display: flex; | 123 | display: flex; |
124 | align-items: center; | 124 | align-items: center; |
125 | padding-left: $menu-left-padding; | 125 | padding-left: $menu-lateral-padding; |
126 | color: $menu-color; | 126 | color: $menu-color; |
127 | cursor: pointer; | 127 | cursor: pointer; |
128 | height: 40px; | 128 | height: 40px; |
@@ -191,7 +191,8 @@ menu { | |||
191 | 191 | ||
192 | .footer { | 192 | .footer { |
193 | padding-bottom: 15px; | 193 | padding-bottom: 15px; |
194 | padding-left: $menu-left-padding; | 194 | padding-left: $menu-lateral-padding; |
195 | padding-right: $menu-lateral-padding; | ||
195 | 196 | ||
196 | .language, .color-palette { | 197 | .language, .color-palette { |
197 | display: inline-block; | 198 | display: inline-block; |
diff --git a/client/src/sass/include/_variables.scss b/client/src/sass/include/_variables.scss index cb6061f45..3514bdb9b 100644 --- a/client/src/sass/include/_variables.scss +++ b/client/src/sass/include/_variables.scss | |||
@@ -32,7 +32,7 @@ $menu-background: #000; | |||
32 | $menu-color: #fff; | 32 | $menu-color: #fff; |
33 | $menu-bottom-color: #C6C6C6; | 33 | $menu-bottom-color: #C6C6C6; |
34 | $menu-width: 240px; | 34 | $menu-width: 240px; |
35 | $menu-left-padding: 26px; | 35 | $menu-lateral-padding: 26px; |
36 | 36 | ||
37 | $sub-menu-color: #F7F7F7; | 37 | $sub-menu-color: #F7F7F7; |
38 | 38 | ||