mirror of
https://github.com/wassname/chatGPTBox.git
synced 2026-07-19 11:22:09 +08:00
91 lines
1.6 KiB
SCSS
91 lines
1.6 KiB
SCSS
[data-theme='auto'] {
|
|
@media screen and (prefers-color-scheme: dark) {
|
|
--font-color: #c9d1d9;
|
|
--theme-color: #202124;
|
|
--active-color: #3c4043;
|
|
}
|
|
@media screen and (prefers-color-scheme: light) {
|
|
--font-color: #24292f;
|
|
--theme-color: #ffffff;
|
|
--active-color: #eaecf0;
|
|
}
|
|
}
|
|
|
|
[data-theme='dark'] {
|
|
--font-color: #c9d1d9;
|
|
--theme-color: #202124;
|
|
--active-color: #3c4043;
|
|
}
|
|
|
|
[data-theme='light'] {
|
|
--font-color: #24292f;
|
|
--theme-color: #ffffff;
|
|
--active-color: #eaecf0;
|
|
}
|
|
|
|
.container-page-mode {
|
|
display: flex;
|
|
flex-direction: column;
|
|
align-items: center;
|
|
min-width: 440px;
|
|
min-height: 560px;
|
|
width: 100%;
|
|
height: 100%;
|
|
padding: 20px;
|
|
overflow-y: auto;
|
|
}
|
|
|
|
.container-popup-mode {
|
|
display: flex;
|
|
flex-direction: column;
|
|
align-items: center;
|
|
width: 440px;
|
|
height: 560px;
|
|
padding: 20px;
|
|
overflow-y: auto;
|
|
}
|
|
|
|
.container legend {
|
|
font-weight: bold;
|
|
}
|
|
|
|
.container form {
|
|
margin-bottom: 0;
|
|
}
|
|
|
|
.container fieldset {
|
|
margin-bottom: 0;
|
|
}
|
|
|
|
.footer {
|
|
width: 90%;
|
|
position: fixed;
|
|
bottom: 10px;
|
|
display: flex;
|
|
flex-direction: row;
|
|
justify-content: space-between;
|
|
align-items: center;
|
|
background-color: var(--active-color);
|
|
border-radius: 5px;
|
|
padding: 6px;
|
|
z-index: 2147483647;
|
|
font-size: 12px;
|
|
}
|
|
|
|
.popup-tab {
|
|
display: inline-block;
|
|
position: relative;
|
|
list-style: none;
|
|
padding: 6px 12px 0;
|
|
cursor: pointer;
|
|
border-radius: 5px;
|
|
margin-right: 5px;
|
|
font-size: 14px;
|
|
background-color: var(--theme-color);
|
|
color: var(--font-color);
|
|
|
|
&--selected {
|
|
background: var(--active-color);
|
|
}
|
|
}
|