1
0
Fork 0
mirror of https://github.com/muerwre/vault-frontend.git synced 2025-04-25 21:06:42 +07:00

fixed commentform buttons

This commit is contained in:
Fedor Katurov 2019-10-12 19:21:38 +07:00
parent 2673722af7
commit fada25ee10
8 changed files with 97 additions and 23 deletions

View file

@ -27,10 +27,12 @@
stroke: white;
user-select: none;
display: inline-flex;
display: flex;
align-items: center;
justify-content: center;
position: relative;
filter: grayscale(0);
transition: opacity 0.25s, filter 0.25s, box-shadow 0.25s;
@ -38,6 +40,22 @@
@include outer_shadow();
input {
color: red;
position: absolute;
top: 0;
left: 0;
width: 100%;
height: 100%;
bottom: 0;
opacity: 0;
}
svg {
fill: white;
stroke: white;
}
span {
flex: 1;
}
@ -89,14 +107,22 @@
&:global(.disabled),
&:global(.grey) {
opacity: 0.3;
background: lighten(black, 2%);
background: transparentize(white, 0.9);
// background: lighten(white, 0.5);
// filter: grayscale(100%);
}
&:global(.disabled) {
opacity: 0.3;
}
&:global(.icon) {
padding-left: 10px;
padding-right: 10px;
svg {
margin: 0;
}
}
&:global(.is_loading) {
@ -138,6 +164,15 @@
height: 28px;
border-radius: $radius / 2;
}
.small {
height: 32px;
// border-radius: $radius / 2;
svg {
width: 24px;
height: 24px;
}
}
.normal {
height: 38px;
}