cartodb-4.42/assets/stylesheets/deep-insights/widgets/_form-elements.scss

44 lines
832 B
SCSS
Raw Normal View History

2024-04-06 13:25:13 +08:00
// Default styles for form elements within widget
// --------------------------------------------------
.CDB-Widget-form {
height: $baseSize * 3;
}
.CDB-Widget-textInput {
border: none;
outline: none;
}
.CDB-Widget-textInput::-webkit-input-placeholder {
font-weight: 400;
}
.CDB-Widget-textInput::-moz-input-placeholder {
font-weight: 400;
}
.CDB-Widget-textInput::-ms-input-placeholder {
font-weight: 400;
}
.CDB-Widget-checkbox {
display: inline;
width: $baseSize;
min-width: $baseSize;
max-width: $baseSize;
height: $baseSize;
margin-top: $baseSize / 4;
border: 1px solid transparent;
border-radius: $baseSize / 4;
vertical-align: top;
}
.CDB-Widget-checkbox.is-checked {
width: $baseSize + 2;
min-width: $baseSize + 2;
max-width: $baseSize + 2;
height: $baseSize + 2;
border: 0;
}