Nahozeni sablony na backend, nasazeni ejs, aktualizace Bootstrapu

This commit is contained in:
Michal Kváček
2018-11-13 22:34:07 +01:00
parent c892782c1c
commit 58eded3385
64 changed files with 8139 additions and 10561 deletions
+24
View File
@@ -0,0 +1,24 @@
$topMenuLinkColor: #677788;
$textColor: #677788;
$footerBackgroundColor: #677787;
$primaryPinkColor: #ED7493;
$btnSecondaryColor: transparent;
$boxShadowColor: #E3E3E3;
$footerDarkerTextColor: $textColor;
$darkColor: #617891;
$darkerColor: #314559;
$contentBackgroundColor: white;
$green: #3db621;
$gray: #f2f2f2;
$red: red;
$submenuColor: darken($gray, 10%);
$contentHeaderBackgroundColor: #F9F9F9;
$contentHeaderColor: #627991;
$contentColorBlue: #4f6a87;
$contentTableColor: #748391;
$tableBorderColor: #ededf0;
$tableHoverColor: #fcfcfc;
+25
View File
@@ -0,0 +1,25 @@
@import "~bootstrap/scss/bootstrap";
// Required
@import "~bootstrap/scss/functions";
@import "~bootstrap/scss/variables";
@import "~bootstrap/scss/mixins";
// Optional
@import "~bootstrap/scss/reboot";
@import "~bootstrap/scss/type";
@import "~bootstrap/scss/images";
@import "~bootstrap/scss/code";
@import "~bootstrap/scss/grid";
$fa-font-path: "~font-awesome/fonts";
@import '~font-awesome/scss/font-awesome.scss';
@import "sidebar";
@import "main";
@import "backToDashboard";
@import "editor/parts";
+19
View File
@@ -0,0 +1,19 @@
.back-to-dashboard {
&__icon {
font-size: 200%;
}
position: fixed;
bottom: 10px;
left: 10px;
border-radius: 50%;
padding: 5px 10px;
background: white;
border: solid 1px;
text-align: center;
z-index: 100;
line-height: 200%;
}
+11
View File
@@ -0,0 +1,11 @@
.web-part {
position: relative;
&__edit {
position: absolute;
top: 10px;
right: 10px;
}
}
+60
View File
@@ -0,0 +1,60 @@
@import "variables";
.navbar-top__logo{
height: 60px;
}
main {
h3 {
&.uppercase {
text-transform: uppercase;
}
color: $contentHeaderColor;
font-size: 18px;
margin-bottom: 20px;
margin-top: 30px;
font-weight: 600;
}
}
.main-content{
min-height: calc(100% - 132px);
position: relative;
@media only screen and (max-width:1310px){
min-height: calc(100% - 80px);
}
@media only screen and (max-width:800px){
min-height: calc(100% - 55px);
}
&__content{
flex-grow: 1;
flex-shrink: 1;
flex-basis: auto;
padding:0px 30px;
box-sizing: border-box;
padding-bottom: 20px;
padding-left:150px;
@media only screen and (max-width:500px){
padding:0px 15px;
padding-left:62px;
}
}
&__sidebar{
position: absolute;
left: 0;
top: 0;
width: 47px;
min-height: 100%;
@media only screen and (min-width:500px){
width:120px;
}
}
}
+67
View File
@@ -0,0 +1,67 @@
@import "variables";
$sidebarDecorationOverflow: 13px;
#sidebar {
text-transform: uppercase;
letter-spacing: -1px;
font-weight: bold;
.sidebar-nav {
margin: 0;
padding: 0;
display: block;
width: 100%;
.nav-item {
font-size: 11px;
position: relative;
z-index: 1000;
text-align: center;
display: block;
.nav-link {
margin: 0 auto;
font-weight: 400;
letter-spacing: 0.5px;
padding: 10px;
font-size: 0px;
text-align: center;
display: block;
box-sizing: border-box;
width: 47px;
&__icon {
font-size: 200%;
display: block;
}
@media only screen and (min-width: 500px) {
font-size: 11px;
padding: 15px;
width: 120px;
}
i {
font-size: 1.5rem;
@media only screen and (min-width: 500px) {
margin-bottom: 5px;
}
}
}
}
.active,
.nav-item:hover {
@media only screen and (min-width: 500px) {
margin-right: -$sidebarDecorationOverflow;
}
&::after {
opacity: 1 !important;
}
}
}
}