Spaces:
Runtime error
Runtime error
File size: 1,348 Bytes
8fd7a1d |
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 |
@import "../../css/colors.css";
@import "../../css/units.css";
@import "../../css/z-index.css";
@import "../../css/default-colors.css";
/*
If project-title-input.jsx is part of a menu bar say menu-bar.jsx, it can have additional css classes that
can set a width for example or what it should do in a flex box (eg. grow).
*/
.title-field {
border: 1px dashed $ui-black-transparent;
border-radius: $form-radius;
-webkit-border-radius: $form-radius;
-moz-border-radius: $form-radius;
background-color: $ui-transparent;
background-clip: padding-box;
-webkit-background-clip: padding-box;
height: auto;
padding: .5rem;
}
.title-field {
color: $menu-bar-foreground;
font-weight: bold;
font-size: .8rem;
}
.title-field::placeholder {
color: $menu-bar-foreground;
opacity: 0.8;
font-weight: normal;
font-size: .8rem;
font-style: italic;
}
.title-field:hover {
background-color: $project-title-hover;
border-color: $ui-black-transparent; /* dont use hover border from custom input */
}
.title-field:focus {
outline:none;
border: 1px solid $ui-transparent;
-webkit-box-shadow: 0 0 0 calc($space * .5) $ui-white-transparent-default;
box-shadow: 0 0 0 calc($space * .5) $ui-white-transparent-default;
background-color: $ui-white;
color: $text-primary;
}
|