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,321 +1,280 @@
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;
flex-direction: column; }
display:flex;
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;
display: flex; display: flex;
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 {
height: 30px;
.headerdiv > .logowrapper > .logo { margin: 4px 0px 8px 6px;
height: 30px; flex: initial; }
margin: 4px 0px 8px 6px; .headerdiv .tabrow {
flex: initial;
}
.tabrow {
display: flex; display: flex;
flex: auto; flex: auto; }
} .headerdiv .tabrow .tab {
display: flex;
.tab { justify-content: center;
display: flex; align-items: center;
justify-content: center; background-color: #222;
align-items: center; color: #CCC;
border-left: 1px solid #000;
background-color: #222; border-right: 1px solid #000;
color: #CCC; font-weight: bold;
border-left: 1px solid #000; text-decoration: none;
border-right: 1px solid #000; margin: 0px 0px 0px 20px;
font-weight: bold; padding: 2px 5px;
text-decoration: none; min-width: 64px;
text-align: center;
margin: 0px 0px 0px 20px; flex: initial; }
padding: 2px 5px; .headerdiv .tabrow .tab:hover {
min-width: 64px; cursor: pointer;
text-align: center; background-color: #555; }
.headerdiv .tabrow .tab_split {
flex: initial; flex: auto; }
} .headerdiv .tabrow .tab_github {
background-color: #4078c0;
.tab:hover { border-left: 1px solid #111;
cursor: pointer; border-right: 1px solid #111;
background-color: #555; color: black; }
} .headerdiv .tabrow .tab_github:hover {
background-color: #c9510c;
.tab_github { color: black; }
background-color: #4078c0;
border-left: 1px solid #111;
border-right: 1px solid #111;
color: black;
}
.tab_split {
flex: auto;
}
.tab_github:hover {
background-color: #c9510c;
color: black;
}
@media (max-width: 850px) { @media (max-width: 850px) {
.headerdiv {
position: static; }
.headerdiv { .logowrapper {
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;
}
}
/*############################################################################*/
.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; display: flex;
align-items: center; align-items: center;
justify-content: center; justify-content: center; }
padding: 4px; .headerdiv {
background: #AAA; flex-direction: column; }
}
.euler_pnl_header a { .tabrow {
color: #222; flex-direction: column; }
.tab {
border: 1px solid #000;
font-weight: bold; font-weight: bold;
text-decoration: none; margin: 5px 10px; }
font-size: large;
}
.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; }
.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; } }
#content {
padding-top: 0px; } }
#footerdiv { #footerdiv {
margin-top:auto; margin-top: auto;
padding-bottom: 10px; padding-bottom: 10px;
background-color: transparent;
text-align: center; }
background-color: transparent;
text-align: center;
}
#footerdiv hr { #footerdiv hr {
margin-bottom: 5px; margin-bottom: 5px;
display:block; display: block;
border:none; border: none;
color:white; color: white;
height:1px; height: 1px;
background: #CCCCCCFF; background: #CCCCCCFF;
background: -webkit-gradient(radial, 50% 50%, 0, 50% 50%, 350, from(#CCCCCCFF), to(#FFFFFF00)); background: -webkit-gradient(radial, 50% 50%, 0, 50% 50%, 350, from(#CCC), to(#FFFFFF00)); }
}
.contentheader {
width: 100%;
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 { .bloglistelem_container {
display: flex; display: flex;
align-items: center; align-items: center;
flex-direction: column; flex-direction: column; }
}
.bloglistelem { .bloglistelem {
width: 100%; width: 100%;
border: solid 1px #444;
border: solid 1px #444; margin: 10px 5px;
margin: 10px 5px; color: #333;
color: #333; text-decoration: none; }
text-decoration: none;
}
.bloglistelem:hover { .bloglistelem:hover {
box-shadow: 0 0 4px #000000; box-shadow: 0 0 4px #000000; }
}
.ble_blog { background-color: #BBB; } .ble_blog {
.ble_log { background-color: #DDD; } background-color: #BBB; }
.ble_blog .ble_date { background-color: #AAA; } .ble_log {
.ble_log .ble_date { background-color: #CCC; } background-color: #DDD; }
.ble_blog .ble_date {
background-color: #AAA; }
.ble_log .ble_date {
background-color: #CCC; }
.ble_date { .ble_date {
background-color: #AAA; background-color: #AAA;
padding: 2px; padding: 2px;
font-style: italic; font-size: 0.8em;
} font-style: italic; }
.ble_title { .ble_title {
font-weight: bold; font-weight: bold;
font-size: 1.5em; font-size: 1.2em;
text-align: left; text-align: left;
margin: 2px 0 2px 10px; margin: 2px 0 2px 10px; }
}
@media(max-width:767px) { .ble_title { font-size: 1.25em; } } @media (max-width: 767px) {
.ble_title {
font-size: 1.25em; } }
.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: Lato, "Helvetica Neue", Helvetica, Arial, sans-serif;
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; }
/*# 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