mirror of
https://github.com/naturalcrit/homebrewery.git
synced 2025-12-26 03:02:40 +00:00
Change toolbar spacing
replace column-/row-gap with a single gap at 5px. Padding on each child element will provide the space. Set a height on toolbar, so child elements can be set to 100% height to improve bg color change on hover.
This commit is contained in:
@@ -3,12 +3,13 @@
|
||||
z-index : 1;
|
||||
display : flex;
|
||||
flex-wrap : wrap;
|
||||
row-gap : 5px;
|
||||
column-gap : 15px;
|
||||
gap : 5px;
|
||||
align-items : center;
|
||||
justify-content : center;
|
||||
box-sizing : border-box;
|
||||
width : 100%;
|
||||
padding: 2px 0;
|
||||
height : 29px;
|
||||
padding : 2px 0;
|
||||
font-family : 'Open Sans', sans-serif;
|
||||
color : white;
|
||||
background-color : #555555;
|
||||
@@ -57,21 +58,23 @@
|
||||
.tool {
|
||||
display : flex;
|
||||
align-items : center;
|
||||
height : 100%;
|
||||
padding : 0 8px;
|
||||
color : #CCCCCC;
|
||||
padding : 0;
|
||||
height: 100%;
|
||||
box-sizing: content-box;
|
||||
|
||||
&:hover,&:focus-within { background-color : #444444; }
|
||||
|
||||
button {
|
||||
width : 70px;
|
||||
padding : 0;
|
||||
font-family : 'Open Sans', sans-serif;
|
||||
font-size : 11px;
|
||||
font-weight : normal;
|
||||
color : #CCCCCC;
|
||||
text-transform : uppercase;
|
||||
background-color : transparent;
|
||||
height : 100%;
|
||||
padding : 0 8px;
|
||||
|
||||
&:focus-within {
|
||||
height : 100%;
|
||||
|
||||
Reference in New Issue
Block a user