aboutsummaryrefslogtreecommitdiffhomepage
path: root/client/src/sass/include
diff options
context:
space:
mode:
authorRigel Kent <sendmemail@rigelk.eu>2020-03-06 16:58:55 +0100
committerRigel Kent <sendmemail@rigelk.eu>2020-03-06 16:58:55 +0100
commit54e7884775197877dd941b44bef03b3c6387b22a (patch)
tree6a37e8e5476c382b84b77327597e209a9afb64e3 /client/src/sass/include
parentde702865f47f647fafb34ca05dde3ea780a4ecb1 (diff)
downloadPeerTube-54e7884775197877dd941b44bef03b3c6387b22a.tar.gz
PeerTube-54e7884775197877dd941b44bef03b3c6387b22a.tar.zst
PeerTube-54e7884775197877dd941b44bef03b3c6387b22a.zip
Normalize modal close buttons, and cancel/submit button styles
Diffstat (limited to 'client/src/sass/include')
-rw-r--r--client/src/sass/include/_mixins.scss13
1 files changed, 13 insertions, 0 deletions
diff --git a/client/src/sass/include/_mixins.scss b/client/src/sass/include/_mixins.scss
index de9c9d6d6..9a8d0073a 100644
--- a/client/src/sass/include/_mixins.scss
+++ b/client/src/sass/include/_mixins.scss
@@ -150,6 +150,19 @@
150 } 150 }
151} 151}
152 152
153@mixin tertiary-button {
154 color: $grey-foreground-color;
155 background-color: transparent;
156
157 &[disabled], &.disabled {
158 cursor: default;
159 }
160
161 my-global-icon {
162 @include apply-svg-color(transparent)
163 }
164}
165
153@mixin grey-button { 166@mixin grey-button {
154 &, &:active, &:focus { 167 &, &:active, &:focus {
155 background-color: $grey-background-color; 168 background-color: $grey-background-color;