update main.scss: + variables, wrapper -> body-wrapper, content -> body-wrapper__content
This commit is contained in:
1 parent
08edc95ea3
commit
612a625548
2 files changed
+11
-29
No files matched your search
+9
-27
@@ -1,3 +1,5 @@
|
|||||||
|
@import "variables";
|
||||||
|
|
||||||
* {
|
* {
|
||||||
margin: 0;
|
margin: 0;
|
||||||
padding: 0;
|
padding: 0;
|
||||||
@@ -8,32 +10,32 @@ html, body {
|
|||||||
}
|
}
|
||||||
|
|
||||||
body {
|
body {
|
||||||
font-family: "PT Sans", Arial, sans-serif;
|
font-family: $text-font;
|
||||||
min-width: 320px;
|
min-width: 320px;
|
||||||
}
|
}
|
||||||
|
|
||||||
.wrapper {
|
.body-wrapper {
|
||||||
display: flex;
|
display: flex;
|
||||||
min-height: 100%;
|
min-height: 100%;
|
||||||
flex-direction: column;
|
flex-direction: column;
|
||||||
}
|
}
|
||||||
|
|
||||||
.content {
|
.body-wrapper__content {
|
||||||
flex: 1;
|
flex: 1;
|
||||||
margin: 41px auto 0;
|
margin: 41px auto 0;
|
||||||
}
|
}
|
||||||
|
|
||||||
a {
|
a {
|
||||||
color: #3f9cea;
|
color: $blue-color;
|
||||||
text-decoration: none;
|
text-decoration: none;
|
||||||
border-bottom: 1px solid rgba(63, 156, 234, 0.25);
|
border-bottom: 1px solid lighten($blue-color, 25%);
|
||||||
|
|
||||||
&:hover {
|
&:hover {
|
||||||
border-bottom: 1px solid rgba(63, 156, 234, 0.5);
|
border-bottom: 1px solid lighten($blue-color, 10%);
|
||||||
}
|
}
|
||||||
|
|
||||||
&:active {
|
&:active {
|
||||||
border-bottom: 1px solid rgb(63, 156, 234);
|
border-bottom: 1px solid $blue-color;
|
||||||
}
|
}
|
||||||
|
|
||||||
&.invisible {
|
&.invisible {
|
||||||
@@ -54,23 +56,3 @@ h3 a {
|
|||||||
border-bottom: 1px solid #000000;
|
border-bottom: 1px solid #000000;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
ul.submenu {
|
|
||||||
list-style: none;
|
|
||||||
display: inline-block;
|
|
||||||
margin: 0 auto;
|
|
||||||
width: 70%;
|
|
||||||
text-align: center;
|
|
||||||
|
|
||||||
li {
|
|
||||||
display: inline-block;
|
|
||||||
vertical-align: top;
|
|
||||||
margin: 0 30px 0 0;
|
|
||||||
|
|
||||||
p {
|
|
||||||
margin: 2px 0 0;
|
|
||||||
font-size: 0.75em;
|
|
||||||
color: #999;
|
|
||||||
}
|
|
||||||
}
|
|
||||||
}
|
|
||||||
@@ -45,12 +45,12 @@
|
|||||||
</script>
|
</script>
|
||||||
</head>
|
</head>
|
||||||
<body>
|
<body>
|
||||||
<div class="wrapper" ng-controller="AppController">
|
<div class="body-wrapper" ng-controller="AppController">
|
||||||
<header>
|
<header>
|
||||||
<main-menu items="menuProvider"></main-menu>
|
<main-menu items="menuProvider"></main-menu>
|
||||||
</header>
|
</header>
|
||||||
|
|
||||||
<div class="content">
|
<div class="body-wrapper__content">
|
||||||
<div class="page {{pageClass}}" ng-view autoscroll="true"></div>
|
<div class="page {{pageClass}}" ng-view autoscroll="true"></div>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
|
|||||||
Reference in new issue
Block a user