forked from MapComplete/MapComplete
Refactoring: cleanup of index.css file
This commit is contained in:
parent
ee4b0fd238
commit
6d8e5d4363
2 changed files with 13 additions and 52 deletions
|
@ -70,9 +70,11 @@ export class ImageUploadFlow extends Toggle {
|
|||
const label = new Combine([
|
||||
Svg.camera_plus_ui().SetClass("block w-12 h-12 p-1 text-4xl "),
|
||||
labelContent,
|
||||
]).SetClass(
|
||||
"p-2 border-4 border-detail rounded-full font-bold h-full align-middle w-full flex justify-center"
|
||||
)
|
||||
])
|
||||
.SetClass(
|
||||
"p-2 border-4 border-detail rounded-full font-bold h-full align-middle w-full flex justify-center"
|
||||
)
|
||||
.SetStyle(" border-color: var(--foreground-color);")
|
||||
const licenseStore = state?.osmConnection?.GetPreference(
|
||||
Constants.OsmPreferenceKeyPicturesLicense,
|
||||
"CC0"
|
||||
|
|
57
index.css
57
index.css
|
@ -111,56 +111,27 @@ img {
|
|||
height: 100%;
|
||||
}
|
||||
|
||||
.titleicon img {
|
||||
width: unset;
|
||||
}
|
||||
|
||||
.titleicon svg {
|
||||
width: unset;
|
||||
}
|
||||
.svg-catch svg path {
|
||||
fill: var(--catch-detail-color) !important;
|
||||
stroke: var(--catch-detail-color) !important;
|
||||
}
|
||||
|
||||
.svg-unsubtle svg path {
|
||||
fill: var(--unsubtle-detail-color) !important;
|
||||
stroke: var(--unsubtle-detail-color) !important;
|
||||
}
|
||||
|
||||
.svg-subtle svg path {
|
||||
fill: var(--subtle-detail-color) !important;
|
||||
stroke: var(--subtle-detail-color) !important;
|
||||
}
|
||||
|
||||
.svg-foreground svg path {
|
||||
fill: var(--foreground-color) !important;
|
||||
stroke: var(--foreground-color) !important;
|
||||
}
|
||||
|
||||
.no-images img {
|
||||
/* Used solely in 'imageAttribution' */
|
||||
display: none;
|
||||
}
|
||||
|
||||
.text-white a {
|
||||
/* Used solely in 'imageAttribution' */
|
||||
color: var(--background-color);
|
||||
}
|
||||
|
||||
|
||||
|
||||
.weblate-link {
|
||||
/* Weblate-links are the little translation icon next to translatable sentences. Due to their special nature, they are exempt from some rules */
|
||||
}
|
||||
|
||||
.mapcontrol svg path {
|
||||
fill: var(--subtle-detail-color-contrast) !important;
|
||||
}
|
||||
|
||||
.red-svg svg path {
|
||||
stroke: #d71010 !important;
|
||||
}
|
||||
|
||||
a {
|
||||
color: var(--foreground-color);
|
||||
}
|
||||
|
||||
.text-white a {
|
||||
color: var(--background-color);
|
||||
}
|
||||
|
||||
.btn {
|
||||
line-height: 1.25rem;
|
||||
|
@ -204,10 +175,6 @@ a {
|
|||
border: 3px solid var(--unsubtle-detail-color);
|
||||
}
|
||||
|
||||
.h-min {
|
||||
height: min-content;
|
||||
}
|
||||
|
||||
/* slider */
|
||||
input[type="range"].vertical {
|
||||
writing-mode: bt-lr; /* IE */
|
||||
|
@ -232,14 +199,6 @@ input[type="range"].vertical {
|
|||
}
|
||||
}
|
||||
|
||||
.border-detail {
|
||||
border-color: var(--foreground-color);
|
||||
}
|
||||
|
||||
.w-min {
|
||||
width: min-content;
|
||||
}
|
||||
|
||||
.rounded-left-full {
|
||||
border-bottom-left-radius: 999rem;
|
||||
border-top-left-radius: 999rem;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue