mirror of
https://github.com/naturalcrit/homebrewery.git
synced 2025-12-27 09:22:44 +00:00
modify the interactive states
more closely match the properties editor behavior. removed some unnecessary (unused) properties. Outline only appears when element is focused (rather than on hover as well).
This commit is contained in:
@@ -64,7 +64,7 @@
|
||||
width: auto;
|
||||
box-sizing: content-box;
|
||||
|
||||
&:hover,&:focus-within { background-color : #444444; }
|
||||
&:hover { background-color : #444444; }
|
||||
|
||||
button {
|
||||
font-family : 'Open Sans', sans-serif;
|
||||
@@ -78,11 +78,8 @@
|
||||
min-width : 46px;
|
||||
padding : 0 8px;
|
||||
|
||||
&:focus-within {
|
||||
height : 100%;
|
||||
font-weight : 800;
|
||||
color : white;
|
||||
}
|
||||
|
||||
&:focus { outline : 1px solid #d3d3d3; }
|
||||
|
||||
&:disabled {
|
||||
color : #777777;
|
||||
|
||||
Reference in New Issue
Block a user