mue/src/components/Elements/MainModal/scss/settings/_main.scss

148 lines
2.5 KiB
SCSS
Raw Normal View History

@import 'scss/variables';
2021-09-05 13:19:19 +00:00
@import 'modules/material-ui';
@import 'modules/tabs/about';
@import 'modules/tabs/changelog';
@import 'modules/tabs/order';
@import 'modules/tabs/stats';
2021-09-05 13:19:19 +00:00
input {
2021-09-05 13:19:19 +00:00
/* colour picker */
&[type='color'] {
2021-04-19 13:13:47 +00:00
border-radius: 100%;
height: 30px;
width: 30px;
border: none;
outline: none;
appearance: none;
2021-04-19 13:13:47 +00:00
vertical-align: middle;
background: none;
@include themed {
border: t($modal-sidebarActive) 1px solid;
2022-11-06 11:59:59 +00:00
}
2021-08-21 10:11:00 +00:00
2021-04-19 13:13:47 +00:00
&::-webkit-color-swatch-wrapper {
padding: 0;
}
2021-08-21 10:11:00 +00:00
2021-04-19 13:13:47 +00:00
&::-webkit-color-swatch {
border: none;
border-radius: 100%;
}
}
2021-09-05 13:19:19 +00:00
/* firefox fixes for colour picker (using "," didn't work) */
&[type='color']::-moz-color-swatch {
2021-04-19 13:13:47 +00:00
border-radius: 100%;
height: 30px;
width: 30px;
border: none;
outline: none;
appearance: none;
2021-04-19 13:13:47 +00:00
vertical-align: middle;
background: none;
2021-08-21 10:11:00 +00:00
2021-04-19 13:13:47 +00:00
&::-moz-color-swatch {
border: none;
border-radius: 100%;
}
}
2021-09-05 13:19:19 +00:00
/* date picker */
&[type='date'] {
width: 260px;
display: flex;
flex-flow: column;
@include themed {
background: t($modal-sidebar);
border: 3px solid t($modal-sidebarActive);
color: t($color);
}
padding: 15px 20px;
border-radius: 4px;
display: flex !important;
cursor: pointer;
&::-webkit-calendar-picker-indicator {
cursor: pointer;
}
}
}
2021-09-05 13:19:19 +00:00
/* dark theme date picker fix */
.dark {
::-webkit-calendar-picker-indicator {
filter: invert(1);
}
}
2021-03-01 12:06:02 +00:00
h4 {
cursor: pointer;
}
.photosEmpty {
height: 400px;
display: grid;
place-items: center;
button {
padding: 0 20px;
}
}
.imagesTopBar {
padding-top: 25px;
display: flex;
flex-flow: row;
justify-content: space-between;
align-items: center;
div:nth-child(1) {
display: flex;
flex-flow: row;
align-items: center;
gap: 20px;
svg {
font-size: 30px;
@include themed {
color: t($subColor);
}
}
div {
display: flex;
flex-flow: column;
}
}
.topbarbuttons {
display: flex;
flex-flow: row;
gap: 25px;
}
button {
padding: 0 20px;
}
}
2023-03-14 12:34:08 +00:00
.customcss textarea {
font-family: Consolas, 'Andale Mono WT', 'Andale Mono', 'Lucida Console', 'Lucida Sans Typewriter',
'DejaVu Sans Mono', 'Bitstream Vera Sans Mono', 'Liberation Mono', 'Nimbus Mono L', Monaco,
'Courier New', Courier, monospace !important;
}
.preferences {
transition: 0.4s ease-in-out;
}
.preferencesInactive {
opacity: 0.5;
pointer-events: none;
transition: 0.4s ease-in-out;
}