mopidy-pummeluff/mopidy_pummeluff/webui/style.css

182 lines
2.3 KiB
CSS
Raw Normal View History

2019-02-21 21:50:26 +00:00
/*
* Main Elements
*/
*,
*:before,
*:after
{
box-sizing: border-box;
}
html,
body
{
margin : 0;
padding: 0;
}
body
{
2020-04-15 11:31:04 +00:00
background-color: #222;
color : #eee;
2019-02-21 21:50:26 +00:00
font-family : sans-serif;
font-size : 14px;
2020-04-15 11:31:04 +00:00
min-height : 100vh;
2019-02-21 21:50:26 +00:00
}
/*
* Headings
*/
h1,
h2
{
margin: 0 0 10px 0;
}
/*
* Structural page elements
*/
main
{
display: flex;
}
header
{
padding: 20px 20px 10px 20px;
}
main > div
{
padding: 20px;
}
/*
* Register Form
*/
form
{
background-color: #333;
padding : 20px;
width : 250px;
}
label
{
display: block;
margin : 10px 0 5px 0;
}
label:first-child
{
margin-top: 0;
}
input,
select,
button
{
2020-04-15 11:31:04 +00:00
background-color: #222;
2019-02-21 21:50:26 +00:00
border : 0;
border-color : #333;
2020-04-15 11:31:04 +00:00
border-style : solid;
border-width : 0 0 2px 0;
2019-02-21 21:50:26 +00:00
color : #eee;
outline : none;
2020-04-15 11:31:04 +00:00
padding : 10px;
width : 100%;
2019-02-21 21:50:26 +00:00
}
select
{
height: 35px;
}
input::placeholder
{
color: #666;
}
input:focus
{
2020-04-15 11:31:04 +00:00
border-bottom-color: #8ff;
2019-02-21 21:50:26 +00:00
}
button
2020-04-15 11:31:04 +00:00
{
color : #eee;
cursor : pointer;
font-weight: bold;
margin-top : 10px;
}
button#register-button
2019-02-21 21:50:26 +00:00
{
background-color: #4a4;
2020-04-15 11:31:04 +00:00
}
button#unregister-button
{
background-color: #a20;
2019-02-21 21:50:26 +00:00
}
2019-03-26 20:22:15 +00:00
#read-rfid-tag
2019-02-21 21:50:26 +00:00
{
2020-04-15 11:31:04 +00:00
color : #8ff;
2020-02-09 00:12:22 +00:00
font-size : 11px;
2020-04-15 11:31:04 +00:00
text-decoration: none;
2019-02-21 21:50:26 +00:00
}
2019-03-26 20:22:15 +00:00
#read-rfid-tag.reading {
2020-04-15 11:31:04 +00:00
animation: blink 0.5s cubic-bezier(.5, 0, 1, 1) infinite alternate;
}
@keyframes blink { to { opacity: 0.25; } }
2019-02-21 21:50:26 +00:00
/*
2019-03-26 20:22:15 +00:00
* Registered Tags
2019-02-21 21:50:26 +00:00
*/
2019-03-26 20:22:15 +00:00
div.tag
2019-02-21 21:50:26 +00:00
{
background-color: #eee;
box-shadow : 1px 1px 5px #000;
2020-04-15 11:31:04 +00:00
color : #222;
cursor : pointer;
display : inline-block;
line-height : 20px;
2019-02-21 21:50:26 +00:00
margin : 0 20px 20px 0;
2020-04-15 11:31:04 +00:00
padding : 10px;
2019-02-21 21:50:26 +00:00
width : 400px;
}
2019-02-22 00:04:26 +00:00
2019-03-26 20:22:15 +00:00
div.tag span.uid,
div.tag span.action-class,
2019-03-26 20:22:15 +00:00
div.tag span.parameter
2019-02-21 21:50:26 +00:00
{
font-family: Courier New, monospace;
}
div.tag span.action-class
2019-02-21 21:50:26 +00:00
{
background-color: #888;
2020-04-15 11:31:04 +00:00
border-radius : 10px;
2019-02-21 21:50:26 +00:00
color : #eee;
2020-04-15 11:31:04 +00:00
display : inline-block;
2019-02-21 21:50:26 +00:00
font-size : 11px;
line-height : 11px;
2019-02-22 00:04:26 +00:00
margin-left : 5px;
2020-04-15 11:31:04 +00:00
padding : 3px 5px;
2019-02-21 21:50:26 +00:00
}
2019-03-26 20:22:15 +00:00
div.tag span.alias,
div.tag span.parameter
2019-02-21 21:50:26 +00:00
{
display: block;
}