mirror of
https://github.com/piskelapp/piskel.git
synced 2023-08-10 21:12:52 +03:00
simplify buttons styling
This commit is contained in:
parent
fbaccb03f2
commit
2f62be4927
@ -29,17 +29,13 @@
|
||||
.button {
|
||||
box-sizing: border-box;
|
||||
height: 24px;
|
||||
|
||||
background-color: #3f3f3f;
|
||||
border: 1px solid #333;
|
||||
border-top-color: #666;
|
||||
border-bottom-color: #222;
|
||||
|
||||
background-color: #666;
|
||||
border-style: none;
|
||||
border-radius: 2px;
|
||||
cursor: pointer;
|
||||
text-decoration: none;
|
||||
|
||||
color: white;
|
||||
text-shadow: 0 -1px 0 black;
|
||||
font-weight: bold;
|
||||
font-size: 1rem;
|
||||
text-align: center;
|
||||
@ -48,25 +44,17 @@
|
||||
}
|
||||
|
||||
.button:hover {
|
||||
text-decoration: none;
|
||||
background-color: #484848;
|
||||
color: var(--highlight-color);
|
||||
}
|
||||
|
||||
.button-primary {
|
||||
background-color: var(--highlight-color);
|
||||
|
||||
border-color: rgb(179, 164, 0);
|
||||
border-top-color: white;
|
||||
border-bottom-color: rgb(151, 133, 0);
|
||||
|
||||
color: black;
|
||||
text-shadow: 0 1px 0 #fff;
|
||||
}
|
||||
|
||||
.button-primary:hover {
|
||||
background-color: rgb(255,235,20);
|
||||
color: #333;
|
||||
background-color: white;
|
||||
color: black;
|
||||
}
|
||||
|
||||
.button[disabled],
|
||||
@ -74,10 +62,6 @@
|
||||
cursor:default;
|
||||
background-color: #aaa;
|
||||
color: #777;
|
||||
text-shadow: 0 1px 0 #bbb;
|
||||
border-color: #666;
|
||||
border-top-color: #999;
|
||||
border-bottom-color: #555;
|
||||
}
|
||||
|
||||
.import-size-field,
|
||||
|
@ -26,7 +26,17 @@
|
||||
|
||||
.toolbox-buttons .button {
|
||||
/* Override border propery on .button elements from form.css */
|
||||
border-style: solid;
|
||||
border-color: #333;
|
||||
border-width: 0 1px 0 0;
|
||||
border-radius: 0;
|
||||
|
||||
background-color: #3f3f3f;
|
||||
}
|
||||
|
||||
.toolbox-buttons .button[disabled],
|
||||
.toolbox-buttons .button[disabled]:hover {
|
||||
background-color: #aaa;
|
||||
}
|
||||
|
||||
.toolbox-buttons button:last-child {
|
||||
|
Loading…
Reference in New Issue
Block a user