forked from rc/aircox
merge aircox and aircox_instance
This commit is contained in:
179
aircox_cms/static/aircox_cms/css/theme.css
Normal file
179
aircox_cms/static/aircox_cms/css/theme.css
Normal file
@ -0,0 +1,179 @@
|
||||
/*
|
||||
* Define a default theme, that is the one for RadioCampus
|
||||
*
|
||||
* Colors:
|
||||
* - light:
|
||||
* - background: #F2F2F2
|
||||
* - color: #000
|
||||
*
|
||||
* - dark:
|
||||
* - background: #212121
|
||||
* - color: #007EDF
|
||||
*
|
||||
* - info:
|
||||
* - generic (time,url,...): #616161
|
||||
* - additional: #007EDF
|
||||
* - active: #007EDF
|
||||
*/
|
||||
|
||||
/** main **/
|
||||
body {
|
||||
background-color: #F2F2F2;
|
||||
font-family: "Myriad Pro",Calibri,Helvetica,Arial,sans-serif;
|
||||
margin: 0em;
|
||||
padding: 0em;
|
||||
}
|
||||
|
||||
|
||||
h1, h2, h3 {
|
||||
font-family: "Myriad Pro",Calibri,Helvetica,Arial,sans-serif;
|
||||
}
|
||||
|
||||
h1:first-letter, h2:first-letter, h3:first-letter {
|
||||
text-transform: capitalize;
|
||||
}
|
||||
|
||||
h1 { font-size: 1.4em; }
|
||||
h2 { font-size: 1.2em; }
|
||||
h3 { font-size: 0.9em; }
|
||||
|
||||
|
||||
h2 * { vertical-align: middle; }
|
||||
|
||||
|
||||
|
||||
/** info **/
|
||||
time, .tags {
|
||||
font-size: 0.9em;
|
||||
color: #616161;
|
||||
}
|
||||
|
||||
.info {
|
||||
font-size: 0.9em;
|
||||
padding: 0.1em;
|
||||
color: #007EDF;
|
||||
}
|
||||
|
||||
|
||||
a {
|
||||
cursor: pointer;
|
||||
text-decoration: none;
|
||||
color: #616161;
|
||||
}
|
||||
|
||||
a:hover {
|
||||
color: #007EDF;
|
||||
}
|
||||
|
||||
a:hover > .small_icon {
|
||||
box-shadow: 0em 0em 0.1em #007EDF;
|
||||
}
|
||||
|
||||
|
||||
.error { color: red; }
|
||||
.warning { color: orange; }
|
||||
.success { color: green; }
|
||||
|
||||
|
||||
/** page **/
|
||||
.page > nav {
|
||||
width: 16em;
|
||||
overflow: hidden;
|
||||
}
|
||||
|
||||
main {
|
||||
background-color: rgba(255,255,255,0.9);
|
||||
padding: 1em;
|
||||
margin: 0em 2em;
|
||||
box-shadow: 0em 0em 0.2em black;
|
||||
width: 60%;
|
||||
}
|
||||
|
||||
|
||||
main:not(.detail) h1 {
|
||||
margin: 0em 0em 0.4em 0em;
|
||||
}
|
||||
|
||||
main.detail {
|
||||
padding: 0em;
|
||||
}
|
||||
|
||||
main.detail > .content {
|
||||
padding: 1em;
|
||||
}
|
||||
|
||||
main.detail > header {
|
||||
padding: 0em;
|
||||
margin: 0em;
|
||||
}
|
||||
|
||||
main.detail > header h1.title {
|
||||
position: relative;
|
||||
width: calc(70% - 0.8em);
|
||||
margin: 0em;
|
||||
margin-bottom: -2em;
|
||||
padding: 0.4em;
|
||||
background-color: rgba(255,255,255,0.8);
|
||||
}
|
||||
|
||||
main.detail > header img.cover {
|
||||
width: 70%;
|
||||
vertical-align: middle;
|
||||
display: inline-block;
|
||||
}
|
||||
|
||||
main.detail header .summary {
|
||||
display: inline-block;
|
||||
padding: 1em;
|
||||
width: calc(20% - 2em);
|
||||
vertical-align: middle;
|
||||
font-size: 1.2em;
|
||||
font-weight: bold;
|
||||
background-color: white;
|
||||
}
|
||||
|
||||
|
||||
/** player **/
|
||||
.player[state='playing'] .item[selected] .button > img {
|
||||
animation-duration: 4s;
|
||||
animation-iteration-count: infinite;
|
||||
animation-name: blink;
|
||||
}
|
||||
|
||||
|
||||
@keyframes blink {
|
||||
from {
|
||||
opacity: 1.0;
|
||||
}
|
||||
|
||||
50% {
|
||||
opacity: 0.3;
|
||||
}
|
||||
|
||||
to {
|
||||
opacity: 1.0;
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
.player[state="loading"] .item[selected] .button > img.loading {
|
||||
animation-duration: 2s;
|
||||
animation-iteration-count: infinite;
|
||||
animation-name: rotate;
|
||||
animation-timing-function: linear;
|
||||
}
|
||||
|
||||
@keyframes rotate {
|
||||
from {
|
||||
transform: rotate(0deg);
|
||||
}
|
||||
|
||||
to {
|
||||
transform: rotate(360deg);
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
|
||||
|
||||
|
Reference in New Issue
Block a user