Files
start-os/web/projects/shared/styles/shared.scss
Lucy Cifferello 0b93988450 feedback fixes
2024-04-05 09:26:32 -04:00

388 lines
6.9 KiB
SCSS

@font-face {
font-family: 'text-security-disc';
src: url('/assets/fonts/text-security-disc.woff2') format('woff2');
}
@font-face {
font-family: 'Montserrat';
font-style: normal;
font-weight: normal;
src: url('/assets/fonts/Montserrat/Montserrat-Regular.ttf');
}
@font-face {
font-family: 'Montserrat';
font-style: normal;
font-weight: bold;
src: url('/assets/fonts/Montserrat/Montserrat-Bold.ttf');
}
@font-face {
font-family: 'Montserrat';
font-style: normal;
font-weight: thin;
src: url('/assets/fonts/Montserrat/Montserrat-Light.ttf');
}
@font-face {
font-family: 'Montserrat';
font-style: normal;
font-weight: 900;
src: url('/assets/fonts/Montserrat/Montserrat-Black.ttf');
}
@font-face {
font-family: 'Montserrat';
font-style: normal;
font-weight: 800;
src: url('/assets/fonts/Montserrat/Montserrat-ExtraBold.ttf');
}
@font-face {
font-family: 'Montserrat';
font-style: normal;
font-weight: 700;
src: url('/assets/fonts/Montserrat/Montserrat-Bold.ttf');
}
@font-face {
font-family: 'Montserrat';
font-style: normal;
font-weight: 600;
src: url('/assets/fonts/Montserrat/Montserrat-SemiBold.ttf');
}
@font-face {
font-family: 'Montserrat';
font-style: normal;
font-weight: 500;
src: url('/assets/fonts/Montserrat/Montserrat-Medium.ttf');
}
@font-face {
font-family: 'Montserrat';
font-style: normal;
font-weight: 400;
src: url('/assets/fonts/Montserrat/Montserrat-Regular.ttf');
}
@font-face {
font-family: 'Montserrat';
font-style: normal;
font-weight: 300;
src: url('/assets/fonts/Montserrat/Montserrat-Light.ttf');
}
@font-face {
font-family: 'Montserrat';
font-style: normal;
font-weight: 200;
src: url('/assets/fonts/Montserrat/Montserrat-ExtraLight.ttf');
}
@font-face {
font-family: 'Montserrat';
font-style: normal;
font-weight: 100;
src: url('/assets/fonts/Montserrat/Montserrat-Thin.ttf');
}
@font-face {
font-family: 'Open Sans';
font-style: normal;
font-weight: normal;
src: url('/assets/fonts/Open_Sans/OpenSans-Regular.ttf');
}
@font-face {
font-family: 'Open Sans';
font-style: normal;
font-weight: bold;
src: url('/assets/fonts/Open_Sans/OpenSans-Bold.ttf');
}
@font-face {
font-family: 'Open Sans';
font-style: normal;
font-weight: thin;
src: url('/assets/fonts/Open_Sans/OpenSans-Light.ttf');
}
@font-face {
font-family: 'Open Sans';
font-style: normal;
font-weight: 800;
src: url('/assets/fonts/Open_Sans/OpenSans-ExtraBold.ttf');
}
@font-face {
font-family: 'Open Sans';
font-style: normal;
font-weight: 700;
src: url('/assets/fonts/Open_Sans/OpenSans-Bold.ttf');
}
@font-face {
font-family: 'Open Sans';
font-style: normal;
font-weight: 600;
src: url('/assets/fonts/Open_Sans/OpenSans-SemiBold.ttf');
}
@font-face {
font-family: 'Open Sans';
font-style: normal;
font-weight: 400;
src: url('/assets/fonts/Open_Sans/OpenSans-Regular.ttf');
}
@font-face {
font-family: 'Open Sans';
font-style: normal;
font-weight: 300;
src: url('/assets/fonts/Open_Sans/OpenSans-Light.ttf');
}
@font-face {
font-family: 'Courier New';
font-style: normal;
font-weight: normal;
src: url('/assets/fonts/Courier_New/CourierNew-Regular.ttf');
}
@font-face {
font-family: 'Courier New';
font-style: normal;
font-weight: bold;
src: url('/assets/fonts/Courier_New/CourierNew-Bold.ttf');
}
$wide-modal: 900px;
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;
}
}
.swiper {
.swiper-slide {
display: unset;
}
}
ion-modal {
--backdrop-opacity: 0.7;
&::part(content) {
border-radius: 6px;
border: 2px solid rgba(255, 255, 255, 0.03);
box-shadow: 0 32px 64px rgba(0, 0, 0, 0.2);
}
}
.alertlike-modal {
&::part(content) {
max-height: 380px !important;
top: 25% !important;
width: 90% !important;
left: 5% !important;
--box-shadow: none !important;
}
}
@media (min-width: 1000px) {
ion-modal::part(content) {
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);
}
@keyframes ellipsis-dot {
25% {
content: '';
}
50% {
content: '.';
}
75% {
content: '..';
}
100% {
content: '...';
}
}
.alert-error-message {
.alert-title {
color: var(--ion-color-danger);
}
}
.alert-warning-message {
.alert-title {
color: var(--ion-color-warning);
}
}
.alert-success-message {
.alert-title {
color: var(--ion-color-success);
}
}
a {
cursor: pointer;
color: inherit;
text-decoration: none;
}
.modal-buttons {
display: flex;
justify-content: flex-end;
gap: 16px;
margin-top: 24px;
}
/* marketplace */
.background-border {
border-radius: 0.75rem;
background-image: linear-gradient(
to top left,
rgb(161 161 170 / 0.75),
#52525b
);
padding: 1px;
margin-top: 1.5rem;
}
.box-shadow-lg {
--tw-shadow: 0 10px 15px -3px rgb(0 0 0 / 0.1),
0 4px 6px -4px rgb(0 0 0 / 0.1);
--tw-shadow-colored: 0 10px 15px -3px var(--tw-shadow-color),
0 4px 6px -4px var(--tw-shadow-color);
box-shadow:
0 0 #0000,
0 0 #0000,
var(--tw-shadow);
}
.shadow-color-light {
--tw-shadow-color: rgb(161 161 170 / 0.1);
--tw-shadow: var(--tw-shadow-colored);
}
.additional-detail-title {
font-family: 'Montserrat';
font-size: 0.85rem;
line-height: 1.75rem;
font-weight: 300;
text-transform: uppercase;
letter-spacing: .06rem;
margin-bottom: 1rem;
pointer-events: none;
}
.buttons {
margin-top: 1rem;
:first-child {
margin-right: 0.5rem;
}
}
h1,
h2,
h3,
h4,
h5,
h6,
hr {
margin: 0;
}