aboutsummaryrefslogtreecommitdiffhomepage
path: root/client/src/sass
diff options
context:
space:
mode:
authorChocobozzz <me@florianbigard.com>2021-04-14 16:39:37 +0200
committerChocobozzz <me@florianbigard.com>2021-04-14 16:39:37 +0200
commit266947e5efc7ff30b0020beb5a74e4d4fc696fa5 (patch)
tree66c2e0f463e373d971d290d9ff3b07b9528ebf27 /client/src/sass
parent251a82ffbb62c575d7aeb260dff22409dae39d73 (diff)
downloadPeerTube-266947e5efc7ff30b0020beb5a74e4d4fc696fa5.tar.gz
PeerTube-266947e5efc7ff30b0020beb5a74e4d4fc696fa5.tar.zst
PeerTube-266947e5efc7ff30b0020beb5a74e4d4fc696fa5.zip
Refactor modal buttons style
Diffstat (limited to 'client/src/sass')
-rw-r--r--client/src/sass/bootstrap.scss13
-rw-r--r--client/src/sass/include/_mixins.scss3
-rw-r--r--client/src/sass/primeng-custom.scss5
3 files changed, 9 insertions, 12 deletions
diff --git a/client/src/sass/bootstrap.scss b/client/src/sass/bootstrap.scss
index 75dc91d7a..e11603e4d 100644
--- a/client/src/sass/bootstrap.scss
+++ b/client/src/sass/bootstrap.scss
@@ -153,17 +153,8 @@ $icon-font-path: '~@neos21/bootstrap3-glyphicons/assets/fonts/';
153 margin-bottom: 0; 153 margin-bottom: 0;
154 text-align: right; 154 text-align: right;
155 155
156 .action-button-cancel { 156 > .peertube-button:not(:first-child) {
157 @include peertube-button; 157 margin-left: 10px
158 @include tertiary-button;
159
160 display: inline-block;
161 margin-right: 10px;
162 }
163
164 .action-button-submit {
165 @include peertube-button;
166 @include orange-button;
167 } 158 }
168 } 159 }
169} 160}
diff --git a/client/src/sass/include/_mixins.scss b/client/src/sass/include/_mixins.scss
index bf844ac5d..73606f940 100644
--- a/client/src/sass/include/_mixins.scss
+++ b/client/src/sass/include/_mixins.scss
@@ -238,7 +238,8 @@
238 font-size: 15px; 238 font-size: 15px;
239 height: $button-height; 239 height: $button-height;
240 line-height: $button-height; 240 line-height: $button-height;
241 border-radius: 3px; 241 // FIXME: because of primeng that redefines border-radius of all input[type="..."]
242 border-radius: 3px !important;
242 text-align: center; 243 text-align: center;
243 padding: 0 17px 0 13px; 244 padding: 0 17px 0 13px;
244 cursor: pointer; 245 cursor: pointer;
diff --git a/client/src/sass/primeng-custom.scss b/client/src/sass/primeng-custom.scss
index 9c9b5d4fc..544d0039a 100644
--- a/client/src/sass/primeng-custom.scss
+++ b/client/src/sass/primeng-custom.scss
@@ -3,6 +3,11 @@
3 3
4@import '~primeng/resources/primeng.css'; 4@import '~primeng/resources/primeng.css';
5 5
6// Override primeng style we don't want
7input[type="button"] {
8 border-radius: inherit;
9}
10
6// Taken from old nova light theme 11// Taken from old nova light theme
7 12
8body .p-disabled { 13body .p-disabled {