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

122 lines
2.6 KiB
CSS
Raw Normal View History

button {
cursor: pointer !important;
float: right !important;
align-self: end !important
}
input {
cursor: text !important
}
button,
input {
all: unset;
padding: 5px 10px
}
button,
select,
input:not([type=text]) {
cursor: pointer !important
}
input:not([type=button],
[type=color],
[type=checkbox],
[type=radio]) {
cursor: auto !important
}
*|*::-moz-button-content {
all: unset
}
input[type=checkbox] {
display: inline-flex;
width: 1em;
height: 1em
}
input[type=radio] {
all: unset;
cursor: pointer !important;
display: inline-block;
width: 1em;
height: 1em;
border-radius: 50%;
margin: 3px 3px 0 5px
}
input[type=file] {
all: unset;
display: block;
width: 100%;
border-radius: 0.6rem !important
}
input+label {
all: unset;
align-self: center
}
::file-selector-button {
cursor: pointer;
background-color: unset;
border: unset;
margin: 3px
}
label,
button {
font-family: 'Poppins', sans-serif;
font-weight: bold !important
}
select,
button,
textarea,
input {
display: inline-block;
overflow: hidden;
font-size: inherit !important;
padding: 6px 8px;
border-radius: 0.6rem
}
button {
padding: 4px 12px;
margin-left: auto
}
select {
-webkit-appearance: none !important;
-moz-appearance: none !important;
background-repeat: no-repeat;
background-size: 16px;
background-position: center right 5px;
border-radius: 0.6rem
}
input[type=radio] {
border: solid 0.25em !important
}
input[type=checkbox] {
all: unset;
display: inline-block;
width: 1.3rem;
height: 1.3rem;
vertical-align: middle;
background-size: cover;
margin-right: 2px;
-webkit-mask-image: url("../../icons/check-off.svg") !important;
-o-mask-image: url("../../icons/check-off.svg") !important;
-moz-mask-image: url("../../icons/check-off.svg") !important;
mask-image: url("../../icons/check-off.svg") !important
}
input[type=color] {
border: unset;
padding: 2px;
width: 100%;
height: 3rem
}
input[type=checkbox]:checked {
-webkit-mask-image: url("../../icons/check-on.svg") !important;
-o-mask-image: url("../../icons/check-on.svg") !important;
-moz-mask-image: url("../../icons/check-on.svg") !important;
mask-image: url("../../icons/check-on.svg") !important
}
input[type=file] {
font-family: 'Open Sans', sans-serif !important;
font-weight: normal !important;
padding: unset !important;
border-radius: 0.6rem
}
::file-selector-button {
font-family: 'Open Sans', sans-serif !important;
font-weight: bold !important
}