98 lines
1.5 KiB
SCSS
98 lines
1.5 KiB
SCSS
/**
|
|
* Copyright since 2025 Mifos Initiative
|
|
*
|
|
* This Source Code Form is subject to the terms of the Mozilla Public
|
|
* License, v. 2.0. If a copy of the MPL was not distributed with this
|
|
* file, You can obtain one at http://mozilla.org/MPL/2.0/.
|
|
*/
|
|
|
|
$primary: #0f766e;
|
|
|
|
.dr-container {
|
|
max-width: 1080px;
|
|
margin: 0 auto;
|
|
padding: 24px 16px;
|
|
}
|
|
|
|
.dr-header {
|
|
display: flex;
|
|
align-items: center;
|
|
gap: 16px;
|
|
margin-bottom: 24px;
|
|
|
|
&__title {
|
|
margin: 0;
|
|
font-size: 22px;
|
|
font-weight: 500;
|
|
}
|
|
}
|
|
|
|
.dr-back {
|
|
color: $primary;
|
|
}
|
|
|
|
.dr-group {
|
|
margin-bottom: 24px;
|
|
|
|
&__title {
|
|
font-size: 13px;
|
|
text-transform: uppercase;
|
|
letter-spacing: 0.05em;
|
|
color: $primary;
|
|
font-weight: 700;
|
|
margin-bottom: 10px;
|
|
}
|
|
}
|
|
|
|
.dr-grid {
|
|
display: grid;
|
|
grid-template-columns: repeat(3, 1fr);
|
|
gap: 12px;
|
|
}
|
|
|
|
.dr-card {
|
|
display: flex;
|
|
align-items: center;
|
|
gap: 12px;
|
|
background: var(--md-sys-color-surface, #fff);
|
|
border: 1px solid rgb(0 0 0 / 8%);
|
|
border-radius: 8px;
|
|
padding: 12px 14px;
|
|
text-decoration: none;
|
|
color: inherit;
|
|
transition: box-shadow 0.15s ease;
|
|
|
|
&:hover {
|
|
box-shadow: 0 2px 8px rgb(0 0 0 / 10%);
|
|
}
|
|
|
|
&__icon {
|
|
color: $primary;
|
|
font-size: 16px;
|
|
flex: none;
|
|
}
|
|
|
|
&__title {
|
|
flex: 1;
|
|
font-size: 13px;
|
|
font-weight: 500;
|
|
}
|
|
|
|
&__arrow {
|
|
color: rgb(0 0 0 / 30%);
|
|
font-size: 12px;
|
|
}
|
|
}
|
|
|
|
@media (width <= 900px) {
|
|
.dr-grid {
|
|
grid-template-columns: repeat(2, 1fr);
|
|
}
|
|
}
|
|
|
|
@media (width <= 600px) {
|
|
.dr-grid {
|
|
grid-template-columns: 1fr;
|
|
}
|
|
}
|