mirror of
https://github.com/woodchen-ink/clash-and-dashboard.git
synced 2025-07-18 14:01:56 +08:00
95 lines
1.8 KiB
SCSS
95 lines
1.8 KiB
SCSS
@import '~@styles/variables';
|
|
|
|
.settings-card {
|
|
margin-top: 10px;
|
|
padding: 20px 0;
|
|
|
|
.column {
|
|
font-weight: bold;
|
|
align-items: center;
|
|
}
|
|
|
|
.value-column {
|
|
justify-content: flex-end;
|
|
}
|
|
|
|
.label {
|
|
font-size: 14px;
|
|
color: $color-primary-darken;
|
|
}
|
|
|
|
.external-controller {
|
|
font-size: 14px;
|
|
color: $color-primary-darken;
|
|
display: flex;
|
|
justify-content: flex-end;
|
|
font-weight: normal;
|
|
line-height: 17px;
|
|
|
|
.modify-btn {
|
|
color: $color-primary-dark;
|
|
cursor: pointer;
|
|
}
|
|
}
|
|
}
|
|
|
|
.clash-version {
|
|
position: relative;
|
|
margin-top: 10px;
|
|
padding: 20px 45px;
|
|
display: flex;
|
|
|
|
.check-icon {
|
|
width: 24px;
|
|
height: 24px;
|
|
border-radius: 50%;
|
|
background: linear-gradient(135deg, $color-primary, $color-primary-dark);
|
|
display: flex;
|
|
justify-content: center;
|
|
align-items: center;
|
|
|
|
> i {
|
|
transform: scale(0.5);
|
|
color: $color-white;
|
|
font-weight: bold;
|
|
}
|
|
}
|
|
|
|
.version-info {
|
|
margin-left: 10px;
|
|
font-size: 14px;
|
|
line-height: 24px;
|
|
color: $color-primary-darken;
|
|
}
|
|
|
|
.check-update-btn {
|
|
position: absolute;
|
|
right: 45px;
|
|
font-size: 14px;
|
|
line-height: 24px;
|
|
color: $color-gray-dark;
|
|
cursor: pointer;
|
|
transition: all 150ms ease;
|
|
|
|
&:hover {
|
|
color: $color-primary-darken;
|
|
}
|
|
}
|
|
}
|
|
|
|
@media (max-width: 768px) {
|
|
.settings-card {
|
|
// hack <Row />
|
|
.row {
|
|
flex-direction: column;
|
|
padding-top: 0;
|
|
padding-bottom: 0;
|
|
|
|
> .column {
|
|
width: 100%;
|
|
margin: 10px 0;
|
|
}
|
|
}
|
|
}
|
|
}
|