Change styling of account note editing buttons

Co-Authored-By: Mélanie Chauvel (ariasuni) <perso@hack-libre.org>
This commit is contained in:
Thibaut Girka
2020-07-07 19:26:08 +02:00
committed by ThibG
parent 54e62f8500
commit 0fe5deae89
2 changed files with 27 additions and 8 deletions

View File

@@ -742,8 +742,31 @@
justify-content: flex-end;
flex: 1 0;
.icon-button {
font-size: 14px;
padding: 2px 6px;
color: $darker-text-color;
&:hover,
&:active,
&:focus {
color: lighten($darker-text-color, 7%);
background-color: rgba($darker-text-color, 0.15);
}
&:focus {
background-color: rgba($darker-text-color, 0.3);
}
&[disabled] {
color: darken($darker-text-color, 13%);
background-color: transparent;
cursor: default;
}
}
.flex-spacer {
flex: 0 0 15px;
flex: 0 0 5px;
background: transparent;
}
}
@@ -754,10 +777,6 @@
text-transform: uppercase;
}
button:hover span {
text-decoration: underline;
}
textarea {
display: block;
box-sizing: border-box;