Files
project_v19/custom_subscriptions/static/src/scss/app_selector.scss
T

193 lines
3.4 KiB
SCSS
Raw Normal View History

2026-07-01 14:41:49 +07:00
.app-selector-wrapper {
background-color: #f8f9fa;
min-height: 100vh;
padding-bottom: 40px;
font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
}
.app-selector-header {
text-align: center;
padding: 30px 20px;
background: white;
margin-bottom: 20px;
border-bottom: 1px solid #eee;
h1 {
font-size: 2.2rem;
margin: 0 0 8px 0;
color: #212529;
}
p {
color: #717b84;
margin: 0;
}
}
.app-selector-content {
display: flex;
max-width: 1200px;
margin: 0 auto;
gap: 30px;
padding: 0 20px;
}
.app-grid {
flex: 1;
min-width: 0;
}
.category-title {
font-style: italic;
font-weight: 400;
font-size: 1.3rem;
margin: 25px 0 15px 0;
color: #000;
border-bottom: 1px solid #eee;
padding-bottom: 8px;
}
.app-cards-row {
display: grid;
grid-template-columns: repeat(auto-fill, minmax(190px, 1fr));
gap: 12px;
}
.app-card {
background: white;
border: 1px solid #dee2e6;
border-radius: 6px;
padding: 16px 12px;
position: relative;
cursor: pointer;
transition: all 0.15s ease;
display: flex;
flex-direction: column;
align-items: center;
text-align: center;
&:hover {
border-color: #adb5bd;
box-shadow: 0 2px 8px rgba(0,0,0,0.08);
transform: translateY(-2px);
}
&.selected {
border: 2px solid #714B67;
background-color: #f9f5fa;
}
}
.card-check {
display: none;
position: absolute;
top: -8px;
right: -8px;
width: 22px;
height: 22px;
background: #714B67;
color: white;
border-radius: 50%;
align-items: center;
justify-content: center;
font-size: 11px;
box-shadow: 0 2px 4px rgba(0,0,0,0.2);
}
.app-card.selected .card-check {
display: flex;
}
.app-icon {
width: 42px;
height: 42px;
margin-bottom: 10px;
object-fit: contain;
}
.app-name {
font-weight: 600;
font-size: 0.9rem;
margin-bottom: 4px;
color: #212529;
line-height: 1.3;
}
.app-desc {
font-size: 0.75rem;
color: #717b84;
line-height: 1.3;
display: -webkit-box;
-webkit-line-clamp: 2;
-webkit-box-orient: vertical;
overflow: hidden;
max-height: 2.6em;
}
/* Sidebar */
.app-sidebar {
width: 280px;
flex-shrink: 0;
}
.sidebar-card {
background: white;
padding: 20px;
border-radius: 8px;
box-shadow: 0 2px 12px rgba(0,0,0,0.06);
position: sticky;
top: 20px;
}
.sidebar-card h3 {
margin: 0 0 15px 0;
padding-bottom: 12px;
border-bottom: 1px solid #eee;
font-size: 1.1rem;
}
.trial-info {
background-color: #e6f4f9;
padding: 14px;
border-radius: 6px;
margin: 15px 0;
font-size: 0.85rem;
color: #0c5460;
line-height: 1.5;
p { margin: 4px 0; }
}
.btn-continue {
width: 100%;
background-color: #714B67;
color: white;
border: none;
padding: 12px 16px;
font-weight: 600;
font-size: 1rem;
border-radius: 4px;
cursor: pointer;
transition: background 0.2s;
&:hover:not(:disabled) {
background-color: #5a3c53;
}
&:disabled {
background-color: #adb5bd;
cursor: not-allowed;
}
}
/* Responsive */
@media (max-width: 992px) {
.app-selector-content {
flex-direction: column;
}
.app-sidebar {
width: 100%;
}
.sidebar-card {
position: static;
}
}