mirror of
https://github.com/naturalcrit/homebrewery.git
synced 2026-01-31 10:48:12 +00:00
add color-selector component and colorings
This commit is contained in:
@@ -3,6 +3,7 @@
|
||||
@import (less) 'codemirror/addon/search/matchesonscrollbar.css';
|
||||
@import (less) 'codemirror/addon/dialog/dialog.css';
|
||||
@import (less) 'codemirror/addon/hint/show-hint.css';
|
||||
@import 'naturalcrit/styles/colors.less';
|
||||
|
||||
@keyframes sourceMoveAnimation {
|
||||
50% {background-color: red; color: white;}
|
||||
@@ -52,4 +53,30 @@
|
||||
max-width: 10vw;
|
||||
}
|
||||
}
|
||||
|
||||
.widget-field {
|
||||
border: 2px solid #ddd;
|
||||
|
||||
&.default {
|
||||
background-color: @purple;
|
||||
border: 2px solid @purple;
|
||||
color: white;
|
||||
|
||||
>input {
|
||||
background-color: @purple;
|
||||
color: white;
|
||||
}
|
||||
}
|
||||
|
||||
&.suggested {
|
||||
background-color: #ddd;
|
||||
border: 2px dashed grey;
|
||||
color: grey;
|
||||
|
||||
>input {
|
||||
background-color: #ddd;
|
||||
color: black;
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user