mirror of
https://github.com/Start9Labs/start-os.git
synced 2026-03-26 18:31:52 +00:00
* show available marketplace updates in menu * complete feature * delete unused class * update tsmatches to remove console log * fix merge conflict * change config header font size * fix new options emission for config elements * delete unecessary import * add custom modal for service marketplace conflict action * cleanup * remove unecessary imports * pr cleanup of unused imports and classes Co-authored-by: Matt Hill <matthewonthemoon@gmail.com>
144 lines
2.5 KiB
SCSS
144 lines
2.5 KiB
SCSS
$wide-modal: 900px;
|
|
$medium-modal: 600px;
|
|
|
|
body {
|
|
-webkit-user-select: text;
|
|
-moz-user-select: text;
|
|
-ms-user-select: text;
|
|
user-select: text;
|
|
}
|
|
|
|
ion-input {
|
|
caret-color: gray;
|
|
}
|
|
|
|
ion-alert {
|
|
.alert-wrapper {
|
|
--min-width: 320px;
|
|
}
|
|
}
|
|
|
|
ion-modal::part(content) {
|
|
position: absolute;
|
|
height: 90% !important;
|
|
top: 5%;
|
|
width: 90% !important;
|
|
left: 5%;
|
|
display: block;
|
|
|
|
border-radius: 6px;
|
|
border: 2px solid rgba(255, 255, 255, 0.03);
|
|
box-shadow: 0 0 70px 70px black;
|
|
}
|
|
|
|
.alertlike-modal {
|
|
&::part(content) {
|
|
max-height: 380px !important;
|
|
top: 25% !important;
|
|
width: 90% !important;
|
|
left: 5% !important;
|
|
--box-shadow: none !important;
|
|
}
|
|
}
|
|
|
|
.medium-modal {
|
|
&::part(content) {
|
|
position: absolute;
|
|
height: 80% !important;
|
|
top: 10%;
|
|
width: 90% !important;
|
|
left: 5% !important;
|
|
}
|
|
}
|
|
|
|
@media (min-width: 1000px) {
|
|
.medium-modal {
|
|
&::part(content) {
|
|
position: absolute;
|
|
height: 80% !important;
|
|
top: 10%;
|
|
width: $medium-modal !important;
|
|
left: calc((100vw - $medium-modal) / 2) !important;
|
|
}
|
|
}
|
|
}
|
|
|
|
@media (min-width: 1000px) {
|
|
ion-modal::part(content) {
|
|
position: absolute;
|
|
height: 80% !important;
|
|
top: 10%;
|
|
width: $wide-modal !important;
|
|
left: calc((100vw - $wide-modal) / 2) !important;
|
|
}
|
|
|
|
.alertlike-modal {
|
|
&::part(content) {
|
|
width: $wide-modal !important;
|
|
left: calc((100vw - $wide-modal) / 2) !important;
|
|
}
|
|
}
|
|
|
|
ion-alert {
|
|
.alert-wrapper {
|
|
--width: 50%;
|
|
--max-width: 500px;
|
|
}
|
|
}
|
|
}
|
|
|
|
.item-interactive {
|
|
--highlight-background: var(--ion-color-light) !important;
|
|
}
|
|
|
|
.hidden-scrollbar {
|
|
overflow: auto;
|
|
white-space: nowrap;
|
|
height: 60px;
|
|
|
|
/* Hide scrollbar for Chrome, Safari and Opera */
|
|
&::-webkit-scrollbar {
|
|
width: 0;
|
|
height: 0;
|
|
}
|
|
|
|
/* Hide scrollbar for IE, Edge and Firefox */
|
|
/* IE and Edge */
|
|
-ms-overflow-style: none;
|
|
/* Firefox */
|
|
scrollbar-width: none;
|
|
}
|
|
|
|
.divider {
|
|
background: linear-gradient(90deg,
|
|
var(--ion-color-light) 0,
|
|
var(--ion-color-dark) 50%,
|
|
var(--ion-color-light) 100%);
|
|
height: 1px;
|
|
}
|
|
|
|
.loading-dots:after {
|
|
content: '...';
|
|
overflow: hidden;
|
|
display: inline-block;
|
|
vertical-align: bottom;
|
|
animation: ellipsis-dot 1s infinite 0.3s;
|
|
animation-fill-mode: forwards;
|
|
width: 1em;
|
|
}
|
|
|
|
.courier-new {
|
|
font-family: 'Courier New';
|
|
}
|
|
|
|
.montserrat {
|
|
font-family: 'Montserrat', sans-serif !important;
|
|
}
|
|
|
|
.color-success-shade {
|
|
color: var(--ion-color-success-shade)
|
|
}
|
|
|
|
.color-primary-shade {
|
|
color: var(--ion-color-primary-shade)
|
|
} |