refactor
This commit is contained in:
@@ -1,3 +1,4 @@
|
||||
@use './variable.scss' as v;
|
||||
@use './header.scss';
|
||||
@use './pages-styles.scss';
|
||||
@use './settings.scss';
|
||||
@@ -6,11 +7,36 @@
|
||||
@use './privacy-and-terms-pages.scss';
|
||||
@use './VKLogin.scss';
|
||||
|
||||
.page-title {
|
||||
font-size: 28px;
|
||||
font-weight: 600;
|
||||
margin-bottom: 30px;
|
||||
display: flex;
|
||||
align-items: center;
|
||||
color: #1f2937;
|
||||
font-family: Verdana, Geneva, Tahoma, sans-serif;
|
||||
|
||||
.icon {
|
||||
margin-left: 5px;
|
||||
margin-top: 5px;
|
||||
color: v.$p-color;
|
||||
}
|
||||
|
||||
&::before {
|
||||
content: '';
|
||||
width: 8px;
|
||||
height: 8px;
|
||||
background: v.$p-color;
|
||||
border-radius: 50%;
|
||||
margin-right: 15px;
|
||||
}
|
||||
}
|
||||
|
||||
.main-containter-wrapper {
|
||||
margin-left: 280px;
|
||||
flex: 1;
|
||||
padding: 30px;
|
||||
background: #f8f9ff;
|
||||
background: v.$bg-light;
|
||||
min-height: 100vh;
|
||||
}
|
||||
|
||||
@@ -34,34 +60,34 @@
|
||||
}
|
||||
|
||||
.btn-primary {
|
||||
background: linear-gradient(135deg, #6366f1, #8b5cf6);
|
||||
color: white;
|
||||
background: linear-gradient(135deg, v.$p-color, v.$s-color);
|
||||
color: v.$white;
|
||||
border: 2px solid transparent;
|
||||
|
||||
&:hover {
|
||||
transform: translateY(-2px);
|
||||
box-shadow: 0 8px 25px rgba(99, 102, 241, 0.3);
|
||||
box-shadow: 0 8px 25px v.$shadow-1;
|
||||
}
|
||||
}
|
||||
|
||||
.btn-secondary {
|
||||
background: #f3f4f6;
|
||||
color: #374151;
|
||||
background: v.$bg-hover;
|
||||
color: v.$text-p;
|
||||
border: 2px solid transparent;
|
||||
|
||||
&:hover {
|
||||
background: #e5e7eb;
|
||||
background: v.$bg-light;
|
||||
}
|
||||
}
|
||||
|
||||
.btn-outline {
|
||||
background: transparent;
|
||||
border: 2px solid #6366f1;
|
||||
color: #6366f1;
|
||||
border: 2px solid v.$p-color;
|
||||
color: v.$p-color;
|
||||
|
||||
&:hover {
|
||||
background: #6366f1;
|
||||
color: white;
|
||||
background: v.$p-color;
|
||||
color: v.$white;
|
||||
}
|
||||
}
|
||||
|
||||
@@ -69,7 +95,7 @@
|
||||
text-align: center;
|
||||
margin: 20px 0;
|
||||
position: relative;
|
||||
color: #9ca3af;
|
||||
color: v.$text-m;
|
||||
font-size: 14px;
|
||||
|
||||
&::before {
|
||||
@@ -79,11 +105,11 @@
|
||||
left: 0;
|
||||
right: 0;
|
||||
height: 1px;
|
||||
background: #e5e7eb;
|
||||
background: v.$b-color-2;
|
||||
}
|
||||
|
||||
span {
|
||||
background: white;
|
||||
background: v.$white;
|
||||
padding: 0 15px;
|
||||
position: relative;
|
||||
}
|
||||
@@ -96,17 +122,6 @@
|
||||
margin-bottom: 30px;
|
||||
}
|
||||
|
||||
.main-content {
|
||||
padding: 60px 0 100px;
|
||||
background: linear-gradient(135deg, #f8fafc 0%, #ffffff 100%);
|
||||
|
||||
.container {
|
||||
max-width: 1400px;
|
||||
margin: 0 auto;
|
||||
padding: 0 24px;
|
||||
}
|
||||
}
|
||||
|
||||
.show-password-button {
|
||||
cursor: pointer;
|
||||
position: absolute;
|
||||
@@ -122,7 +137,7 @@
|
||||
|
||||
&.show {
|
||||
svg {
|
||||
color: #8b5cf6;
|
||||
color: v.$s-color;
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -148,7 +163,7 @@
|
||||
left: 0;
|
||||
width: 100vw;
|
||||
height: 100vh;
|
||||
background: #0000007a;
|
||||
background: v.$bg-darkening;
|
||||
|
||||
.modal-window {
|
||||
position: absolute;
|
||||
@@ -156,10 +171,10 @@
|
||||
left: 50%;
|
||||
transform: translate(-50%, -50%);
|
||||
padding: 20px;
|
||||
background: #fff;
|
||||
color: #000;
|
||||
background: v.$white;
|
||||
color: v.$text-p;
|
||||
border-radius: 20px;
|
||||
box-shadow: rgba(0, 0, 0, 0.08) 0px 4px 20px;
|
||||
box-shadow: 0px 4px 20px v.$shadow-1;
|
||||
}
|
||||
}
|
||||
|
||||
@@ -178,7 +193,7 @@
|
||||
|
||||
.sidebar {
|
||||
width: 280px;
|
||||
background: linear-gradient(180deg, #6366f1 0%, #8b5cf6 100%);
|
||||
background: linear-gradient(180deg, v.$p-color 0%, v.$s-color 100%);
|
||||
padding: 30px 0;
|
||||
position: fixed;
|
||||
height: 100vh;
|
||||
@@ -190,7 +205,7 @@
|
||||
display: flex;
|
||||
align-items: center;
|
||||
padding: 15px 30px;
|
||||
color: rgba(255, 255, 255, 0.8);
|
||||
color: v.$text-w;
|
||||
text-decoration: none;
|
||||
transition: all 0.3s;
|
||||
border-radius: 0 25px 25px 0;
|
||||
@@ -200,8 +215,8 @@
|
||||
text-transform: uppercase;
|
||||
|
||||
&:hover {
|
||||
background: rgba(255, 255, 255, 0.15);
|
||||
color: white;
|
||||
background: #ffffff26;
|
||||
color: v.$white;
|
||||
}
|
||||
|
||||
svg {
|
||||
@@ -244,8 +259,9 @@
|
||||
max-height: 0;
|
||||
overflow: hidden;
|
||||
transition: max-height 0.3s ease;
|
||||
background: rgba(255, 255, 255, 0.1);
|
||||
background: #ffffff26;
|
||||
margin-right: 20px;
|
||||
margin-bottom: 8px;
|
||||
border-radius: 0 15px 15px 0;
|
||||
}
|
||||
|
||||
@@ -253,7 +269,7 @@
|
||||
display: flex;
|
||||
align-items: center;
|
||||
padding: 0 30px 40px;
|
||||
color: white;
|
||||
color: v.$white;
|
||||
font-size: 24px;
|
||||
font-weight: 600;
|
||||
text-transform: uppercase;
|
||||
@@ -271,13 +287,13 @@
|
||||
justify-content: center;
|
||||
width: 60px;
|
||||
height: 60px;
|
||||
background: linear-gradient(135deg, #6366f1, #8b5cf6);
|
||||
background: linear-gradient(135deg, v.$p-color, v.$s-color);
|
||||
border-radius: 15px;
|
||||
margin-bottom: 15px;
|
||||
|
||||
svg {
|
||||
width: 30px;
|
||||
height: 30px;
|
||||
fill: white;
|
||||
fill: v.$white;
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user