1
0
This commit is contained in:
Mike Schwörer 2017-12-29 00:40:57 +01:00
parent 0fc19d3fcf
commit 3f090d3f4b
Signed by: Mikescher
GPG Key ID: D3C7172E0A70F8CF
10 changed files with 592 additions and 284 deletions

3
www/data/css/.gitignore vendored Normal file
View File

@ -0,0 +1,3 @@
*.css.map
*.css
!*styles.css

View File

@ -1,22 +1,64 @@
html, body{ height:100%; margin:0; } html, body {
height: 100%;
margin: 0; }
body { body {
margin: 0; margin: 0;
background-color: #EEE; background-color: #EEE;
color: #CCC; color: #CCC;
display: flex;
display:flex; flex-direction: column; }
flex-direction:column;
}
#content { #content {
padding-top: 64px; padding-top: 64px;
display: flex; display: flex;
justify-content: center; justify-content: center;
line-height: 1.4; }
line-height: 1.4; /*############################################################################*/
} .content-responsive {
margin-left: auto;
margin-right: auto; }
@media (max-width: 767px) {
.content-responsive {
width: auto; } }
@media (min-width: 768px) {
.content-responsive {
width: auto; } }
@media (min-width: 992px) {
.content-responsive {
width: 724px; } }
@media (min-width: 1200px) {
.content-responsive {
width: 1170px; } }
.contentheader {
width: 100%;
color: #333;
font-size: large; }
.contentheader h1 {
font-family: Lato, "Helvetica Neue", Helvetica, Arial, sans-serif;
font-size: 32px;
font-weight: 900;
margin-bottom: 0; }
@media (max-width: 767px) {
.contentheader h1 {
font-size: 32px; } }
.contentheader hr {
margin: 0 0 25px 0;
display: block;
border: none;
color: white;
height: 1px;
background: #CCCCCCFF;
background: -moz-linear-gradient(left, #CCC, #FFFFFF00);
background: -webkit-linear-gradient(left, #CCC 0%, #FFFFFF00 100%); }
.blockcontent {
display: block;
width: 100%; }
.headerdiv { .headerdiv {
background-color: #333; background-color: #333;
@ -24,172 +66,181 @@ body {
border-bottom: 1px solid #111; border-bottom: 1px solid #111;
box-shadow: 0 0 8px #000000; box-shadow: 0 0 8px #000000;
position: fixed; position: fixed;
width: 100%; width: 100%; }
} .headerdiv .logowrapper {
.headerdiv .logowrapper {
flex: initial; flex: initial;
margin: 0; margin: 0;
padding: 0; padding: 0;
height: 42px; height: 42px; }
} .headerdiv .logowrapper .logo {
.headerdiv > .logowrapper > .logo {
height: 30px; height: 30px;
margin: 4px 0px 8px 6px; margin: 4px 0px 8px 6px;
flex: initial; flex: initial; }
} .headerdiv .tabrow {
.tabrow {
display: flex; display: flex;
flex: auto; flex: auto; }
} .headerdiv .tabrow .tab {
.tab {
display: flex; display: flex;
justify-content: center; justify-content: center;
align-items: center; align-items: center;
background-color: #222; background-color: #222;
color: #CCC; color: #CCC;
border-left: 1px solid #000; border-left: 1px solid #000;
border-right: 1px solid #000; border-right: 1px solid #000;
font-weight: bold; font-weight: bold;
text-decoration: none; text-decoration: none;
margin: 0px 0px 0px 20px; margin: 0px 0px 0px 20px;
padding: 2px 5px; padding: 2px 5px;
min-width: 64px; min-width: 64px;
text-align: center; text-align: center;
flex: initial; }
flex: initial; .headerdiv .tabrow .tab:hover {
}
.tab:hover {
cursor: pointer; cursor: pointer;
background-color: #555; background-color: #555; }
} .headerdiv .tabrow .tab_split {
flex: auto; }
.tab_github { .headerdiv .tabrow .tab_github {
background-color: #4078c0; background-color: #4078c0;
border-left: 1px solid #111; border-left: 1px solid #111;
border-right: 1px solid #111; border-right: 1px solid #111;
color: black; color: black; }
} .headerdiv .tabrow .tab_github:hover {
.tab_split {
flex: auto;
}
.tab_github:hover {
background-color: #c9510c; background-color: #c9510c;
color: black; color: black; }
}
@media (max-width: 850px) { @media (max-width: 850px) {
.headerdiv { .headerdiv {
position: static; position: static; }
}
.logowrapper { .logowrapper {
display: flex; display: flex;
align-items: center; align-items: center;
justify-content: center; justify-content: center; }
}
.headerdiv { .headerdiv {
flex-direction: column; flex-direction: column; }
}
.tabrow { .tabrow {
flex-direction: column; flex-direction: column; }
}
.tab { .tab {
border: 1px solid #000; border: 1px solid #000;
font-weight: bold; font-weight: bold;
margin: 5px 10px; }
margin: 5px 10px;
}
#content { #content {
padding-top: 0px; padding-top: 0px; } }
} #footerdiv {
} margin-top: auto;
padding-bottom: 10px;
background-color: transparent;
text-align: center; }
#footerdiv hr {
margin-bottom: 5px;
display: block;
border: none;
color: white;
height: 1px;
background: #CCCCCCFF;
background: -webkit-gradient(radial, 50% 50%, 0, 50% 50%, 350, from(#CCC), to(#FFFFFF00)); }
/*############################################################################*/ .bloglistelem_container {
display: flex;
align-items: center;
flex-direction: column; }
.bloglistelem {
width: 100%;
border: solid 1px #444;
margin: 10px 5px;
color: #333;
text-decoration: none; }
.bloglistelem:hover {
box-shadow: 0 0 4px #000000; }
.ble_blog {
background-color: #BBB; }
.ble_log {
background-color: #DDD; }
.ble_blog .ble_date {
background-color: #AAA; }
.ble_log .ble_date {
background-color: #CCC; }
.ble_date {
background-color: #AAA;
padding: 2px;
font-size: 0.8em;
font-style: italic; }
.ble_title {
font-weight: bold;
font-size: 1.2em;
text-align: left;
margin: 2px 0 2px 10px; }
@media (max-width: 767px) {
.ble_title {
font-size: 1.25em; } }
.euler_pnl_base { .euler_pnl_base {
display: inline-flex; display: inline-flex;
flex-direction: column; flex-direction: column;
border: 1px solid #AAA; border: 1px solid #AAA;
border-radius: 5px 5px 0 0; border-radius: 5px 5px 0 0;
margin: 15px; margin: 15px; }
}
.euler_pnl_header { .euler_pnl_header {
display: flex; display: flex;
align-items: center; align-items: center;
justify-content: center; justify-content: center;
padding: 4px; padding: 4px;
background: #AAA; background: #AAA; }
}
.euler_pnl_header a { .euler_pnl_header a {
color: #222; color: #222;
font-weight: bold;
text-decoration: none; text-decoration: none;
font-family: Lato, "Helvetica Neue", Helvetica, Arial, sans-serif;
font-size: large; font-size: 22px;
} font-weight: 900; }
.euler_pnl_header a:hover { .euler_pnl_header a:hover {
text-decoration: underline; text-decoration: underline; }
}
.euler_pnl_content { .euler_pnl_content {
display: flex; display: flex;
flex-direction: column; flex-direction: column;
background: #DDD; background: #DDD;
padding: 6px; }
padding: 6px;
}
.euler_pnl_row { .euler_pnl_row {
display: flex; display: flex;
flex-direction: row; flex-direction: row;
flex-wrap: wrap; flex-wrap: wrap; }
}
@media (max-width: 850px) { .euler_pnl_row { flex-direction: column; } }
@media (max-width: 850px) {
.euler_pnl_row {
flex-direction: column; } }
.euler_pnl_row2 { .euler_pnl_row2 {
display: flex; display: flex;
flex-direction: row; flex-direction: row; }
}
.euler_pnl_cell { .euler_pnl_cell {
width: 24px; width: 24px;
height: 24px; height: 24px;
font-size: 11px; font-size: 11px;
margin: 3px; margin: 3px;
border: 1px solid #333; border: 1px solid #333;
display: flex; display: flex;
align-items: center; align-items: center;
justify-content: center; justify-content: center; }
}
.euler_pnl_cell:hover { .euler_pnl_cell:hover {
box-shadow: 0 0 4px #000000; box-shadow: 0 0 4px #000000; }
}
.euler_pnl_cell a { .euler_pnl_cell a {
color: black; color: black;
@ -198,124 +249,32 @@ body {
height: 100%; height: 100%;
display: flex; display: flex;
justify-content: center; justify-content: center;
align-items: center; align-items: center; }
}
.euler_pnl_cell a:hover { .euler_pnl_cell a:hover {
color: black; color: black;
text-decoration: none; text-decoration: none; }
}
.euler_pnl_cell a:visited { .euler_pnl_cell a:visited {
color: black; color: black;
text-decoration: none; text-decoration: none; }
}
.euler_pnl_celltime_perfect { background: #98C398; } .euler_pnl_celltime_perfect {
.euler_pnl_celltime_good { background: #B9D89B; } background: #98C398; }
.euler_pnl_celltime_ok { background: #D8D898; }
.euler_pnl_celltime_bad { background: #D8B298; }
.euler_pnl_celltime_fail { background: #D89D9D; }
.euler_pnl_cell_notexist { background: #CCCCCC; }
.content-responsive { .euler_pnl_celltime_good {
margin-left: auto; background: #B9D89B; }
margin-right: auto;
}
@media(max-width:767px) { .content-responsive { width: auto; } } .euler_pnl_celltime_ok {
@media(min-width:768px) { .content-responsive { width: auto; } } background: #D8D898; }
@media(min-width:992px) { .content-responsive { width: 724px; } }
@media(min-width:1200px){ .content-responsive { width: 1170px; } }
#footerdiv { .euler_pnl_celltime_bad {
margin-top:auto; background: #D8B298; }
padding-bottom: 10px;
background-color: transparent; .euler_pnl_celltime_fail {
text-align: center; background: #D89D9D; }
}
#footerdiv hr {
margin-bottom: 5px;
display:block;
border:none;
color:white;
height:1px;
background: #CCCCCCFF;
background: -webkit-gradient(radial, 50% 50%, 0, 50% 50%, 350, from(#CCCCCCFF), to(#FFFFFF00));
}
.contentheader { .euler_pnl_cell_notexist {
width: 100%; background: #CCCCCC; }
color: #333;
font-size: large;
}
.contentheader h1 {
font-family: Lato, "Helvetica Neue", Helvetica, Arial, sans-serif;
font-size: 48px;
font-weight: 900;
margin-bottom: 0;
}
@media(max-width:767px) { .contentheader h1 { font-size: 32px; } }
.contentheader hr {
margin: 0 0 25px 0;
display:block;
border:none;
color:white;
height:1px;
background: #CCCCCCFF;
background: -moz-linear-gradient( left, #CCCCCCFF, #FFFFFF00);
background: -webkit-linear-gradient(left, #CCCCCCFF 0%,#FFFFFF00 100%);
}
.blockcontent {
display: block;
width: 100%;
}
.bloglistelem_container {
display: flex;
align-items: center;
flex-direction: column;
}
.bloglistelem {
width: 100%;
border: solid 1px #444;
margin: 10px 5px;
color: #333;
text-decoration: none;
}
.bloglistelem:hover {
box-shadow: 0 0 4px #000000;
}
.ble_blog { background-color: #BBB; }
.ble_log { background-color: #DDD; }
.ble_blog .ble_date { background-color: #AAA; }
.ble_log .ble_date { background-color: #CCC; }
.ble_date {
background-color: #AAA;
padding: 2px;
font-style: italic;
}
.ble_title {
font-weight: bold;
font-size: 1.5em;
text-align: left;
margin: 2px 0 2px 10px;
}
@media(max-width:767px) { .ble_title { font-size: 1.25em; } }
/*# sourceMappingURL=styles.css.map */

8
www/data/css/styles.scss Normal file
View File

@ -0,0 +1,8 @@
@import 'styles_global';
@import 'styles_header';
@import 'styles_footer';
@import 'styles_main';
@import 'styles_bloglist';
@import 'styles_eulerpanel';

View File

@ -0,0 +1,44 @@
@import 'styles_config';
.bloglistelem_container {
display: flex;
align-items: center;
flex-direction: column;
}
.bloglistelem {
width: 100%;
border: solid 1px #444;
margin: 10px 5px;
color: #333;
text-decoration: none;
}
.bloglistelem:hover {
box-shadow: 0 0 4px #000000;
}
.ble_blog { background-color: #BBB; }
.ble_log { background-color: #DDD; }
.ble_blog .ble_date { background-color: #AAA; }
.ble_log .ble_date { background-color: #CCC; }
.ble_date {
background-color: #AAA;
padding: 2px;
font-size: 0.8em;
font-style: italic;
}
.ble_title {
font-weight: bold;
font-size: 1.2em;
text-align: left;
margin: 2px 0 2px 10px;
}
@media(max-width:767px) { .ble_title { font-size: 1.25em; } }

View File

@ -0,0 +1,5 @@
$COL_BACKGROUND: #EEE;
$COL_TEXT_NORMAL: #CCC;
$COL_TRANSPARENT: #FFFFFF00;
$FONT_HEADER: Lato, "Helvetica Neue", Helvetica, Arial, sans-serif;

View File

@ -0,0 +1,100 @@
@import 'styles_config';
.euler_pnl_base {
display: inline-flex;
flex-direction: column;
border: 1px solid #AAA;
border-radius: 5px 5px 0 0;
margin: 15px;
}
.euler_pnl_header {
display: flex;
align-items: center;
justify-content: center;
padding: 4px;
background: #AAA;
}
.euler_pnl_header a {
color: #222;
text-decoration: none;
font-family: $FONT_HEADER;
font-size: 22px;
font-weight: 900;
}
.euler_pnl_header a:hover {
text-decoration: underline;
}
.euler_pnl_content {
display: flex;
flex-direction: column;
background: #DDD;
padding: 6px;
}
.euler_pnl_row {
display: flex;
flex-direction: row;
flex-wrap: wrap;
}
@media (max-width: 850px) { .euler_pnl_row { flex-direction: column; } }
.euler_pnl_row2 {
display: flex;
flex-direction: row;
}
.euler_pnl_cell {
width: 24px;
height: 24px;
font-size: 11px;
margin: 3px;
border: 1px solid #333;
display: flex;
align-items: center;
justify-content: center;
}
.euler_pnl_cell:hover {
box-shadow: 0 0 4px #000000;
}
.euler_pnl_cell a {
color: black;
text-decoration: none;
width: 100%;
height: 100%;
display: flex;
justify-content: center;
align-items: center;
}
.euler_pnl_cell a:hover {
color: black;
text-decoration: none;
}
.euler_pnl_cell a:visited {
color: black;
text-decoration: none;
}
.euler_pnl_celltime_perfect { background: #98C398; }
.euler_pnl_celltime_good { background: #B9D89B; }
.euler_pnl_celltime_ok { background: #D8D898; }
.euler_pnl_celltime_bad { background: #D8B298; }
.euler_pnl_celltime_fail { background: #D89D9D; }
.euler_pnl_cell_notexist { background: #CCCCCC; }

View File

@ -0,0 +1,19 @@
@import 'styles_config';
#footerdiv {
margin-top:auto;
padding-bottom: 10px;
background-color: transparent;
text-align: center;
}
#footerdiv hr {
margin-bottom: 5px;
display:block;
border:none;
color:white;
height:1px;
background: #CCCCCCFF;
background: -webkit-gradient(radial, 50% 50%, 0, 50% 50%, 350, from($COL_TEXT_NORMAL), to($COL_TRANSPARENT));
}

View File

@ -0,0 +1,67 @@
@import 'styles_config';
html, body{ height:100%; margin:0; }
body {
margin: 0;
background-color: $COL_BACKGROUND;
color: $COL_TEXT_NORMAL;
display:flex;
flex-direction:column;
}
#content {
padding-top: 64px;
display: flex;
justify-content: center;
line-height: 1.4;
}
/*############################################################################*/
.content-responsive {
margin-left: auto;
margin-right: auto;
}
@media(max-width:767px) { .content-responsive { width: auto; } }
@media(min-width:768px) { .content-responsive { width: auto; } }
@media(min-width:992px) { .content-responsive { width: 724px; } }
@media(min-width:1200px){ .content-responsive { width: 1170px; } }
.contentheader {
width: 100%;
color: #333;
font-size: large;
}
.contentheader h1 {
font-family: $FONT_HEADER;
font-size: 32px;
font-weight: 900;
margin-bottom: 0;
}
@media(max-width:767px) { .contentheader h1 { font-size: 32px; } }
.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%);
}
.blockcontent {
display: block;
width: 100%;
}

View File

@ -0,0 +1,103 @@
@import 'styles_config';
.headerdiv {
background-color: #333;
display: flex;
border-bottom: 1px solid #111;
box-shadow: 0 0 8px #000000;
position: fixed;
width: 100%;
.logowrapper {
flex: initial;
margin: 0;
padding: 0;
height: 42px;
.logo {
height: 30px;
margin: 4px 0px 8px 6px;
flex: initial;
}
}
.tabrow {
display: flex;
flex: auto;
.tab {
display: flex;
justify-content: center;
align-items: center;
background-color: #222;
color: $COL_TEXT_NORMAL;
border-left: 1px solid #000;
border-right: 1px solid #000;
font-weight: bold;
text-decoration: none;
margin: 0px 0px 0px 20px;
padding: 2px 5px;
min-width: 64px;
text-align: center;
flex: initial;
&:hover {
cursor: pointer;
background-color: #555;
}
}
.tab_split {
flex: auto;
}
.tab_github {
background-color: #4078c0;
border-left: 1px solid #111;
border-right: 1px solid #111;
color: black;
&:hover {
background-color: #c9510c;
color: black;
}
}
}
}
@media (max-width: 850px) {
.headerdiv {
position: static;
}
.logowrapper {
display: flex;
align-items: center;
justify-content: center;
}
.headerdiv {
flex-direction: column;
}
.tabrow {
flex-direction: column;
}
.tab {
border: 1px solid #000;
font-weight: bold;
margin: 5px 10px;
}
#content {
padding-top: 0px;
}
}

View File