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

382 lines
7.7 KiB
SCSS
Raw Permalink Normal View History

2017-12-29 00:40:57 +01:00
@import 'styles_config';
body {
2019-11-08 15:15:58 +01:00
background-color: $LAYER0_BG;
color: $LAYER0_FG;
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%;
2019-11-08 15:15:58 +01:00
color: $LAYER0_FG;
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;
2019-11-08 15:15:58 +01:00
display: block;
border: none;
color: white;
height: 1px;
background-color: $COL_RADIAL_UNDERLINE_START;
background: -moz-linear-gradient( left, $COL_RADIAL_UNDERLINE_START, $COL_RADIAL_UNDERLINE_END);
background: -webkit-linear-gradient(left, $COL_RADIAL_UNDERLINE_START 0%,$COL_RADIAL_UNDERLINE_END 100%);
2017-12-29 00:40:57 +01:00
}
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 {
2019-11-08 15:15:58 +01:00
background: -moz-radial-gradient( circle, $COL_RADIAL_UNDERLINE_START, $COL_RADIAL_UNDERLINE_END);
background: -webkit-radial-gradient(circle, $COL_RADIAL_UNDERLINE_START 0%,$COL_RADIAL_UNDERLINE_END 100%);
2018-01-20 14:41:21 +01:00
}
}
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 {
2019-11-08 15:15:58 +01:00
color: $LAYER1_FG;
border: $LAYER1_BORDER;
background: $LAYER1_BG;
2018-01-21 15:29:01 +01:00
width: 100%;
margin-left: auto;
margin-right: auto;
.bc_header {
2019-11-08 15:15:58 +01:00
background-color: $LAYER1_HEADER_BG;
color: $LAYER1_HEADER_FG;
2018-01-21 15:29:01 +01:00
padding: 0 4px;
}
.bc_data {
padding: 8px;
}
2018-01-21 19:07:43 +01:00
}
.button {
2019-11-08 15:15:58 +01:00
color: $COL_BUTTON_GENERIC_FG;
2018-01-21 19:07:43 +01:00
text-decoration: none;
2019-11-08 15:15:58 +01:00
background-color: $COL_BUTTON_GENERIC_BG;
2018-01-21 19:07:43 +01:00
font-size: 1rem;
border: 1px solid black;
height: 36px;
line-height: 36px;
padding: 2px 2rem;
}
.button:hover {
2019-11-08 15:15:58 +01:00
background-color: $COL_BUTTON_GENERIC_HOVER;
2018-01-26 21:00:50 +01:00
}
.iconbutton {
display: flex;
justify-content: center;
align-items: center;
2019-11-08 15:15:58 +01:00
background: $COL_BUTTON_DOWNLOAD_DARK_BG;
color: $COL_BUTTON_DOWNLOAD_DARK_FG;
2018-01-26 21:00:50 +01:00
text-decoration: none;
border: 1px solid #000;
margin: 5px 0;
2018-01-26 23:52:55 +01:00
&:hover {
cursor: pointer;
2019-11-08 15:15:58 +01:00
background-color: $COL_BUTTON_DOWNLOAD_DARK_HOVER_BG;
color: $COL_BUTTON_DOWNLOAD_DARK_HOVER_FG;
2018-01-26 23:52:55 +01:00
}
svg {
width: 14pt;
height: 14pt;
margin: 0 4px;
2019-11-08 15:15:58 +01:00
fill: $COL_BUTTON_DOWNLOAD_DARK_FG;
2018-01-26 23:52:55 +01:00
}
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;
2019-11-08 15:15:58 +01:00
background: $COL_BUTTON_DOWNLOAD_LIGHT_BG;
color: $COL_BUTTON_DOWNLOAD_LIGHT_FG;
2018-01-26 23:52:55 +01:00
text-decoration: none;
border: 1px solid #000;
margin: 5px 0;
&:hover {
cursor: pointer;
2019-11-08 15:15:58 +01:00
background-color: $COL_BUTTON_DOWNLOAD_LIGHT_HOVER_BG;
color:$COL_BUTTON_DOWNLOAD_LIGHT_HOVER_FG;
2018-01-26 23:52:55 +01:00
}
svg {
width: 14pt;
height: 14pt;
margin: 0 4px;
2019-11-08 15:15:58 +01:00
fill: $COL_BUTTON_DOWNLOAD_LIGHT_FG;
2018-01-26 23:52:55 +01:00
}
span {
flex-grow: 1;
text-align: center;
font-size: 14pt;
}
2018-01-27 00:28:32 +01:00
}
.stripedtable_container {
overflow-x: auto;
}
2019-11-08 15:15:58 +01:00
2018-01-27 00:28:32 +01:00
.stripedtable
{
border-collapse: collapse;
text-align: left;
width: 100%;
2019-11-08 15:15:58 +01:00
border: $LAYER2_TABLE_BORDER_OUTER;
2018-01-27 00:28:32 +01:00
td, th {
padding: 3px 10px;
}
thead th {
2019-11-08 15:15:58 +01:00
background-color: $LAYER2_TABLE_TH_BG;
color: $LAYER2_TABLE_TH_FG;
2018-01-27 00:28:32 +01:00
font-weight: bold;
2019-11-08 15:15:58 +01:00
border-left: 1px solid $LAYER2_TABLE_BORDER_INNER_TH;
2018-01-27 00:28:32 +01:00
}
thead th:first-child {
border: none;
}
2018-01-26 21:00:50 +01:00
2018-01-27 00:28:32 +01:00
tbody td {
2019-11-08 15:15:58 +01:00
border-left: 1px solid $LAYER2_TABLE_BORDER_INNER_TD;
2018-01-27 00:28:32 +01:00
font-weight: normal;
}
tbody td:first-child {
border-left: none;
}
tbody tr:last-child td {
border-bottom: none;
}
2019-11-08 15:15:58 +01:00
tbody tr:nth-child(odd) { background-color: $LAYER2_TABLE_BACKGROUND_ODD; }
tbody tr:nth-child(even) { background-color: $LAYER2_TABLE_BACKGROUND_EVEN; }
2018-01-28 01:29:25 +01:00
}
.imgcarousel_parent {
display: flex;
flex-direction: row;
align-content: center;
justify-content: center;
padding: 5px;
}
.imgcarousel_content {
background-size: contain;
background-position: center;
background-repeat: no-repeat;
height: 100%;
width: 100%;
2018-02-09 22:59:02 +01:00
display:flex;
2018-01-28 01:29:25 +01:00
}
2018-02-09 22:59:02 +01:00
.imgcarousel_content video {
object-fit: contain;
width: 100%;
height: auto;
max-height: 100%;
align-self: center;
}
2018-01-28 01:29:25 +01:00
.imgcarousel_prev, .imgcarousel_next
{
display: flex;
flex-direction: column;
justify-content: center;
}
.imgcarousel_prev
{
margin-right: 5px;
}
.imgcarousel_next
{
margin-left: 5px;
}
2018-02-09 22:59:02 +01:00
.imgcarousel_next, .imgcarousel_prev
{
outline: none;
}
2019-11-08 15:15:58 +01:00
.imgcarousel_prev svg { width: 48px; height: 48px; border: 1px solid black; background: $COL_BUTTON_CAROUSEL_BG; fill: $COL_BUTTON_CAROUSEL_FG; }
.imgcarousel_next svg { width: 48px; height: 48px; border: 1px solid black; background: $COL_BUTTON_CAROUSEL_BG; fill: $COL_BUTTON_CAROUSEL_FG; }
.imgcarousel_prev:hover svg { background: $COL_BUTTON_CAROUSEL_BG_HOVER; fill: $COL_BUTTON_CAROUSEL_FG_HOVER; cursor: pointer; }
2019-11-08 16:09:42 +01:00
.imgcarousel_next:hover svg { background: $COL_BUTTON_CAROUSEL_BG_HOVER; fill: $COL_BUTTON_CAROUSEL_FG_HOVER; cursor: pointer; }
@include rdmedia(0)
{
.pagination { flex-direction: column; }
.pag20 { flex-direction: column; }
.pag10 { flex-direction: column; }
.pag05 { flex-direction: row; }
}
@include rdmedia(1)
{
.pagination { flex-direction: column; }
.pag20 { flex-direction: column; }
.pag10 { flex-direction: row; }
.pag05 { flex-direction: row; }
}
@include rdmedia(2)
{
.pagination { flex-direction: column; }
.pag20 { flex-direction: column; }
.pag10 { flex-direction: row; }
.pag05 { flex-direction: row; }
}
@include rdmedia(3)
{
.pagination { flex-direction: column; }
.pag20 { flex-direction: column; }
.pag10 { flex-direction: row; }
.pag05 { flex-direction: row; }
}
@include rdmedia(4)
{
.pagination { flex-direction: column; }
.pag20 { flex-direction: row; }
.pag10 { flex-direction: row; }
.pag05 { flex-direction: row; }
}
.pagination {
display:flex;
.pagAny {
display:flex;
align-self: center;
}
.pag20 {
display:flex;
align-self: center;
}
.pag10 {
display:flex;
}
.pag05 {
display:flex;
margin: 4px 0;
}
.pagbtn {
display: block;
text-decoration: none;
min-width: 1.8em;
padding: 0 5px;
margin: 0 4px;
border-radius: 2px;
text-align: center;
color: $BUTTON_PAGINATION_FG;
background: $BUTTON_PAGINATION_BG;
border: $BUTTON_PAGINATION_BORDER;
}
.pagAny .pagbtn { margin: 4px; }
.pagbtn_disabled {
color: $BUTTON_PAGINATION_DISABLED_FG;
background: $BUTTON_PAGINATION_DISABLED_BG;
border: $BUTTON_PAGINATION_DISABLED_BORDER;
}
.pagbtn.pagbtn_disabled:hover {border: $BUTTON_PAGINATION_DISABLED_BORDER; }
.pagbtn_active {
color: $BUTTON_PAGINATION_HIGHLIGHT_FG;
background: $BUTTON_PAGINATION_HIGHLIGHT_BG;
border: $BUTTON_PAGINATION_HIGHLIGHT_BORDER;
}
.pagbtn:hover {
border: $BUTTON_PAGINATION_HOVER_BORDER;
}
}