mirror of
https://github.com/Karaka-Management/cssOMS.git
synced 2026-01-11 19:18:40 +00:00
75 lines
1.4 KiB
SCSS
Executable File
75 lines
1.4 KiB
SCSS
Executable File
.btn {
|
|
cursor: pointer;
|
|
user-select: none;
|
|
}
|
|
|
|
button, input[type="submit"], input[type="button"], label.button, a.button {
|
|
cursor: pointer;
|
|
display: inline-flex;
|
|
min-width: 70px;
|
|
background: var(--button-colored-background);
|
|
color: var(--text-on-background-color-2);
|
|
margin: 0;
|
|
padding: 0 1rem 0 1rem;
|
|
flex-grow: 0;
|
|
height: 32px;
|
|
//border: none;
|
|
border: 1px solid var(--box-border);
|
|
box-shadow: none;
|
|
justify-content: center;
|
|
align-items: center;
|
|
outline: 0;
|
|
font-family: inherit;
|
|
font-size: .9rem;
|
|
user-select: none;
|
|
font-weight: 100;
|
|
|
|
&::-moz-focus-inner {
|
|
border: 0;
|
|
}
|
|
|
|
&:hover, &:focus {
|
|
background: var(--button-colored-background-hover);
|
|
}
|
|
|
|
i {
|
|
margin: 0 .5rem 0 0;
|
|
}
|
|
}
|
|
|
|
button.save, .button.save {
|
|
color: rgba(0, 0, 0, 0.75);
|
|
background: #8fff79;
|
|
|
|
&:hover, &:focus {
|
|
background: #a1ffa1;
|
|
}
|
|
}
|
|
|
|
button.cancel, .button.cancel {
|
|
background: #ee5649;
|
|
|
|
&:hover, &:focus {
|
|
background: #ff7d79;
|
|
}
|
|
}
|
|
|
|
button.close, .button.close {
|
|
color: rgba(0, 0, 0, 0.75);
|
|
background: #fffc3e;
|
|
|
|
&:hover, &:focus {
|
|
background: #fffd7b;
|
|
}
|
|
}
|
|
|
|
button.disabled, .button.disabled {
|
|
color: rgba(0, 0, 0, 0.5);
|
|
background: #e1e1e1;
|
|
cursor: not-allowed;
|
|
|
|
&:hover, &:focus {
|
|
background: #e1e1e1;
|
|
}
|
|
}
|