2019-04-06 15:07:11 -04:00
|
|
|
button,
|
|
|
|
|
input[type='submit'],
|
|
|
|
|
input[type='button'],
|
|
|
|
|
input[type='checkbox'] {
|
|
|
|
|
cursor: pointer;
|
|
|
|
|
}
|
|
|
|
|
|
2019-04-11 14:22:01 -04:00
|
|
|
input:not([type='checkbox']):not([type='radio']),
|
|
|
|
|
select {
|
2019-04-06 15:07:11 -04:00
|
|
|
display: block;
|
|
|
|
|
}
|
|
|
|
|
|
2019-05-27 23:22:49 +02:00
|
|
|
input,
|
|
|
|
|
select,
|
|
|
|
|
button,
|
|
|
|
|
textarea {
|
2019-05-06 00:26:54 +02:00
|
|
|
color: var(--form-text);
|
2019-05-27 23:22:49 +02:00
|
|
|
background-color: var(--background);
|
2019-04-06 15:07:11 -04:00
|
|
|
|
|
|
|
|
font-family: inherit;
|
|
|
|
|
font-size: inherit;
|
|
|
|
|
|
|
|
|
|
margin-right: 6px;
|
|
|
|
|
margin-bottom: 6px;
|
|
|
|
|
padding: 10px;
|
|
|
|
|
|
|
|
|
|
border: none;
|
|
|
|
|
border-radius: 6px;
|
|
|
|
|
outline: none;
|
|
|
|
|
}
|
|
|
|
|
|
2019-04-11 14:22:01 -04:00
|
|
|
input:not([type='checkbox']):not([type='radio']),
|
2019-05-27 23:22:49 +02:00
|
|
|
select,
|
|
|
|
|
button,
|
|
|
|
|
textarea {
|
2019-04-06 15:07:11 -04:00
|
|
|
-webkit-appearance: none;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
textarea {
|
|
|
|
|
margin-right: 0;
|
|
|
|
|
width: 100%;
|
|
|
|
|
box-sizing: border-box;
|
|
|
|
|
resize: vertical;
|
|
|
|
|
}
|
|
|
|
|
|
2019-04-20 18:53:41 +02:00
|
|
|
select {
|
2019-05-09 18:20:50 +02:00
|
|
|
background: var(--background) var(--down-arrow-path) calc(100% - 12px) 50% / 12px no-repeat;
|
2019-04-20 18:53:41 +02:00
|
|
|
padding-right: 35px;
|
|
|
|
|
}
|
|
|
|
|
|
2019-05-27 23:22:49 +02:00
|
|
|
button,
|
|
|
|
|
input[type='submit'],
|
|
|
|
|
input[type='button'] {
|
2019-04-06 15:07:11 -04:00
|
|
|
padding-right: 30px;
|
|
|
|
|
padding-left: 30px;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
button:hover,
|
|
|
|
|
input[type='submit']:hover,
|
|
|
|
|
input[type='button']:hover {
|
2019-05-06 00:26:54 +02:00
|
|
|
background: var(--button-hover);
|
2019-04-06 15:07:11 -04:00
|
|
|
}
|
|
|
|
|
|
|
|
|
|
input:focus,
|
|
|
|
|
select:focus,
|
|
|
|
|
button:focus,
|
|
|
|
|
textarea:focus {
|
2019-05-06 00:26:54 +02:00
|
|
|
box-shadow: 0 0 0 2px var(--focus);
|
2019-04-06 15:07:11 -04:00
|
|
|
}
|
|
|
|
|
|
|
|
|
|
input[type='checkbox']:active,
|
2019-04-11 14:22:01 -04:00
|
|
|
input[type='radio']:active,
|
2019-04-06 15:07:11 -04:00
|
|
|
input[type='submit']:active,
|
|
|
|
|
input[type='button']:active,
|
|
|
|
|
button:active {
|
|
|
|
|
transform: translateY(2px);
|
|
|
|
|
}
|
|
|
|
|
|
2019-04-10 14:50:35 +09:00
|
|
|
input:disabled,
|
|
|
|
|
select:disabled,
|
|
|
|
|
button:disabled,
|
|
|
|
|
textarea:disabled {
|
2019-04-06 15:07:11 -04:00
|
|
|
cursor: not-allowed;
|
2019-05-27 23:22:49 +02:00
|
|
|
opacity: 0.5;
|
2019-04-06 15:07:11 -04:00
|
|
|
}
|
|
|
|
|
|
|
|
|
|
::placeholder {
|
2019-05-06 00:26:54 +02:00
|
|
|
color: var(--form-placeholder);
|
2019-05-27 23:22:49 +02:00
|
|
|
}
|