mirror of
https://github.com/naturalcrit/homebrewery.git
synced 2026-11-04 22:38:43 +00:00
Merge pull request #5130 from naturalcrit/add-styles-to-vault
make vault use similar styles to metadata editor
This commit is contained in:
@@ -1,9 +1,20 @@
|
|||||||
|
@import '@themes/assets/assets.less';
|
||||||
@import '@sharedStyles/core.less';
|
@import '@sharedStyles/core.less';
|
||||||
|
|
||||||
.vaultPage {
|
.vaultPage {
|
||||||
height : 100%;
|
height : 100%;
|
||||||
overflow-y : hidden;
|
overflow-y : hidden;
|
||||||
|
|
||||||
|
--bg-clr : white;
|
||||||
|
--bg-image : @backgroundImageAlt;
|
||||||
|
--h1-clr : black;
|
||||||
|
--h2-clr : #000077;
|
||||||
|
--label-clr : black;
|
||||||
|
--input-bg : white;
|
||||||
|
--input-bg-hover : #DDDDDD;
|
||||||
|
--input-text-clr : black;
|
||||||
|
--input-placeholder-clr : grey;
|
||||||
|
|
||||||
*:not(input) { user-select : none; }
|
*:not(input) { user-select : none; }
|
||||||
|
|
||||||
.form { background : white; }
|
.form { background : white; }
|
||||||
@@ -13,8 +24,15 @@
|
|||||||
height : 100%;
|
height : 100%;
|
||||||
|
|
||||||
&.form .brewLookup {
|
&.form .brewLookup {
|
||||||
|
color : var(--label-clr);
|
||||||
|
background-color : var(--bg-clr);
|
||||||
|
background-image : var(--bg-image);
|
||||||
|
background-size : cover;
|
||||||
|
height:100%;
|
||||||
|
|
||||||
position : relative;
|
position : relative;
|
||||||
padding : 50px clamp(20px, 4vw, 50px);
|
padding : 50px clamp(20px, 4vw, 50px);
|
||||||
|
|
||||||
|
|
||||||
small {
|
small {
|
||||||
font-size : 10pt;
|
font-size : 10pt;
|
||||||
@@ -33,6 +51,7 @@
|
|||||||
h1, h2, h3, h4 {
|
h1, h2, h3, h4 {
|
||||||
font-family : 'CodeBold';
|
font-family : 'CodeBold';
|
||||||
letter-spacing : 2px;
|
letter-spacing : 2px;
|
||||||
|
color : var(--h1-clr);
|
||||||
}
|
}
|
||||||
|
|
||||||
legend {
|
legend {
|
||||||
@@ -87,14 +106,14 @@
|
|||||||
align-items : center;
|
align-items : center;
|
||||||
margin : 10px 0;
|
margin : 10px 0;
|
||||||
}
|
}
|
||||||
select { margin : 0 10px; }
|
input[type='text'], textarea, select {
|
||||||
|
|
||||||
input {
|
|
||||||
margin : 0 10px;
|
margin : 0 10px;
|
||||||
|
color : var(--input-text-clr);
|
||||||
&:invalid { background : rgb(255, 188, 181); }
|
background-color : var(--input-bg);
|
||||||
|
border : 1px solid var(--input-placeholder-clr);
|
||||||
|
&:hover, :focus { outline : 1px solid var(--input-placeholder-clr); background-color : var(--input-bg-hover); }
|
||||||
|
&::placeholder { color : var(--input-placeholder-clr); }
|
||||||
|
&:invalid { background : #ffbcb5; }
|
||||||
}
|
}
|
||||||
|
|
||||||
#searchButton {
|
#searchButton {
|
||||||
|
|||||||
Reference in New Issue
Block a user