🎨 New vector icon buttons

This commit is contained in:
liyasthomas
2019-09-02 07:58:03 +05:30
parent 928545e7eb
commit aa1d3c6943
3 changed files with 52 additions and 15 deletions

View File

@@ -78,6 +78,9 @@ body.sticky-footer footer {
}
button {
display: inline-flex;
align-items: center;
justify-content: center;
margin: 4px;
padding: 8px 16px;
border-radius: 4px;
@@ -88,6 +91,16 @@ button {
cursor: pointer;
transition: all 0.2s ease-in-out;
&.icon {
background-color: var(--bg-color);
color: var(--ac-color);
fill: var(--ac-color);
span {
margin-left: 8px;
}
}
&:not([disabled]):hover,
&:not(.disabled):focus {
background-color: transparent;
@@ -231,6 +244,11 @@ input[type="checkbox"] {
background-color: var(--err-color);
color: #b2b2b2;
cursor: default;
&.icon {
color: #b2b2b2;
fill: #b2b2b2;
}
}
label {
@@ -258,6 +276,10 @@ ol li {
align-items: center;
}
.show-on-small-screen {
display: flex;
}
@media (max-width: $responsiveWidth) {
header div {
display: flex;
@@ -283,6 +305,10 @@ ol li {
.hide-on-small-screen {
display: none;
}
.show-on-small-screen {
display: inline-flex;
}
}
#installPWA {