mirror of
https://git.rdcenter.ru/RDCenter/skb-kit.git
synced 2026-12-05 03:19: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 {
|
||||
padding: 24px 26px;
|
||||
border-radius: 16px;
|
||||
|
||||
background-color: #EDEDED;
|
||||
background-color: $bg-form;
|
||||
|
||||
h2 {
|
||||
margin-top: 0;
|
||||
|
||||
@@ -1,3 +1,5 @@
|
||||
@import "../../assets/styles/theme.scss";
|
||||
|
||||
.footer {
|
||||
display: flex;
|
||||
justify-content: space-between;
|
||||
@@ -5,7 +7,7 @@
|
||||
|
||||
height: 160px;
|
||||
padding: 0 10%;
|
||||
background: #222222;
|
||||
background: $bg-footer;
|
||||
|
||||
.logo-container {
|
||||
height: 80px;
|
||||
@@ -18,7 +20,7 @@
|
||||
}
|
||||
|
||||
.contacts {
|
||||
color: white;
|
||||
color: $text-secondary;
|
||||
font-size: 18px;
|
||||
font-weight: 400;
|
||||
line-height: 22px;
|
||||
@@ -36,7 +38,7 @@
|
||||
width: 60px;
|
||||
aspect-ratio: 1;
|
||||
border-radius: 100%;
|
||||
background-color: white;
|
||||
background-color: $bg-primary;
|
||||
|
||||
.icon {
|
||||
width: 80%;
|
||||
|
||||
@@ -1,5 +1,4 @@
|
||||
$primary-bg-color: #343434;
|
||||
$primary-text-color: white;
|
||||
@import "../../assets/styles/theme.scss";
|
||||
|
||||
.navbar {
|
||||
position: absolute;
|
||||
@@ -8,7 +7,7 @@ $primary-text-color: white;
|
||||
height: 60px;
|
||||
max-height: 80px;
|
||||
padding: 1em 10%;
|
||||
background: $primary-bg-color;
|
||||
background: $bg-secondary;
|
||||
|
||||
|
||||
display: flex;
|
||||
@@ -35,13 +34,13 @@ $primary-text-color: white;
|
||||
letter-spacing: 0em;
|
||||
padding: .25em;
|
||||
margin-left: 40px;
|
||||
color: $primary-text-color;
|
||||
color: $text-secondary;
|
||||
text-decoration: none;
|
||||
text-wrap: nowrap;
|
||||
}
|
||||
|
||||
.nav-link::after {
|
||||
background: white;
|
||||
background: $text-secondary;
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -1,3 +1,5 @@
|
||||
@import "../../../assets/styles/theme.scss";
|
||||
|
||||
.arrows {
|
||||
position: absolute;
|
||||
z-index: 1;
|
||||
@@ -10,7 +12,6 @@
|
||||
width: calc(100% - 30% + 60px);
|
||||
left: calc(15% - 30px);
|
||||
margin: 0 auto;
|
||||
color: white;
|
||||
|
||||
.arrow {
|
||||
display: flex;
|
||||
@@ -21,7 +22,8 @@
|
||||
width: 60px;
|
||||
padding-right: 5px;
|
||||
border-radius: 100%;
|
||||
background: #D9D9D9;
|
||||
background: $bg-primary;
|
||||
box-shadow: 0px 4px 4px 0px $shadow-primary;
|
||||
font-size: 30px;
|
||||
box-sizing: border-box;
|
||||
|
||||
|
||||
@@ -1,3 +1,5 @@
|
||||
@import "../../../../assets/styles/theme.scss";
|
||||
|
||||
.labs {
|
||||
.row {
|
||||
display: flex;
|
||||
@@ -13,12 +15,9 @@
|
||||
position: relative;
|
||||
|
||||
border-radius: 8px;
|
||||
border-width: 1px;
|
||||
border-style: solid;
|
||||
border-color: #D9D9D9;
|
||||
|
||||
color: white;
|
||||
background: black;
|
||||
color: $text-secondary;
|
||||
background: $bg-card-lab;
|
||||
|
||||
.image {
|
||||
position: absolute;
|
||||
|
||||
@@ -17,7 +17,6 @@
|
||||
height: 100%;
|
||||
aspect-ratio: 1;
|
||||
border-radius: 100%;
|
||||
background: #D9D9D9;
|
||||
|
||||
.logo {
|
||||
width: 100%;
|
||||
|
||||
@@ -1,3 +1,5 @@
|
||||
@import "../../../../assets/styles/theme.scss";
|
||||
|
||||
.projects {
|
||||
|
||||
.row {
|
||||
@@ -38,9 +40,9 @@
|
||||
font-size: 20px;
|
||||
font-weight: 500;
|
||||
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;
|
||||
$secondary-bg: white;
|
||||
$primary-text: white;
|
||||
$btn-dark: #585858;
|
||||
@import "../../assets/styles/theme.scss";
|
||||
|
||||
#page {
|
||||
margin-top: calc(60px + 2em);
|
||||
@@ -13,9 +10,9 @@ $btn-dark: #585858;
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
|
||||
color: $primary-text;
|
||||
color: $text-secondary;
|
||||
background-image: url(/assets/images/car.jpeg);
|
||||
background-color: rgba(0, 0, 0, .75);
|
||||
background-color: $bg-image;
|
||||
background-blend-mode: multiply;
|
||||
background-position: center;
|
||||
background-size: cover;
|
||||
@@ -37,7 +34,7 @@ $btn-dark: #585858;
|
||||
}
|
||||
|
||||
.content {
|
||||
background: $secondary-bg;
|
||||
background: $bg-primary;
|
||||
|
||||
.block {
|
||||
margin: 0 10% 32px;
|
||||
@@ -61,7 +58,7 @@ $btn-dark: #585858;
|
||||
font-weight: 400;
|
||||
line-height: 29px;
|
||||
text-align: right;
|
||||
color: black;
|
||||
color: $text-primary;
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -78,8 +75,14 @@ $btn-dark: #585858;
|
||||
font-weight: 600;
|
||||
line-height: 24px;
|
||||
|
||||
color: white;
|
||||
background-color: $btn-dark;
|
||||
color: $btn-primary-text;
|
||||
background: $btn-primary-bg;
|
||||
background-size: 200%;
|
||||
transition: .5s;
|
||||
}
|
||||
|
||||
.btn:hover {
|
||||
background-position: 100%;
|
||||
}
|
||||
|
||||
.block .heading a,
|
||||
@@ -101,7 +104,7 @@ $btn-dark: #585858;
|
||||
}
|
||||
|
||||
.block .heading a::after {
|
||||
background: black;
|
||||
background: $text-primary;
|
||||
}
|
||||
|
||||
.block .heading a:hover:after,
|
||||
|
||||
Reference in new issue
Block a user