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

637 lines
9.9 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;
}
}
2026-01-14 15:01:30 +07:00
.page-title-color-frame {
background: linear-gradient(135deg, v.$p-color 0%, v.$s-color 100%);
padding: 2rem;
border-radius: 16px;
margin-bottom: 2rem;
box-shadow: 0 10px 40px rgba(102, 126, 234, 0.2);
2026-01-15 12:27:39 +07:00
color: v.$white;
2026-01-23 15:43:05 +07:00
max-width: calc(100vw - var(--side-bar-width) - 60px);
2026-01-14 15:01:30 +07:00
2026-01-24 13:19:48 +07:00
@media (max-width: 440px) {
max-width: calc(100vw - var(--side-bar-width) - 30px);
}
2026-01-14 15:01:30 +07:00
h1 {
font-size: 2rem;
font-weight: 700;
margin: 0 0 0.5rem 0;
display: flex;
align-items: center;
gap: 0.75rem;
}
p {
font-size: 1rem;
margin: 0;
}
2026-01-15 12:27:39 +07:00
.header-content {
display: flex;
justify-content: space-between;
align-items: center;
gap: 40px;
2026-01-23 15:43:05 +07:00
@media (max-width: 700px) {
flex-direction: column;
}
2026-01-15 12:27:39 +07:00
.header-main {
flex: 1;
}
.header-stats {
display: flex;
gap: 28px;
align-items: center;
2026-01-24 13:19:48 +07:00
@media (max-width: 440px) {
flex-direction: column;
}
2026-01-15 12:27:39 +07:00
}
.header-stat-item {
text-align: center;
}
.header-stat-value {
font-size: 28px;
font-weight: 700;
margin-bottom: 4px;
}
.header-stat-label {
font-size: 13px;
opacity: 0.85;
text-transform: uppercase;
letter-spacing: 0.5px;
}
}
2026-01-14 15:01:30 +07:00
}
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;
2026-01-24 13:19:48 +07:00
@media (max-width: 440px) {
padding: 15px;
}
2025-12-27 11:54:54 +07:00
}
.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;
}
2026-01-24 13:19:48 +07:00
@media (max-width: 440px) {
max-width: calc(100vw - var(--side-bar-width) - 30px);
}
2026-01-04 13:27:59 +07:00
}
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;
2026-01-27 19:52:01 +07:00
&:disabled {
background: linear-gradient(135deg, v.$p-color-disabled, v.$s-color-disabled);
cursor: default;
}
&:hover:not(:disabled) {
2025-11-26 17:18:20 +07:00
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;
2026-01-27 19:52:01 +07:00
&:has(.modal-window-view-file) {
padding: 0;
background: transparent;
}
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: 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;
2026-01-20 16:53:11 +07:00
border-radius: 0 30px 30px 0;
2026-01-23 15:43:05 +07:00
transition: transform 0.3s ease-in-out;
transform: translateX(-100%);
@media (max-width: 767px) {
width: 400px;
display: block;
&.show {
transform: translateX(0);
}
&:not(.show) {
transform: translateX(-100%);
}
}
@media (max-width: 400px) {
width: 100%;
}
@media (min-width: 767px) {
width: var(--side-bar-width);
transform: translateX(0);
}
2026-02-11 20:47:40 +07:00
.build-versions {
position: absolute;
bottom: 10px;
left: 10px;
color: #fffc;
}
2026-01-23 15:43:05 +07:00
}
.sidebar-close-button {
padding: 0 15px 20px;
color: v.$white;
cursor: pointer;
display: none;
@media (max-width: 767px) {
display: block;
}
2025-12-27 11:54:54 +07:00
}
.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 {
2026-02-07 12:28:07 +07:00
padding: 12px 12px 12px 32px;
2025-12-27 11:54:54 +07:00
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 {
2026-01-21 15:05:02 +07:00
color: v.$white;
background: v.$color-image;
padding: 8px;
border-radius: 6px;
}
&-audio {
2026-01-21 15:05:02 +07:00
color: v.$white;
background: v.$color-audio;
padding: 8px;
border-radius: 6px;
}
&-video {
2026-01-21 15:05:02 +07:00
color: v.$white;
background: v.$color-video;
padding: 8px;
border-radius: 6px;
}
2026-01-29 16:28:05 +07:00
&-document {
color: v.$white;
background: v.$color-document;
padding: 8px;
border-radius: 6px;
}
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;
}
2026-01-06 16:00:07 +07:00
}
.language-switcher {
position: relative;
.switcher-btn {
display: flex;
align-items: center;
justify-content: space-between;
width: 100%;
padding: 0.5rem 1rem;
font-size: 0.875rem;
font-weight: 500;
color: v.$p-color;
background-color: v.$white;
border: 2px solid v.$p-color;
border-radius: 0.375rem;
box-shadow: 0 1px 2px 0 v.$shadow-1;
transition: background-color 0.2s;
2026-01-18 16:27:09 +07:00
cursor: pointer;
2026-01-06 16:00:07 +07:00
&:hover {
background-color: #f9fafb;
}
&:focus {
outline: none;
}
2026-01-23 15:43:05 +07:00
@media (max-width: 490px) {
padding: 0.5rem 8px;
}
2026-01-06 16:00:07 +07:00
}
.switcher-list {
position: absolute;
right: 0;
z-index: 10;
width: 100%;
margin-top: 0.5rem;
transform-origin: top right;
background-color: v.$white;
border: 2px solid v.$p-color;
border-radius: 0.375rem;
box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1),
0 4px 6px -2px rgba(0, 0, 0, 0.05);
&:focus {
outline: none;
}
.language-btn {
display: flex;
align-items: center;
width: 100%;
padding: 0.5rem 1rem;
font-size: 0.875rem;
text-align: left;
transition: background-color 0.2s ease;
color: v.$p-color;
&:hover {
background-color: #dbeafe;
}
&.active {
background-color: #eff6ff;
font-weight: 700;
}
}
}
2026-01-14 15:01:30 +07:00
}
2026-01-15 13:11:53 +07:00
.dropdown-wrapper {
position: relative;
width: 100%;
.dropdown-button {
display: flex;
align-items: center;
justify-content: space-between;
width: 100%;
padding: 8px 16px;
font-size: 14px;
font-weight: 500;
line-height: 1.25;
background-color: #ffffff;
border: 2px solid #e2e8f0;
border-radius: 12px;
box-shadow: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
transition: background-color 0.2s ease-in-out;
&:hover {
background-color: #f9fafb;
}
&:focus {
outline: none;
box-shadow: 0 0 0 2px rgba(99, 101, 241, 0.53);
outline: 2px solid transparent;
outline-offset: 2px;
}
}
.dropdown-list {
position: absolute;
right: 0;
z-index: 10;
width: 100%;
margin-top: 8px;
transform-origin: top right;
background-color: #ffffff;
border: 2px solid #e2e8f0;
border-radius: 12px;
box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1),
0 4px 6px -2px rgba(0, 0, 0, 0.05);
&:focus {
outline: none;
}
}
.dropdown-item {
display: flex;
align-items: center;
width: 100%;
padding: 8px 16px;
font-size: 14px;
text-align: left;
cursor: pointer;
user-select: none;
&:hover {
background-color: #dbeafe;
}
&.current {
font-weight: 700;
}
}
}
2026-01-14 15:01:30 +07:00
.yaPreloadingSuggestBlockContainer {
height: 52px !important;
2025-11-26 17:18:20 +07:00
}