forked from server/soundboard
254 lines
3.6 KiB
CSS
254 lines
3.6 KiB
CSS
html,
|
|
body {
|
|
margin: 0;
|
|
}
|
|
|
|
html {
|
|
font-family: Helvetica, "Open Sans", sans-serif;
|
|
}
|
|
|
|
body {
|
|
background-color: #333;
|
|
color: #eee;
|
|
}
|
|
|
|
a {
|
|
text-decoration: none;
|
|
}
|
|
|
|
h1 {
|
|
text-align: center;
|
|
}
|
|
|
|
form {
|
|
padding: 5px;
|
|
}
|
|
|
|
input,
|
|
button {
|
|
background-color: #666;
|
|
border: 1px solid #999;
|
|
border-radius: 5px;
|
|
color: #eee;
|
|
margin: 0;
|
|
padding: 5px;
|
|
vertical-align: middle;
|
|
}
|
|
|
|
button {
|
|
margin: 5px;
|
|
}
|
|
|
|
button:hover {
|
|
background-color: #999;
|
|
border: 1px solid #666;
|
|
}
|
|
|
|
button:active {
|
|
background-color: #999;
|
|
border: 1px solid #666;
|
|
color: #000;
|
|
}
|
|
|
|
.editform {
|
|
display: table;
|
|
margin-left: auto;
|
|
margin-right: auto;
|
|
}
|
|
|
|
.editform input {
|
|
margin: 5px;
|
|
}
|
|
|
|
.editform input[type="text"] {
|
|
display: block;
|
|
}
|
|
|
|
.editform input[type="checkbox"] {
|
|
display: block;
|
|
float: left;
|
|
height: 15px;
|
|
margin: 5px;
|
|
width: 15px;
|
|
}
|
|
|
|
.editform .tags li {
|
|
clear: left;
|
|
display: block;
|
|
line-height: 20px;
|
|
vertical-align: middle;
|
|
}
|
|
|
|
.editform .tags li span {
|
|
line-height: 25px;
|
|
}
|
|
|
|
.tags {
|
|
padding-left: 0;
|
|
}
|
|
|
|
.tags li {
|
|
display: inline-block;
|
|
list-style-type: none;
|
|
margin: 5px;
|
|
}
|
|
|
|
.tags li a {
|
|
background-color: #333;
|
|
border: 1px solid #999;
|
|
border-radius: 2px;
|
|
color: #999;
|
|
font-size: 0.9em;
|
|
padding: 2px 5px 2px 5px;
|
|
}
|
|
|
|
.tags li a:hover {
|
|
border-color: #eee;
|
|
color: #eee;
|
|
}
|
|
|
|
.tagged {
|
|
background-color: #eee !important;
|
|
color: #333 !important;
|
|
}
|
|
|
|
label {
|
|
vertical-align: middle;
|
|
}
|
|
|
|
nav {
|
|
margin: 1em;
|
|
text-align: center;
|
|
}
|
|
|
|
nav a {
|
|
background-color: #eee;
|
|
border: 1px solid #000;
|
|
border-radius: 5px;
|
|
color: #333;
|
|
display: inline-block;
|
|
padding: 1em;
|
|
}
|
|
|
|
content {
|
|
position: absolute;
|
|
width: 100%;
|
|
}
|
|
|
|
section {
|
|
position: absolute;
|
|
left: 0;
|
|
text-align: center;
|
|
top: 0;
|
|
width: 100%;
|
|
}
|
|
|
|
#reset {
|
|
font-size: 2em;
|
|
padding-left: 5px;
|
|
display: inline;
|
|
vertical-align: middle;
|
|
}
|
|
|
|
#reset:hover {
|
|
cursor: pointer;
|
|
}
|
|
|
|
nav .extra {
|
|
position: absolute;
|
|
padding: 1em;
|
|
top: 1em;
|
|
right: 1em;
|
|
}
|
|
|
|
@media only screen and (max-device-width: 500px) {
|
|
nav .extra {
|
|
position: static;
|
|
padding-top: 1em;
|
|
}
|
|
}
|
|
|
|
nav .extra > a {
|
|
background-color: #2ecc40;
|
|
border: 1px solid #000;
|
|
border-radius: 5px;
|
|
color: #333;
|
|
display: inline-block;
|
|
padding: 1em;
|
|
}
|
|
|
|
.sound {
|
|
display: inline-block;
|
|
border: 1px solid transparent;
|
|
margin: 5px;
|
|
}
|
|
|
|
.sound a {
|
|
display: flex;
|
|
align-items: center;
|
|
justify-content: center;
|
|
height: 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:active {
|
|
background-color: #790d0d;
|
|
transform: scale(.98);
|
|
box-shadow: inset 5px 5px 5px rgba(0, 0, 0, 0.6);
|
|
cursor: pointer;
|
|
}
|
|
|
|
.sound-pressed {
|
|
background-color: #ff4136 !important;
|
|
box-shadow: inset 5px 5px 5px rgba(0, 0, 0, 0.6) !important;
|
|
}
|
|
|
|
.edit {
|
|
border: 1px dashed #eee;
|
|
box-sizing: border-box;
|
|
margin: 5px;
|
|
}
|
|
|
|
.sound.edit a:hover {
|
|
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 {
|
|
-webkit-touch-callout: none;
|
|
-webkit-user-select: none;
|
|
-khtml-user-select: none;
|
|
-moz-user-select: none;
|
|
-ms-user-select: none;
|
|
user-select: none;
|
|
}
|
|
|
|
#local-mode-button .local {
|
|
color: red;
|
|
}
|
|
|
|
#streams input, #voice label, #voice input {
|
|
display: block;
|
|
margin-bottom: 5px;
|
|
margin-left: auto;
|
|
margin-right: auto;
|
|
margin-top: 5px;
|
|
}
|