diff options
author | Chocobozzz <florian.bigard@gmail.com> | 2017-12-01 17:38:26 +0100 |
---|---|---|
committer | Chocobozzz <florian.bigard@gmail.com> | 2017-12-01 17:38:26 +0100 |
commit | c30745f342480b59fb0856a059c8c2fbffbcfc6a (patch) | |
tree | 06209d7831131120b097b538c0ed851f8e40a280 /client/src/sass/application.scss | |
parent | 2bbb34127fccd187ed690949b6791e49fdd77194 (diff) | |
download | PeerTube-c30745f342480b59fb0856a059c8c2fbffbcfc6a.tar.gz PeerTube-c30745f342480b59fb0856a059c8c2fbffbcfc6a.tar.zst PeerTube-c30745f342480b59fb0856a059c8c2fbffbcfc6a.zip |
Add account settings new design
Diffstat (limited to 'client/src/sass/application.scss')
-rw-r--r-- | client/src/sass/application.scss | 44 |
1 files changed, 40 insertions, 4 deletions
diff --git a/client/src/sass/application.scss b/client/src/sass/application.scss index fc61a22da..db63db5f5 100644 --- a/client/src/sass/application.scss +++ b/client/src/sass/application.scss | |||
@@ -33,14 +33,50 @@ input.readonly { | |||
33 | } | 33 | } |
34 | 34 | ||
35 | .main-col { | 35 | .main-col { |
36 | padding: 30px; | 36 | margin-left: $menu-width; |
37 | 37 | ||
38 | .title-page { | 38 | .title-page { |
39 | color: #000; | ||
39 | font-size: 16px; | 40 | font-size: 16px; |
40 | font-weight: $font-bold; | ||
41 | display: inline-block; | 41 | display: inline-block; |
42 | border-bottom: 2px solid $orange-color; | 42 | margin-right: 55px; |
43 | margin-bottom: 25px; | 43 | font-weight: $font-semibold; |
44 | @include disable-default-a-behaviour; | ||
45 | |||
46 | &.active, &.title-page-single { | ||
47 | border-bottom: 2px solid $orange-color; | ||
48 | font-weight: $font-bold; | ||
49 | margin-top: 30px; | ||
50 | margin-bottom: 25px; | ||
51 | } | ||
52 | } | ||
53 | |||
54 | .margin-content { | ||
55 | margin-left: 10px; | ||
56 | margin-right: 10px; | ||
57 | } | ||
58 | |||
59 | .sub-menu { | ||
60 | background-color: #F7F7F7; | ||
61 | width: 100%; | ||
62 | height: 81px; | ||
63 | margin-bottom: 30px; | ||
64 | display: flex; | ||
65 | align-items: center; | ||
66 | } | ||
67 | |||
68 | // Override some properties if the main content is expanded (no menu on the left) | ||
69 | &.expanded { | ||
70 | margin-left: 0; | ||
71 | |||
72 | .margin-content { | ||
73 | margin-left: $expanded-horizontal-margins; | ||
74 | margin-right: $expanded-horizontal-margins; | ||
75 | } | ||
76 | |||
77 | .sub-menu { | ||
78 | padding-left: $expanded-horizontal-margins; | ||
79 | } | ||
44 | } | 80 | } |
45 | } | 81 | } |
46 | 82 | ||