hippie/elements/_interactive.scss

146 lines
1.4 KiB
SCSS
Raw Normal View History

// Form basics
// -----------------------------------------------------------------------------
form {
}
fieldset {
margin: $high_margin;
2017-08-22 16:50:09 +02:00
padding: $basic_space;
border: $basic_border;
}
legend {
@extend %basic;
padding: 0 $half_space;
}
// Common
// -----------------------------------------------------------------------------
2017-01-12 21:00:04 +01:00
label {
@extend %basic;
2017-08-22 16:50:09 +02:00
& + input {
margin-left: $basic_space;
}
2017-08-22 16:50:09 +02:00
input + & {
margin-left: $basic_space;
}
input {
margin-left: $basic_space;
}
}
input {
2017-01-12 21:00:04 +01:00
}
.label__table {
display: table;
input {
display: table-cell;
}
}
.input_default {
label {
@extend .label__table;
margin: $half_space 0;
input {
padding: $half_space ($half_space + 1);
border-style: solid;
border-color: transparent;
background-color: $basic_io_back_color;
color: $basic_io_font_color;
&:hover {
background-color: $darkest_color;
color: $brightest_color;
}
}
}
}
// More
// -----------------------------------------------------------------------------
button {
}
select {
}
datalist {
}
optgroup {
}
option {
}
textarea {
}
output {
}
progress {
}
meter {
}
// Interactive elements
// -----------------------------------------------------------------------------
details {
}
summary {
}
menu {
}
menuitem {
}
dialog {
}
// Canvas
// -----------------------------------------------------------------------------
canvas {
2017-08-22 16:50:09 +02:00
}