Update sound button color and typography

This commit is contained in:
Knoch 2017-12-07 10:45:30 +00:00
parent 116ed2adba
commit fe523e6f53

View File

@ -170,37 +170,41 @@ nav .extra > a {
} }
.sound a { .sound a {
background-color: #ff4136; display: flex;
border: 1px solid #000; align-items: center;
border-radius: 50px; justify-content: center;
box-shadow: inset -5px -5px 5px rgba(0, 0, 0, 0.6); height: 100px;
color: #eee;
display: inline-block;
font-size: 0.6em;
height: 100px;
line-height: 100px;
margin: 10px;
overflow: hidden;
text-align: center;
text-shadow: -1px 0 black, 0 1px black, 1px 0 black, 0 -1px black;
width: 100px; width: 100px;
margin: 10px;
padding: .5rem;
background-color: #b02222;
border: 1px solid #000;
border-radius: 50%;
box-shadow: inset -5px -5px 5px rgba(0, 0, 0, .5), inset 5px 5px 5px rgba(255,255,255,.3);
transition: all .1s ease-in-out;
overflow: hidden;
font-weight: bold;
font-size: 14px;
text-shadow: none;
text-align: center;
word-break: break-all;
line-height: 1.5;
color: #eee;
} }
.sound a:hover { .sound a:hover,
background-color: #ff4136; .sound a:active {
background-color: #790d0d;
transform: scale(.98);
box-shadow: inset 5px 5px 5px rgba(0, 0, 0, 0.6); box-shadow: inset 5px 5px 5px rgba(0, 0, 0, 0.6);
cursor: pointer; cursor: pointer;
} }
.sound a:active {
background-color: #ff4136;
box-shadow: inset 5px 5px 5px rgba(0, 0, 0, 0.6);
cursor: pointer;
}
.sound-pressed { .sound-pressed {
background-color: #ff4136 !important; background-color: #ff4136 !important;
box-shadow: inset 5px 5px 5px rgba(0, 0, 0, 0.6) !important; box-shadow: inset 5px 5px 5px rgba(0, 0, 0, 0.6) !important;
} }
.edit { .edit {
@ -210,7 +214,9 @@ nav .extra > a {
} }
.sound.edit a:hover { .sound.edit a:hover {
box-shadow: inset -5px -5px 5px rgba(0, 0, 0, 0.6); box-shadow: inset -5px -5px 5px rgba(0, 0, 0, 0.6), inset 5px 5px 5px rgba(255,255,255,.3);
transform: scale(1);
background-color: #b02222;
} }
.unselectable { .unselectable {