Test version
This commit is contained in:
1
resources/assets/sass/abstracts/_fonts.scss
vendored
Normal file
1
resources/assets/sass/abstracts/_fonts.scss
vendored
Normal file
@@ -0,0 +1 @@
|
||||
@import url('https://fonts.googleapis.com/css2?family=Nunito:ital,wght@0,200..1000;1,200..1000&display=swap');
|
||||
1
resources/assets/sass/abstracts/_index.scss
vendored
Normal file
1
resources/assets/sass/abstracts/_index.scss
vendored
Normal file
@@ -0,0 +1 @@
|
||||
@forward 'variables';
|
||||
@@ -36,3 +36,8 @@ $input-color-placeholder: lighten($text-color, 30%);
|
||||
|
||||
// Panels
|
||||
$panel-default-heading-bg: #fff;
|
||||
|
||||
// Nav
|
||||
$nav-text-color: #1a1a1a;
|
||||
$nav-text-weight: bold;
|
||||
$nav-text-size: 14px;
|
||||
4
resources/assets/sass/app.scss
vendored
4
resources/assets/sass/app.scss
vendored
@@ -3,7 +3,7 @@
|
||||
@import url("https://fonts.googleapis.com/css?family=Raleway:300,400,600");
|
||||
|
||||
// Variables
|
||||
@import "variables";
|
||||
@import "abstracts/variables";
|
||||
|
||||
// Bootstrap
|
||||
@import "node_modules/bootstrap-sass/assets/stylesheets/bootstrap";
|
||||
//@import "node_modules/bootstrap-sass/assets/stylesheets/bootstrap";
|
||||
|
||||
6
resources/assets/sass/base/_base.scss
vendored
Normal file
6
resources/assets/sass/base/_base.scss
vendored
Normal file
@@ -0,0 +1,6 @@
|
||||
@use "../abstracts/fonts";
|
||||
@use "clearfix";
|
||||
@use "container";
|
||||
|
||||
@use "../layout/header";
|
||||
@use "../components/main_news";
|
||||
5
resources/assets/sass/base/_clearfix.scss
vendored
Normal file
5
resources/assets/sass/base/_clearfix.scss
vendored
Normal file
@@ -0,0 +1,5 @@
|
||||
.clearfix::after {
|
||||
display: block;
|
||||
clear: both;
|
||||
content: "";
|
||||
}
|
||||
4
resources/assets/sass/base/_container.scss
vendored
Normal file
4
resources/assets/sass/base/_container.scss
vendored
Normal file
@@ -0,0 +1,4 @@
|
||||
.site_container {
|
||||
max-width: 1440px;
|
||||
margin: 0 auto;
|
||||
}
|
||||
9
resources/assets/sass/components/_header.scss
vendored
Normal file
9
resources/assets/sass/components/_header.scss
vendored
Normal file
@@ -0,0 +1,9 @@
|
||||
.header {
|
||||
height: 110px;
|
||||
}
|
||||
.header .logo {
|
||||
margin-left: 135px;
|
||||
}
|
||||
.header .logo img {
|
||||
height: 75px;
|
||||
}
|
||||
9
resources/assets/sass/components/_main_news.scss
vendored
Normal file
9
resources/assets/sass/components/_main_news.scss
vendored
Normal file
@@ -0,0 +1,9 @@
|
||||
.blog_grid {
|
||||
img {
|
||||
max-width: 100%;
|
||||
}
|
||||
.row, .row > * {
|
||||
padding: 0;
|
||||
margin: 0;
|
||||
}
|
||||
}
|
||||
91
resources/assets/sass/components/_menu.scss
vendored
Normal file
91
resources/assets/sass/components/_menu.scss
vendored
Normal file
@@ -0,0 +1,91 @@
|
||||
@use "../abstracts/variables" as *;
|
||||
|
||||
.menu_container {
|
||||
height: 75px;
|
||||
margin-bottom: 20px;
|
||||
background-image: linear-gradient(to right, #0102b0, #4090e3);
|
||||
|
||||
.menu {
|
||||
list-style-type: none;
|
||||
padding: 0;
|
||||
margin: 0;
|
||||
overflow: hidden;
|
||||
position: relative;
|
||||
z-index: 0;
|
||||
|
||||
li {
|
||||
float: left;
|
||||
|
||||
ul {
|
||||
display: none;
|
||||
}
|
||||
|
||||
a {
|
||||
display: block;
|
||||
font-family: Nunito, serif;
|
||||
color: $nav-text-color;
|
||||
font-weight: $nav-text-weight;
|
||||
font-size: $nav-text-size;
|
||||
text-align: center;
|
||||
padding: 5px 20px 5px 40px;
|
||||
text-decoration: none;
|
||||
background: white;
|
||||
}
|
||||
|
||||
&.selected a, &:hover a {
|
||||
color: white;
|
||||
background: transparent;
|
||||
position: relative;
|
||||
|
||||
&:before {
|
||||
content: '';
|
||||
display: block;
|
||||
width: 33px;
|
||||
height: 25px;
|
||||
background-image: URL('/images/menu-corner-1.svg');
|
||||
position: absolute;
|
||||
top: 0;
|
||||
left: 0;
|
||||
z-index: 1;
|
||||
}
|
||||
|
||||
&:after {
|
||||
content: '';
|
||||
display: block;
|
||||
width: 10px;
|
||||
height: 12px;
|
||||
background-image: URL('/images/menu-corner-2.svg');
|
||||
position: absolute;
|
||||
bottom: 0;
|
||||
right: -1px;
|
||||
z-index: 1;
|
||||
}
|
||||
}
|
||||
|
||||
&:first-child {
|
||||
width: 135px;
|
||||
display: block;
|
||||
background: white;
|
||||
height: 25px;
|
||||
}
|
||||
|
||||
&:last-child {
|
||||
margin-left: 10px;
|
||||
|
||||
&:after {
|
||||
content: '\a0';
|
||||
z-index: -1;
|
||||
background: white;
|
||||
position: absolute;
|
||||
top: 0;
|
||||
width: 100%;
|
||||
height: 100%;
|
||||
margin-left: -10px;
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
.top_menu_container {
|
||||
height: 50px;
|
||||
}
|
||||
50
resources/assets/sass/components/_now-playing.scss
vendored
Normal file
50
resources/assets/sass/components/_now-playing.scss
vendored
Normal file
@@ -0,0 +1,50 @@
|
||||
.header .now-playing-header {
|
||||
float: right;
|
||||
}
|
||||
.now-playing-header {
|
||||
font-size: 16pt;
|
||||
font-family: 'Roboto Condensed', serif;
|
||||
font-weight: 300;
|
||||
/* background: #F6F6F6; */
|
||||
background: rgba(246, 246, 246, 0.4);
|
||||
width: 728px;
|
||||
color: #787878;
|
||||
text-align: center;
|
||||
display: block;
|
||||
overflow: hidden;
|
||||
position: relative;
|
||||
margin: auto;
|
||||
padding-top: 10px;
|
||||
padding-bottom: 30px;
|
||||
|
||||
.title {
|
||||
font-weight: bold;
|
||||
font-size: 120%;
|
||||
}
|
||||
|
||||
.title, .artist {
|
||||
padding: 3px;
|
||||
}
|
||||
|
||||
.controls {
|
||||
font-size: 75%;
|
||||
bottom: 0;
|
||||
position: absolute;
|
||||
padding: 3px;
|
||||
width: 100%;
|
||||
|
||||
li {
|
||||
display: inline-block;
|
||||
|
||||
a {
|
||||
line-height: 120%;
|
||||
font-size: 80%;
|
||||
color: #ABABAB;
|
||||
display: block;
|
||||
padding: 4px;
|
||||
margin-left: 5px;
|
||||
margin-right: 5px;
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
3
resources/assets/sass/layout/_header.scss
vendored
Normal file
3
resources/assets/sass/layout/_header.scss
vendored
Normal file
@@ -0,0 +1,3 @@
|
||||
@use "../components/header";
|
||||
@use '../components/menu';
|
||||
@use '../components/now-playing';
|
||||
1
resources/assets/sass/style.scss
vendored
Normal file
1
resources/assets/sass/style.scss
vendored
Normal file
@@ -0,0 +1 @@
|
||||
@use 'base/base';
|
||||
Reference in New Issue
Block a user