Files
ghatreh_user/src/views/base/rules/desktop/styles/desktop-rules.less
T
2026-06-29 22:43:28 +03:30

157 lines
2.5 KiB
Plaintext

/* Premium desktop rules page */
.drules {
min-height: 100%;
background: #f6f7f9;
color: #111827;
}
.drules__container {
max-width: 1080px;
margin: 0 auto;
padding: 28px 36px 40px;
}
.drules-layout {
display: grid;
grid-template-columns: minmax(0, 1fr) minmax(0, 300px);
gap: 20px;
align-items: start;
}
.drules-surface {
background: #fff;
border: 1px solid rgba(15, 23, 42, 0.06);
border-radius: 16px;
box-shadow: 0 1px 2px rgba(15, 23, 42, 0.04);
}
.drules-main {
padding: 28px;
&__intro {
display: flex;
align-items: center;
gap: 16px;
margin-bottom: 24px;
padding-bottom: 20px;
border-bottom: 1px solid #eef0f3;
}
&__logo {
display: flex;
align-items: center;
justify-content: center;
width: 56px;
height: 56px;
border-radius: 14px;
background: rgba(167, 43, 119, 0.08);
color: @App-primary-color;
flex-shrink: 0;
}
&__project {
font-size: 18px;
font-weight: 700;
color: #111827;
margin: 0 0 4px;
}
&__tagline {
font-size: 13px;
color: #6b7280;
margin: 0;
}
}
.drules-content {
padding: 20px;
border: 1px solid rgba(167, 43, 119, 0.15);
border-radius: 12px;
background: rgba(167, 43, 119, 0.03);
color: @App-primary-color;
&__title {
font-size: 16px;
font-weight: 700;
line-height: 1.6;
margin: 0;
}
&__divider {
width: 100%;
height: 1px;
background: rgba(167, 43, 119, 0.12);
margin: 16px 0;
}
&__block + &__block {
margin-top: 20px;
padding-top: 20px;
border-top: 1px solid rgba(167, 43, 119, 0.08);
}
&__paragraph {
margin: 0 0 14px;
font-size: 14px;
line-height: 1.9;
text-align: right;
color: inherit;
word-break: normal;
overflow-wrap: break-word;
&:last-child {
margin-bottom: 0;
}
}
}
.drules-side {
padding: 24px;
position: sticky;
top: 88px;
&__title {
font-size: 15px;
font-weight: 600;
color: #111827;
margin: 0 0 8px;
}
&__text {
font-size: 13px;
line-height: 1.7;
color: #6b7280;
margin: 0 0 20px;
}
}
.drules-support {
display: flex;
flex-direction: row;
align-items: center;
gap: 8px;
> a:first-child {
flex: 1;
min-width: 0;
}
&__bale {
width: 40px;
height: 40px;
object-fit: contain;
flex-shrink: 0;
}
}
@media (max-width: 1023.98px) {
.drules-layout {
grid-template-columns: 1fr;
}
.drules-side {
position: static;
}
}