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 {
|
.button {
|
||||||
box-sizing: border-box;
|
box-sizing: border-box;
|
||||||
height: 24px;
|
height: 24px;
|
||||||
|
background-color: #666;
|
||||||
background-color: #3f3f3f;
|
border-style: none;
|
||||||
border: 1px solid #333;
|
border-radius: 2px;
|
||||||
border-top-color: #666;
|
|
||||||
border-bottom-color: #222;
|
|
||||||
|
|
||||||
cursor: pointer;
|
cursor: pointer;
|
||||||
text-decoration: none;
|
text-decoration: none;
|
||||||
|
|
||||||
color: white;
|
color: white;
|
||||||
text-shadow: 0 -1px 0 black;
|
|
||||||
font-weight: bold;
|
font-weight: bold;
|
||||||
font-size: 1rem;
|
font-size: 1rem;
|
||||||
text-align: center;
|
text-align: center;
|
||||||
|
@ -48,25 +44,17 @@
|
||||||
}
|
}
|
||||||
|
|
||||||
.button:hover {
|
.button:hover {
|
||||||
text-decoration: none;
|
|
||||||
background-color: #484848;
|
|
||||||
color: var(--highlight-color);
|
color: var(--highlight-color);
|
||||||
}
|
}
|
||||||
|
|
||||||
.button-primary {
|
.button-primary {
|
||||||
background-color: var(--highlight-color);
|
background-color: var(--highlight-color);
|
||||||
|
|
||||||
border-color: rgb(179, 164, 0);
|
|
||||||
border-top-color: white;
|
|
||||||
border-bottom-color: rgb(151, 133, 0);
|
|
||||||
|
|
||||||
color: black;
|
color: black;
|
||||||
text-shadow: 0 1px 0 #fff;
|
|
||||||
}
|
}
|
||||||
|
|
||||||
.button-primary:hover {
|
.button-primary:hover {
|
||||||
background-color: rgb(255,235,20);
|
background-color: white;
|
||||||
color: #333;
|
color: black;
|
||||||
}
|
}
|
||||||
|
|
||||||
.button[disabled],
|
.button[disabled],
|
||||||
|
@ -74,10 +62,6 @@
|
||||||
cursor:default;
|
cursor:default;
|
||||||
background-color: #aaa;
|
background-color: #aaa;
|
||||||
color: #777;
|
color: #777;
|
||||||
text-shadow: 0 1px 0 #bbb;
|
|
||||||
border-color: #666;
|
|
||||||
border-top-color: #999;
|
|
||||||
border-bottom-color: #555;
|
|
||||||
}
|
}
|
||||||
|
|
||||||
.import-size-field,
|
.import-size-field,
|
||||||
|
|
|
@ -26,7 +26,17 @@
|
||||||
|
|
||||||
.toolbox-buttons .button {
|
.toolbox-buttons .button {
|
||||||
/* Override border propery on .button elements from form.css */
|
/* Override border propery on .button elements from form.css */
|
||||||
|
border-style: solid;
|
||||||
|
border-color: #333;
|
||||||
border-width: 0 1px 0 0;
|
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 {
|
.toolbox-buttons button:last-child {
|
||||||
|
|
Loading…
Reference in New Issue
Block a user