Files
no-copy-frontend/src/app/styles/global-styles.scss
T

335 lines
5.0 KiB
SCSS
Raw Normal View History

2025-12-27 13:47:51 +07:00
@use './variable.scss' as v;
2025-11-26 14:01:35 +07:00
@use './header.scss';
2025-12-17 12:50:01 +07:00
@use './pages-styles.scss';
2025-12-01 15:21:56 +07:00
@use './settings.scss';
2025-12-01 17:36:20 +07:00
@use './payment-container.scss';
2025-12-04 18:21:39 +07:00
@use './reports.scss';
2025-12-12 11:43:28 +07:00
@use './privacy-and-terms-pages.scss';
@use './VKLogin.scss';
2025-11-26 17:18:20 +07:00
2025-12-27 13:47:51 +07:00
.page-title {
2025-12-28 13:09:28 +07:00
font-size: 30px;
2025-12-27 13:47:51 +07:00
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;
}
}
2025-12-27 11:54:54 +07:00
.main-containter-wrapper {
2026-01-04 17:08:28 +07:00
margin-left: var(--side-bar-width);
;
2025-12-27 11:54:54 +07:00
flex: 1;
padding: 30px;
2025-12-27 13:47:51 +07:00
background: v.$bg-light;
2025-12-27 11:54:54 +07:00
min-height: 100vh;
}
.main-containter {
max-width: 1920px;
margin: 0 auto;
}
2026-01-04 13:27:59 +07:00
.block-wrapper {
background: v.$white;
border-radius: 20px;
padding: 25px;
box-shadow: 0 4px 20px v.$shadow-1;
border: 1px solid v.$b-color-1;
margin-bottom: 30px;
width: 100%;
max-width: calc(100vw - var(--side-bar-width) - 60px);
&.auto {
width: auto;
}
}
2025-11-26 17:18:20 +07:00
.btn {
padding: 12px 24px;
border-radius: 10px;
border: none;
cursor: pointer;
font-size: 14px;
font-weight: 600;
transition: all 0.3s;
text-decoration: none;
display: inline-flex;
align-items: center;
justify-content: center;
}
.btn-primary {
2025-12-27 13:47:51 +07:00
background: linear-gradient(135deg, v.$p-color, v.$s-color);
color: v.$white;
2025-11-26 17:18:20 +07:00
border: 2px solid transparent;
&:hover {
transform: translateY(-2px);
2025-12-27 13:47:51 +07:00
box-shadow: 0 8px 25px v.$shadow-1;
2025-11-26 17:18:20 +07:00
}
2025-11-27 13:48:24 +07:00
}
2025-12-01 15:21:56 +07:00
.btn-secondary {
2025-12-27 13:47:51 +07:00
background: v.$bg-hover;
color: v.$text-p;
2025-12-01 15:21:56 +07:00
border: 2px solid transparent;
&:hover {
2025-12-27 13:47:51 +07:00
background: v.$bg-light;
2025-12-01 15:21:56 +07:00
}
}
.btn-outline {
background: transparent;
2025-12-27 13:47:51 +07:00
border: 2px solid v.$p-color;
color: v.$p-color;
2025-12-01 15:21:56 +07:00
&:hover {
2025-12-27 13:47:51 +07:00
background: v.$p-color;
color: v.$white;
2025-12-01 15:21:56 +07:00
}
}
2025-11-27 13:48:24 +07:00
.divider {
text-align: center;
margin: 20px 0;
position: relative;
2025-12-27 13:47:51 +07:00
color: v.$text-m;
2025-11-27 13:48:24 +07:00
font-size: 14px;
&::before {
content: '';
position: absolute;
top: 50%;
left: 0;
right: 0;
height: 1px;
2025-12-27 13:47:51 +07:00
background: v.$b-color-2;
2025-11-27 13:48:24 +07:00
}
span {
2025-12-27 13:47:51 +07:00
background: v.$white;
2025-11-27 13:48:24 +07:00
padding: 0 15px;
position: relative;
}
2025-12-01 15:21:56 +07:00
}
.settings-grid {
display: grid;
grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
gap: 30px;
margin-bottom: 30px;
2025-12-12 11:43:28 +07:00
}
2025-12-15 12:22:42 +07:00
.show-password-button {
cursor: pointer;
position: absolute;
2025-12-22 14:30:25 +07:00
top: 50%;
2026-01-04 17:08:28 +07:00
right: 0px;
padding: 10px;
2025-12-22 14:30:25 +07:00
transform: translateY(-50%);
2025-12-15 12:22:42 +07:00
svg {
width: 16px;
color: #686060;
transition: color 0.2s ease;
2026-01-04 17:08:28 +07:00
&:hover {
color: v.$s-color;
}
2025-12-15 12:22:42 +07:00
}
&.show {
svg {
2025-12-27 13:47:51 +07:00
color: v.$s-color;
2025-12-15 12:22:42 +07:00
}
}
2025-12-16 20:26:17 +07:00
}
2025-12-18 17:21:18 +07:00
.modal-wrapper {
position: fixed;
z-index: 101;
top: 0;
left: 0;
width: 100vw;
height: 100vh;
2025-12-27 13:47:51 +07:00
background: v.$bg-darkening;
2025-12-18 17:21:18 +07:00
.modal-window {
position: absolute;
top: 50%;
left: 50%;
transform: translate(-50%, -50%);
padding: 20px;
2025-12-27 13:47:51 +07:00
background: v.$white;
color: v.$text-p;
2025-12-18 17:21:18 +07:00
border-radius: 20px;
2025-12-27 13:47:51 +07:00
box-shadow: 0px 4px 20px v.$shadow-1;
2025-12-18 17:21:18 +07:00
}
2025-12-19 13:05:50 +07:00
}
2025-12-27 11:54:54 +07:00
.sidebar {
2026-01-04 13:27:59 +07:00
/* width: v.$side-bar-width; */
width: var(--side-bar-width);
2025-12-27 13:47:51 +07:00
background: linear-gradient(180deg, v.$p-color 0%, v.$s-color 100%);
2025-12-27 11:54:54 +07:00
padding: 30px 0;
position: fixed;
height: 100vh;
overflow-y: auto;
z-index: 100;
}
.nav-link {
display: flex;
align-items: center;
padding: 15px 30px;
2025-12-27 13:47:51 +07:00
color: v.$text-w;
2025-12-27 11:54:54 +07:00
text-decoration: none;
transition: all 0.3s;
border-radius: 0 25px 25px 0;
margin-right: 20px;
margin-bottom: 8px;
font-weight: 500;
text-transform: uppercase;
&:hover {
2025-12-27 13:47:51 +07:00
background: #ffffff26;
color: v.$white;
2025-12-27 11:54:54 +07:00
}
svg {
margin-right: 15px;
width: 20px;
height: 20px;
}
2026-01-04 17:08:28 +07:00
@media (max-width: 1200px) {
padding: 5px 15px;
font-size: 15px;
}
2025-12-27 11:54:54 +07:00
}
.sub-link {
padding: 12px 50px;
font-size: 14px;
border-radius: 0;
margin-right: 0;
&:last-child {
margin-bottom: 0;
}
}
.nav-dropdown {
.dropdown-arrow {
margin-left: auto;
transition: transform 0.3s;
}
&.expanded {
.dropdown-arrow {
transform: rotate(180deg);
}
}
}
.sub-menu.expanded {
max-height: 400px;
}
.sub-menu {
list-style: none;
max-height: 0;
overflow: hidden;
transition: max-height 0.3s ease;
2025-12-27 13:47:51 +07:00
background: #ffffff26;
2025-12-27 11:54:54 +07:00
margin-right: 20px;
2025-12-27 13:47:51 +07:00
margin-bottom: 8px;
2025-12-27 11:54:54 +07:00
border-radius: 0 15px 15px 0;
}
.logo {
display: flex;
align-items: center;
padding: 0 30px 40px;
2025-12-27 13:47:51 +07:00
color: v.$white;
2025-12-27 11:54:54 +07:00
font-size: 24px;
font-weight: 600;
text-transform: uppercase;
2026-01-04 17:08:28 +07:00
white-space: nowrap;
@media (max-width: 1200px) {
padding: 0 15px 20px;
font-size: 20px;
}
2025-12-27 11:54:54 +07:00
svg {
width: 32px;
height: 32px;
margin-right: 15px;
2026-01-04 17:08:28 +07:00
@media (max-width: 1200px) {
width: 28px;
height: 28px;
margin-right: 5px;
}
2025-12-27 11:54:54 +07:00
}
}
.logo-icon {
display: inline-flex;
align-items: center;
justify-content: center;
width: 60px;
height: 60px;
2025-12-27 13:47:51 +07:00
background: linear-gradient(135deg, v.$p-color, v.$s-color);
2025-12-27 11:54:54 +07:00
border-radius: 15px;
margin-bottom: 15px;
svg {
width: 30px;
height: 30px;
2025-12-27 13:47:51 +07:00
fill: v.$white;
2025-12-27 11:54:54 +07:00
}
}
.color {
&-image {
color: v.$color-image;
}
&-audio {
color: v.$color-audio;
}
&-video {
color: v.$color-video;
}
2026-01-05 15:07:10 +07:00
}
.split-blocks {
display: grid;
grid-template-columns: 1fr 1fr;
gap: 30px;
@media (max-width: 1624px) {
grid-template-columns: 1fr;
}
2025-11-26 17:18:20 +07:00
}