gnu-social/public/assets/default_theme/widgets/buttons.css

125 lines
2.3 KiB
CSS
Raw Normal View History

label {
font-weight: 900;
}
input + label {
margin-left: 3px;
}
input[type=file] {
all: unset;
background: var(--gradient) !important;
border-radius: var(--s);
display: block;
font-family: 'Open Sans', sans-serif !important;
font-weight: 400 !important;
padding: unset !important;
}
::file-selector-button {
background-color: unset;
border: unset;
color: var(--foreground);
cursor: pointer;
fill: var(--foreground);
font-family: 'Open Sans', sans-serif !important;
font-weight: 900 !important;
margin: 3px;
}
*|::-moz-button-content {
all: unset !important;
}
button {
cursor: pointer !important;
display: block !important;
margin-left: auto !important;
margin-top: var(--s);
}
.alert button {
border-color: #ff6347 !important;
cursor: pointer !important;
margin-top: unset !important;
}
button, label {
color: currentColor;
}
button {
font-family: 'Poppins', sans-serif;
font-weight: 900 !important;
}
select::-ms-expand {
display: none;
}
button, input, select, textarea {
font-size: inherit;
border: 1px solid var(--border) !important;
border-radius: var(--s);
max-width: border-box;
overflow: hidden;
padding: 6px 8px;
width: auto;
}
button, select, textarea {
background: var(--gradient) !important;
}
button, input {
background: var(--gradient) !important;
}
input[type=radio],
input[type=checkbox] {
background: initial;
}
select {
background-repeat: no-repeat;
border-radius: var(--s);
cursor: pointer;
max-width: 100%;
2021-10-29 18:14:39 +01:00
}
2021-11-29 17:50:30 +00:00
select[multiple] {
height: 20rem;
overflow-y: scroll;
}
button:focus, button:hover, input:focus, input:hover, select:focus, select:hover, textarea:focus, textarea:hover {
box-shadow: var(--shadow-inset-accent);
}
input[type=color] {
appearance: none;
background-color: transparent;
border: none;
cursor: pointer;
height: var(--xxl);
width: var(--xxl);
}
input[type=color]::-webkit-color-swatch {
border: none;
border-radius: var(--s);
}
input[type=color]::-moz-color-swatch {
border: none;
border-radius: var(--s);
}
input[type=checkbox]:focus,
input[type=checkbox]:hover {
outline: 2px solid var(--accent);
}
input[type=checkbox]
{
accent-color: var(--accent);
}