aboutsummaryrefslogtreecommitdiffhomepage
path: root/client/src/sass
diff options
context:
space:
mode:
authorChocobozzz <me@florianbigard.com>2022-06-16 16:10:12 +0200
committerChocobozzz <me@florianbigard.com>2022-06-16 16:16:51 +0200
commitc4a051712bc7385967a21895d025962e317c7870 (patch)
tree59017cae7a6bff45216694dc44a65f72e9ad48c2 /client/src/sass
parentef2b5520f963deec43abd0a11881473c45965788 (diff)
downloadPeerTube-c4a051712bc7385967a21895d025962e317c7870.tar.gz
PeerTube-c4a051712bc7385967a21895d025962e317c7870.tar.zst
PeerTube-c4a051712bc7385967a21895d025962e317c7870.zip
Cleanup title-page CSS
Diffstat (limited to 'client/src/sass')
-rw-r--r--client/src/sass/class-helpers.scss45
-rw-r--r--client/src/sass/primeng-custom.scss6
2 files changed, 33 insertions, 18 deletions
diff --git a/client/src/sass/class-helpers.scss b/client/src/sass/class-helpers.scss
index d4277e4cd..4a04cabba 100644
--- a/client/src/sass/class-helpers.scss
+++ b/client/src/sass/class-helpers.scss
@@ -98,7 +98,7 @@ label + .form-group-description {
98// --------------------------------------------------------------------------- 98// ---------------------------------------------------------------------------
99 99
100 100
101.title-page { 101.sub-menu-entry {
102 @include disable-default-a-behaviour; 102 @include disable-default-a-behaviour;
103 @include margin-right(55px); 103 @include margin-right(55px);
104 104
@@ -107,20 +107,13 @@ label + .form-group-description {
107 display: inline-block; 107 display: inline-block;
108 font-weight: $font-semibold; 108 font-weight: $font-semibold;
109 border-bottom: 2px solid transparent; 109 border-bottom: 2px solid transparent;
110 110 white-space: nowrap;
111 &.title-page-single { 111 font-size: 1rem;
112 margin-top: 30px;
113 margin-bottom: 25px;
114 }
115 112
116 &.active { 113 &.active {
117 border-bottom-color: pvar(--mainColor); 114 border-bottom-color: pvar(--mainColor);
118 } 115 }
119 116
120 &.title-page-single {
121 font-size: 125%;
122 }
123
124 &:hover, 117 &:hover,
125 &:active, 118 &:active,
126 &:focus { 119 &:focus {
@@ -130,8 +123,7 @@ label + .form-group-description {
130 &.active, 123 &.active,
131 &:hover, 124 &:hover,
132 &:active, 125 &:active,
133 &:focus, 126 &:focus {
134 &.title-page-single {
135 opacity: 1; 127 opacity: 1;
136 outline: 0 hidden !important; 128 outline: 0 hidden !important;
137 } 129 }
@@ -147,10 +139,31 @@ label + .form-group-description {
147 padding: 35px 25px; 139 padding: 35px 25px;
148} 140}
149 141
150.title-page-about, 142.title-page {
151.title-page-settings { 143 @include margin-right(55px);
152 white-space: nowrap; 144
153 font-size: 1rem; 145 margin-top: 30px;
146 margin-bottom: 25px;
147
148 color: pvar(--mainForegroundColor);
149 display: inline-block;
150 font-weight: $font-semibold;
151 font-size: 1.25rem;
152
153 a {
154 @include disable-default-a-behaviour;
155
156 color: inherit;
157
158 &:hover {
159 color: inherit;
160 opacity: 0.8;
161 }
162 }
163
164 @media screen and (max-width: $mobile-view) {
165 @include margin-left(15px);
166 }
154} 167}
155 168
156.admin-sub-header { 169.admin-sub-header {
diff --git a/client/src/sass/primeng-custom.scss b/client/src/sass/primeng-custom.scss
index 061d626d8..37e7a4275 100644
--- a/client/src/sass/primeng-custom.scss
+++ b/client/src/sass/primeng-custom.scss
@@ -882,15 +882,17 @@ p-toast {
882 padding: 10px 20px; 882 padding: 10px 20px;
883 883
884 .message { 884 .message {
885 flex-grow: 1;
886 @include margin-right(20px); 885 @include margin-right(20px);
887 886
887 flex-grow: 1;
888
888 h3 { 889 h3 {
889 font-size: 21px; 890 font-size: 21px;
890 } 891 }
891 892
892 p { 893 p {
893 font-size: 16px; 894 @include peertube-word-wrap;
895
894 margin-bottom: 0; 896 margin-bottom: 0;
895 } 897 }
896 } 898 }