1
0
www.mikescher.com/www/data/css/styles_global.scss

274 lines
4.8 KiB
SCSS
Raw Permalink Normal View History

2017-12-29 00:40:57 +01:00
@import 'styles_config';
body {
background-color: $COL_BACKGROUND;
color: $COL_TEXT_NORMAL;
2017-12-31 17:53:59 +01:00
font-family: $FONT_DEFAULT;
2017-12-29 00:40:57 +01:00
}
#content {
padding-top: 64px;
display: flex;
justify-content: center;
line-height: 1.4;
2018-01-03 21:02:40 +01:00
flex-direction: column;
align-items: center;
2017-12-29 00:40:57 +01:00
}
.content-responsive {
margin-left: auto;
margin-right: auto;
}
2018-01-20 14:41:21 +01:00
@include rdmedia(0) { .content-responsive { width: 95%; width:calc(100% - 20px); margin-left: auto; margin-right: auto; } }
@include rdmedia(1) { .content-responsive { width: 95%; width:calc(100% - 20px); margin-left: auto; margin-right: auto; } }
@include rdmedia(2) { .content-responsive { width: 95%; width:calc(100% - 20px); margin-left: auto; margin-right: auto; } }
@include rdmedia(3) { .content-responsive { width: 724px; } }
@include rdmedia(4) { .content-responsive { width: 1170px; } }
2017-12-29 00:40:57 +01:00
2018-01-03 17:28:08 +01:00
.content-fullheight { flex-grow: 1;}
2017-12-29 00:40:57 +01:00
.contentheader {
width: 100%;
2017-12-30 23:11:51 +01:00
color: $COL_TEXT_DARK;
2017-12-29 00:40:57 +01:00
font-size: large;
}
.contentheader h1 {
font-family: $FONT_HEADER;
font-size: 32px;
font-weight: 900;
margin-bottom: 0;
}
2018-01-20 14:41:21 +01:00
@include rdmedia(0) { .contentheader h1 { font-size: 32px; } }
2017-12-29 00:40:57 +01:00
.contentheader hr {
margin: 0 0 25px 0;
display:block;
border:none;
color:white;
height:1px;
background: #CCCCCCFF;
background: -moz-linear-gradient( left, $COL_TEXT_NORMAL, $COL_TRANSPARENT);
background: -webkit-linear-gradient(left, $COL_TEXT_NORMAL 0%,$COL_TRANSPARENT 100%);
}
2018-01-20 14:41:21 +01:00
@include rdmedia_range(0,2) {
.contentheader h1 {
text-align: center;
margin-left: 10px;
margin-right: 10px;
}
.contentheader hr {
background: -moz-radial-gradient( circle, $COL_TEXT_NORMAL, $COL_TRANSPARENT);
background: -webkit-radial-gradient(circle, $COL_TEXT_NORMAL 0%,$COL_TRANSPARENT 100%);
}
}
2017-12-29 00:40:57 +01:00
.blockcontent {
display: block;
width: 100%;
}
2018-01-03 00:08:42 +01:00
2018-01-20 14:41:21 +01:00
.generic_hidden {
visibility: hidden !important;
}
.generic_collapsed {
visibility: collapse !important;
display: none !important;
width:0 !important;
height:0 !important;
}
2018-01-21 15:29:01 +01:00
.boxedcontent {
color: $COL_TEXT_DARK;
border: 1px solid black;
background-color: $COL_BACKGROUND_2;
width: 100%;
margin-left: auto;
margin-right: auto;
.bc_header {
background-color: #BBB;
padding: 0 4px;
}
.bc_data {
padding: 8px;
}
2018-01-21 19:07:43 +01:00
}
.button {
color: #DDD;
text-decoration: none;
background-color: #222;
font-size: 1rem;
border: 1px solid black;
height: 36px;
line-height: 36px;
padding: 2px 2rem;
}
.button:hover {
background-color: #555;
2018-01-26 21:00:50 +01:00
}
.iconbutton {
display: flex;
justify-content: center;
align-items: center;
background: #222;
color: $COL_TEXT_NORMAL;
text-decoration: none;
border: 1px solid #000;
margin: 5px 0;
2018-01-26 23:52:55 +01:00
&:hover {
cursor: pointer;
background-color: #555;
}
svg {
width: 14pt;
height: 14pt;
margin: 0 4px;
fill: $COL_TEXT_NORMAL;
}
span {
flex-grow: 1;
text-align: center;
2018-01-26 21:00:50 +01:00
2018-01-26 23:52:55 +01:00
font-size: 14pt;
}
2018-01-26 21:00:50 +01:00
}
2018-01-26 23:52:55 +01:00
.iconbutton_light {
display: flex;
justify-content: center;
align-items: center;
background: #888;
color: $COL_TEXT_DARK_DARKER;
text-decoration: none;
border: 1px solid #000;
margin: 5px 0;
&:hover {
cursor: pointer;
background-color: #555;
}
svg {
width: 14pt;
height: 14pt;
margin: 0 4px;
fill: #000;
}
span {
flex-grow: 1;
text-align: center;
font-size: 14pt;
}
2018-01-27 00:28:32 +01:00
}
.stripedtable_container {
overflow-x: auto;
}
.stripedtable
{
border-collapse: collapse;
text-align: left;
width: 100%;
border: 1px solid #666;
td, th {
padding: 3px 10px;
}
thead th {
background-color: #7D7D7D;
color: #FFFFFF;
font-weight: bold;
border-left: 1px solid #444;
}
thead th:first-child {
border: none;
}
2018-01-26 21:00:50 +01:00
2018-01-27 00:28:32 +01:00
tbody td {
border-left: 1px solid #666;
font-weight: normal;
}
tbody .alt td {
background: #EBEBEB;
}
tbody td:first-child {
border-left: none;
}
tbody tr:last-child td {
border-bottom: none;
}
tbody tr:nth-child(odd) {
background-color: #ccc;
}
2018-01-28 01:29:25 +01:00
}
.imgcarousel_parent {
display: flex;
flex-direction: row;
align-content: center;
justify-content: center;
padding: 5px;
background: #BBB;
}
.imgcarousel_content {
background-size: contain;
background-position: center;
background-repeat: no-repeat;
height: 100%;
width: 100%;
}
.imgcarousel_prev, .imgcarousel_next
{
display: flex;
flex-direction: column;
justify-content: center;
}
.imgcarousel_prev
{
margin-right: 5px;
}
.imgcarousel_next
{
margin-left: 5px;
}
.imgcarousel_prev svg { width: 48px; height: 48px; border: 1px solid black; background: #333; fill: #DDD; }
.imgcarousel_next svg { width: 48px; height: 48px; border: 1px solid black; background: #333; fill: #DDD; }
.imgcarousel_prev:hover svg { background: #000; fill: #FFF; cursor: pointer; }
.imgcarousel_next:hover svg { background: #000; fill: #FFF; cursor: pointer; }