aboutsummaryrefslogtreecommitdiffhomepage
path: root/client
diff options
context:
space:
mode:
authorRigel Kent <sendmemail@rigelk.eu>2020-03-07 00:15:49 +0100
committerRigel Kent <sendmemail@rigelk.eu>2020-03-07 00:15:49 +0100
commit758f0d19f227bf2f33544040120023b8dd4d095f (patch)
tree1ab2aa01c3595a49a3dbd2fc1d0b1d9a1c7601ff /client
parent54e7884775197877dd941b44bef03b3c6387b22a (diff)
downloadPeerTube-758f0d19f227bf2f33544040120023b8dd4d095f.tar.gz
PeerTube-758f0d19f227bf2f33544040120023b8dd4d095f.tar.zst
PeerTube-758f0d19f227bf2f33544040120023b8dd4d095f.zip
Improve nav in admin/configuration
Diffstat (limited to 'client')
-rw-r--r--client/src/app/+admin/plugins/shared/toggle-plugin-type.scss1
-rw-r--r--client/src/app/videos/+video-edit/video-add-components/video-upload.component.ts2
-rw-r--r--client/src/sass/bootstrap.scss18
3 files changed, 17 insertions, 4 deletions
diff --git a/client/src/app/+admin/plugins/shared/toggle-plugin-type.scss b/client/src/app/+admin/plugins/shared/toggle-plugin-type.scss
index 7e2c40aae..3d3b6dd12 100644
--- a/client/src/app/+admin/plugins/shared/toggle-plugin-type.scss
+++ b/client/src/app/+admin/plugins/shared/toggle-plugin-type.scss
@@ -10,6 +10,7 @@
10 ::ng-deep { 10 ::ng-deep {
11 .ui-button-text { 11 .ui-button-text {
12 font-size: 15px; 12 font-size: 15px;
13 font-weight: 600;
13 } 14 }
14 15
15 .ui-button.ui-state-active { 16 .ui-button.ui-state-active {
diff --git a/client/src/app/videos/+video-edit/video-add-components/video-upload.component.ts b/client/src/app/videos/+video-edit/video-add-components/video-upload.component.ts
index efdd284e8..ee4aa7b53 100644
--- a/client/src/app/videos/+video-edit/video-add-components/video-upload.component.ts
+++ b/client/src/app/videos/+video-edit/video-add-components/video-upload.component.ts
@@ -70,7 +70,7 @@ export class VideoUploadComponent extends VideoSend implements OnInit, OnDestroy
70 } 70 }
71 71
72 get videoExtensions () { 72 get videoExtensions () {
73 return this.serverConfig.video.file.extensions.join(',') 73 return this.serverConfig.video.file.extensions.join(', ')
74 } 74 }
75 75
76 ngOnInit () { 76 ngOnInit () {
diff --git a/client/src/sass/bootstrap.scss b/client/src/sass/bootstrap.scss
index 61f9d016b..5e0b16bfa 100644
--- a/client/src/sass/bootstrap.scss
+++ b/client/src/sass/bootstrap.scss
@@ -163,9 +163,21 @@ ngb-tabset.bootstrap {
163 } 163 }
164} 164}
165 165
166.nav-tabs .nav-link.active { 166.nav-tabs .nav-link {
167 background-color: var(--mainBackgroundColor) !important; 167 &:not(.active) {
168 border-bottom: none; 168 opacity: .6;
169 border-bottom: 3px solid transparent;
170 }
171 &.active {
172 background-color: var(--mainBackgroundColor) !important;
173 border: none;
174 border-bottom: 2px solid var(--mainColor);
175 }
176 &:hover {
177 border-top-color: transparent;
178 border-left-color: transparent;
179 border-right-color: transparent;
180 }
169} 181}
170 182
171.card { 183.card {