mirror of
https://git.rdcenter.ru/RDCenter/skb-kit.git
synced 2026-12-05 05:39:45 +00:00
Вынес цвета в отдельный файл
This commit is contained in:
1 parent
bec4d41ea9
commit
d3ab3ce6ef
9 files changed
+55
-30
No files matched your search
@@ -0,0 +1,17 @@
|
|||||||
|
$bg-primary: white;
|
||||||
|
$bg-secondary: #343434;
|
||||||
|
$bg-footer: #222222;
|
||||||
|
$bg-form: #EDEDED;
|
||||||
|
$bg-card-lab: black;
|
||||||
|
$bg-image: rgba(0, 0, 0, .75);
|
||||||
|
|
||||||
|
$text-primary: black;
|
||||||
|
$text-secondary: white;
|
||||||
|
$text-card-project: #767676;
|
||||||
|
$text-card-project-bg: rgba(255, 255, 255, 0.75);
|
||||||
|
|
||||||
|
$shadow-primary: rgba(0, 0, 0, 0.25);
|
||||||
|
|
||||||
|
$btn-primary-text: white;
|
||||||
|
$btn-primary-bg: linear-gradient(93.25deg, #4942E4 0%, #11009E 50%, #4942E4 100%),
|
||||||
|
linear-gradient(0deg, #585858, #585858);
|
||||||
@@ -1,8 +1,10 @@
|
|||||||
|
@import "../../assets/styles/theme.scss";
|
||||||
|
|
||||||
.contact-form {
|
.contact-form {
|
||||||
padding: 24px 26px;
|
padding: 24px 26px;
|
||||||
border-radius: 16px;
|
border-radius: 16px;
|
||||||
|
|
||||||
background-color: #EDEDED;
|
background-color: $bg-form;
|
||||||
|
|
||||||
h2 {
|
h2 {
|
||||||
margin-top: 0;
|
margin-top: 0;
|
||||||
|
|||||||
@@ -1,3 +1,5 @@
|
|||||||
|
@import "../../assets/styles/theme.scss";
|
||||||
|
|
||||||
.footer {
|
.footer {
|
||||||
display: flex;
|
display: flex;
|
||||||
justify-content: space-between;
|
justify-content: space-between;
|
||||||
@@ -5,7 +7,7 @@
|
|||||||
|
|
||||||
height: 160px;
|
height: 160px;
|
||||||
padding: 0 10%;
|
padding: 0 10%;
|
||||||
background: #222222;
|
background: $bg-footer;
|
||||||
|
|
||||||
.logo-container {
|
.logo-container {
|
||||||
height: 80px;
|
height: 80px;
|
||||||
@@ -18,7 +20,7 @@
|
|||||||
}
|
}
|
||||||
|
|
||||||
.contacts {
|
.contacts {
|
||||||
color: white;
|
color: $text-secondary;
|
||||||
font-size: 18px;
|
font-size: 18px;
|
||||||
font-weight: 400;
|
font-weight: 400;
|
||||||
line-height: 22px;
|
line-height: 22px;
|
||||||
@@ -36,7 +38,7 @@
|
|||||||
width: 60px;
|
width: 60px;
|
||||||
aspect-ratio: 1;
|
aspect-ratio: 1;
|
||||||
border-radius: 100%;
|
border-radius: 100%;
|
||||||
background-color: white;
|
background-color: $bg-primary;
|
||||||
|
|
||||||
.icon {
|
.icon {
|
||||||
width: 80%;
|
width: 80%;
|
||||||
|
|||||||
@@ -1,5 +1,4 @@
|
|||||||
$primary-bg-color: #343434;
|
@import "../../assets/styles/theme.scss";
|
||||||
$primary-text-color: white;
|
|
||||||
|
|
||||||
.navbar {
|
.navbar {
|
||||||
position: absolute;
|
position: absolute;
|
||||||
@@ -8,7 +7,7 @@ $primary-text-color: white;
|
|||||||
height: 60px;
|
height: 60px;
|
||||||
max-height: 80px;
|
max-height: 80px;
|
||||||
padding: 1em 10%;
|
padding: 1em 10%;
|
||||||
background: $primary-bg-color;
|
background: $bg-secondary;
|
||||||
|
|
||||||
|
|
||||||
display: flex;
|
display: flex;
|
||||||
@@ -35,13 +34,13 @@ $primary-text-color: white;
|
|||||||
letter-spacing: 0em;
|
letter-spacing: 0em;
|
||||||
padding: .25em;
|
padding: .25em;
|
||||||
margin-left: 40px;
|
margin-left: 40px;
|
||||||
color: $primary-text-color;
|
color: $text-secondary;
|
||||||
text-decoration: none;
|
text-decoration: none;
|
||||||
text-wrap: nowrap;
|
text-wrap: nowrap;
|
||||||
}
|
}
|
||||||
|
|
||||||
.nav-link::after {
|
.nav-link::after {
|
||||||
background: white;
|
background: $text-secondary;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
@@ -1,3 +1,5 @@
|
|||||||
|
@import "../../../assets/styles/theme.scss";
|
||||||
|
|
||||||
.arrows {
|
.arrows {
|
||||||
position: absolute;
|
position: absolute;
|
||||||
z-index: 1;
|
z-index: 1;
|
||||||
@@ -10,7 +12,6 @@
|
|||||||
width: calc(100% - 30% + 60px);
|
width: calc(100% - 30% + 60px);
|
||||||
left: calc(15% - 30px);
|
left: calc(15% - 30px);
|
||||||
margin: 0 auto;
|
margin: 0 auto;
|
||||||
color: white;
|
|
||||||
|
|
||||||
.arrow {
|
.arrow {
|
||||||
display: flex;
|
display: flex;
|
||||||
@@ -21,7 +22,8 @@
|
|||||||
width: 60px;
|
width: 60px;
|
||||||
padding-right: 5px;
|
padding-right: 5px;
|
||||||
border-radius: 100%;
|
border-radius: 100%;
|
||||||
background: #D9D9D9;
|
background: $bg-primary;
|
||||||
|
box-shadow: 0px 4px 4px 0px $shadow-primary;
|
||||||
font-size: 30px;
|
font-size: 30px;
|
||||||
box-sizing: border-box;
|
box-sizing: border-box;
|
||||||
|
|
||||||
|
|||||||
@@ -1,3 +1,5 @@
|
|||||||
|
@import "../../../../assets/styles/theme.scss";
|
||||||
|
|
||||||
.labs {
|
.labs {
|
||||||
.row {
|
.row {
|
||||||
display: flex;
|
display: flex;
|
||||||
@@ -13,12 +15,9 @@
|
|||||||
position: relative;
|
position: relative;
|
||||||
|
|
||||||
border-radius: 8px;
|
border-radius: 8px;
|
||||||
border-width: 1px;
|
|
||||||
border-style: solid;
|
|
||||||
border-color: #D9D9D9;
|
|
||||||
|
|
||||||
color: white;
|
color: $text-secondary;
|
||||||
background: black;
|
background: $bg-card-lab;
|
||||||
|
|
||||||
.image {
|
.image {
|
||||||
position: absolute;
|
position: absolute;
|
||||||
|
|||||||
@@ -17,7 +17,6 @@
|
|||||||
height: 100%;
|
height: 100%;
|
||||||
aspect-ratio: 1;
|
aspect-ratio: 1;
|
||||||
border-radius: 100%;
|
border-radius: 100%;
|
||||||
background: #D9D9D9;
|
|
||||||
|
|
||||||
.logo {
|
.logo {
|
||||||
width: 100%;
|
width: 100%;
|
||||||
|
|||||||
@@ -1,3 +1,5 @@
|
|||||||
|
@import "../../../../assets/styles/theme.scss";
|
||||||
|
|
||||||
.projects {
|
.projects {
|
||||||
|
|
||||||
.row {
|
.row {
|
||||||
@@ -38,9 +40,9 @@
|
|||||||
font-size: 20px;
|
font-size: 20px;
|
||||||
font-weight: 500;
|
font-weight: 500;
|
||||||
line-height: 24px;
|
line-height: 24px;
|
||||||
color: #767676;
|
color: $text-card-project;
|
||||||
|
|
||||||
background-color: rgba(255, 255, 255, 0.75);
|
background-color: $text-card-project-bg;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -1,7 +1,4 @@
|
|||||||
$primary-bg: #343434;
|
@import "../../assets/styles/theme.scss";
|
||||||
$secondary-bg: white;
|
|
||||||
$primary-text: white;
|
|
||||||
$btn-dark: #585858;
|
|
||||||
|
|
||||||
#page {
|
#page {
|
||||||
margin-top: calc(60px + 2em);
|
margin-top: calc(60px + 2em);
|
||||||
@@ -13,9 +10,9 @@ $btn-dark: #585858;
|
|||||||
display: flex;
|
display: flex;
|
||||||
flex-direction: column;
|
flex-direction: column;
|
||||||
|
|
||||||
color: $primary-text;
|
color: $text-secondary;
|
||||||
background-image: url(/assets/images/car.jpeg);
|
background-image: url(/assets/images/car.jpeg);
|
||||||
background-color: rgba(0, 0, 0, .75);
|
background-color: $bg-image;
|
||||||
background-blend-mode: multiply;
|
background-blend-mode: multiply;
|
||||||
background-position: center;
|
background-position: center;
|
||||||
background-size: cover;
|
background-size: cover;
|
||||||
@@ -37,7 +34,7 @@ $btn-dark: #585858;
|
|||||||
}
|
}
|
||||||
|
|
||||||
.content {
|
.content {
|
||||||
background: $secondary-bg;
|
background: $bg-primary;
|
||||||
|
|
||||||
.block {
|
.block {
|
||||||
margin: 0 10% 32px;
|
margin: 0 10% 32px;
|
||||||
@@ -61,7 +58,7 @@ $btn-dark: #585858;
|
|||||||
font-weight: 400;
|
font-weight: 400;
|
||||||
line-height: 29px;
|
line-height: 29px;
|
||||||
text-align: right;
|
text-align: right;
|
||||||
color: black;
|
color: $text-primary;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
@@ -78,8 +75,14 @@ $btn-dark: #585858;
|
|||||||
font-weight: 600;
|
font-weight: 600;
|
||||||
line-height: 24px;
|
line-height: 24px;
|
||||||
|
|
||||||
color: white;
|
color: $btn-primary-text;
|
||||||
background-color: $btn-dark;
|
background: $btn-primary-bg;
|
||||||
|
background-size: 200%;
|
||||||
|
transition: .5s;
|
||||||
|
}
|
||||||
|
|
||||||
|
.btn:hover {
|
||||||
|
background-position: 100%;
|
||||||
}
|
}
|
||||||
|
|
||||||
.block .heading a,
|
.block .heading a,
|
||||||
@@ -101,7 +104,7 @@ $btn-dark: #585858;
|
|||||||
}
|
}
|
||||||
|
|
||||||
.block .heading a::after {
|
.block .heading a::after {
|
||||||
background: black;
|
background: $text-primary;
|
||||||
}
|
}
|
||||||
|
|
||||||
.block .heading a:hover:after,
|
.block .heading a:hover:after,
|
||||||
|
|||||||
Reference in new issue
Block a user