mirror of
https://github.com/koodo-reader/koodo-reader.git
synced 2026-06-16 11:50:41 -04:00
447 lines
7.9 KiB
CSS
447 lines
7.9 KiB
CSS
.setting-dialog-container {
|
|
width: 760px;
|
|
height: 540px;
|
|
position: absolute;
|
|
left: calc(50% - 380px);
|
|
top: calc(50% - 270px);
|
|
overflow: hidden;
|
|
opacity: 1;
|
|
z-index: 20;
|
|
border-radius: 10px;
|
|
animation: popup 0.1s ease-in-out 0s 1;
|
|
display: flex;
|
|
flex-direction: row;
|
|
}
|
|
.setting-dialog-sidebar {
|
|
width: 180px;
|
|
min-width: 180px;
|
|
height: 100%;
|
|
display: flex;
|
|
flex-direction: column;
|
|
padding: 20px 0 16px 0;
|
|
box-sizing: border-box;
|
|
overflow-y: auto;
|
|
flex-shrink: 0;
|
|
z-index: 101;
|
|
}
|
|
.setting-dialog-sidebar-title {
|
|
font-size: 20px;
|
|
font-weight: 700;
|
|
padding: 0 18px 16px 18px;
|
|
letter-spacing: 0.5px;
|
|
}
|
|
.setting-dialog-sidebar-group {
|
|
margin-bottom: 0px;
|
|
}
|
|
.setting-dialog-sidebar-item {
|
|
display: flex;
|
|
align-items: center;
|
|
gap: 10px;
|
|
padding: 9px 14px 9px 18px;
|
|
font-size: 14px;
|
|
font-weight: 500;
|
|
cursor: pointer;
|
|
border-radius: 8px;
|
|
margin: 1px 8px;
|
|
transition:
|
|
background 0.15s,
|
|
opacity 0.15s;
|
|
opacity: 0.6;
|
|
user-select: none;
|
|
white-space: nowrap;
|
|
}
|
|
.setting-dialog-sidebar-item:hover {
|
|
opacity: 0.85;
|
|
}
|
|
.setting-dialog-sidebar-item.active {
|
|
opacity: 1;
|
|
font-weight: 600;
|
|
}
|
|
.setting-dialog-sidebar-icon {
|
|
font-size: 16px;
|
|
width: 20px;
|
|
text-align: center;
|
|
flex-shrink: 0;
|
|
}
|
|
.setting-dialog-sidebar-divider {
|
|
height: 1px;
|
|
margin: 8px 18px;
|
|
opacity: 0.15;
|
|
}
|
|
.setting-dialog-main {
|
|
flex: 1;
|
|
display: flex;
|
|
flex-direction: column;
|
|
min-width: 0;
|
|
height: 100%;
|
|
overflow: hidden;
|
|
}
|
|
.setting-dialog-main-header {
|
|
font-size: 22px;
|
|
font-weight: 700;
|
|
padding: 22px 28px 10px 28px;
|
|
flex-shrink: 0;
|
|
padding-left: 20px;
|
|
}
|
|
.setting-dialog-title {
|
|
font-size: 18px;
|
|
font-weight: 500;
|
|
line-height: 15px;
|
|
opacity: 1;
|
|
margin: 15px 0px 10px;
|
|
text-align: center;
|
|
display: none;
|
|
}
|
|
.setting-dialog-new-title {
|
|
font-size: 15px;
|
|
line-height: 30px;
|
|
margin-top: 5px;
|
|
margin-left: 25px;
|
|
width: calc(100% - 50px);
|
|
margin-bottom: 5px;
|
|
/* width: 280px; */
|
|
display: flex;
|
|
justify-content: space-between;
|
|
font-weight: 500;
|
|
}
|
|
.account-login-tips {
|
|
font-size: 15px;
|
|
opacity: 0.8;
|
|
width: 100%;
|
|
margin: 0 auto;
|
|
margin-top: 30px;
|
|
text-align: center;
|
|
}
|
|
.account-login-grid {
|
|
display: grid;
|
|
grid-template-columns: repeat(2, minmax(0, 1fr));
|
|
gap: 12px;
|
|
margin: 6px 25px 0;
|
|
margin-left: 150px;
|
|
margin-right: 150px;
|
|
}
|
|
.account-login-option {
|
|
min-height: 40px;
|
|
padding: 0 16px;
|
|
border-radius: 20px;
|
|
display: flex;
|
|
align-items: center;
|
|
justify-content: center;
|
|
gap: 10px;
|
|
box-sizing: border-box;
|
|
cursor: pointer;
|
|
user-select: none;
|
|
font-size: 15px;
|
|
}
|
|
.account-login-option-icon {
|
|
line-height: 1;
|
|
flex-shrink: 0;
|
|
}
|
|
.account-login-option-label {
|
|
line-height: 1.2;
|
|
}
|
|
.setting-dialog-list {
|
|
font-size: 15px;
|
|
line-height: 18px;
|
|
opacity: 1;
|
|
margin: 7px;
|
|
}
|
|
.setting-dialog-new-container {
|
|
margin: 20px 30px;
|
|
}
|
|
.setting-dialog-info {
|
|
flex: 1;
|
|
overflow-y: auto;
|
|
overflow-x: hidden;
|
|
padding-bottom: 16px;
|
|
margin-bottom: 50px;
|
|
}
|
|
.setting-dialog-illustration {
|
|
width: 200px;
|
|
position: absolute;
|
|
bottom: 0px;
|
|
right: 0px;
|
|
z-index: 20;
|
|
}
|
|
.setting-dialog-url {
|
|
width: 200px;
|
|
font-size: 13px;
|
|
position: absolute;
|
|
bottom: 6px;
|
|
left: 10px;
|
|
user-select: text;
|
|
z-index: 30;
|
|
line-height: 16px;
|
|
}
|
|
.setting-dialog-subtitle {
|
|
font-size: 15px;
|
|
margin: 7px 10px;
|
|
text-align: center;
|
|
color: #0078d4;
|
|
float: left;
|
|
}
|
|
.setting-tab {
|
|
max-width: 18% !important;
|
|
text-overflow: ellipsis;
|
|
max-height: 40px;
|
|
}
|
|
.setting-language {
|
|
width: 30px;
|
|
height: 30px;
|
|
font-size: 30px;
|
|
cursor: pointer;
|
|
float: right;
|
|
}
|
|
|
|
.setting-close-container {
|
|
position: absolute;
|
|
top: 10px;
|
|
right: 10px;
|
|
transition: 0.1s;
|
|
width: 38px;
|
|
height: 38px;
|
|
cursor: pointer;
|
|
z-index: 5;
|
|
}
|
|
|
|
.setting-close-container:hover {
|
|
border-radius: 50%;
|
|
}
|
|
.setting-close {
|
|
margin-right: 10px;
|
|
margin-top: 10px;
|
|
float: right;
|
|
font-size: 18px;
|
|
cursor: pointer;
|
|
}
|
|
.setting-subtitle {
|
|
display: none;
|
|
}
|
|
.setting-plugin-icon {
|
|
margin: 5px;
|
|
font-size: 18px;
|
|
display: inline-block;
|
|
width: 20px;
|
|
position: relative;
|
|
top: 4px;
|
|
}
|
|
.setting-plugin-name {
|
|
}
|
|
.lang-setting-dropdown {
|
|
width: 100px;
|
|
height: 30px;
|
|
font-size: 15px;
|
|
font-weight: 500;
|
|
text-align: center;
|
|
cursor: pointer;
|
|
border-radius: 5px;
|
|
}
|
|
.lang-setting-option {
|
|
font-size: 15px;
|
|
font-weight: 500;
|
|
line-height: 27px;
|
|
text-align: left;
|
|
}
|
|
.setting-dialog-location-title {
|
|
font-size: 13px;
|
|
font-weight: 500;
|
|
border-radius: 5px;
|
|
padding: 5px;
|
|
/* width: 75%; */
|
|
margin-left: 25px;
|
|
margin-right: 25px;
|
|
text-overflow: ellipsis;
|
|
word-break: break-all;
|
|
margin-top: 6px;
|
|
margin-bottom: 10px;
|
|
user-select: text;
|
|
}
|
|
.change-location-button {
|
|
display: inline-block;
|
|
min-width: 50px;
|
|
padding-left: 10px;
|
|
padding-right: 10px;
|
|
height: 22px;
|
|
opacity: 1;
|
|
border-radius: 11px;
|
|
position: relative;
|
|
top: 0px;
|
|
left: 2px;
|
|
cursor: pointer;
|
|
font-size: 13px;
|
|
display: flex;
|
|
justify-content: center;
|
|
align-items: center;
|
|
line-height: 1;
|
|
margin-top: 5px;
|
|
}
|
|
.theme-setting-item {
|
|
display: flex;
|
|
align-items: center;
|
|
gap: 6px;
|
|
padding: 4px 12px 4px 8px;
|
|
border-radius: 20px;
|
|
border: 2px solid transparent;
|
|
cursor: pointer;
|
|
font-size: 13px;
|
|
font-weight: 500;
|
|
white-space: nowrap;
|
|
box-sizing: border-box;
|
|
transition: border-color 0.15s;
|
|
}
|
|
.theme-setting-title {
|
|
max-width: 50px;
|
|
width: 50px;
|
|
}
|
|
.theme-setting-item.active-theme-item {
|
|
border-color: currentColor;
|
|
}
|
|
.theme-setting-dot {
|
|
width: 16px;
|
|
height: 16px;
|
|
border-radius: 50%;
|
|
flex-shrink: 0;
|
|
}
|
|
.theme-setting-container {
|
|
display: flex;
|
|
flex-wrap: wrap;
|
|
gap: 8px;
|
|
align-items: center;
|
|
width: auto;
|
|
height: auto;
|
|
margin-left: 25px;
|
|
margin-right: 25px;
|
|
margin-top: 6px;
|
|
}
|
|
.skin-setting-container {
|
|
display: flex;
|
|
flex-wrap: wrap;
|
|
gap: 8px;
|
|
align-items: center;
|
|
margin-left: 25px;
|
|
margin-right: 25px;
|
|
margin-top: 6px;
|
|
margin-bottom: 5px;
|
|
}
|
|
.custom-color-picker-container {
|
|
width: 100%;
|
|
display: flex;
|
|
justify-content: center;
|
|
}
|
|
.skin-setting-item {
|
|
display: flex;
|
|
align-items: center;
|
|
gap: 6px;
|
|
padding: 4px 12px 4px 8px;
|
|
border-radius: 20px;
|
|
border: 2px solid transparent;
|
|
cursor: pointer;
|
|
font-size: 13px;
|
|
font-weight: 500;
|
|
white-space: nowrap;
|
|
box-sizing: border-box;
|
|
opacity: 0.6;
|
|
transition:
|
|
border-color 0.15s,
|
|
opacity 0.15s;
|
|
}
|
|
.skin-setting-item.active-skin-item {
|
|
border-color: currentColor;
|
|
opacity: 1;
|
|
}
|
|
.skin-setting-icon {
|
|
display: flex;
|
|
align-items: center;
|
|
flex-shrink: 0;
|
|
}
|
|
.setting-option-subtitle {
|
|
font-size: 12px;
|
|
opacity: 0.8;
|
|
margin-left: 25px;
|
|
margin-right: 25px;
|
|
line-height: 15px;
|
|
margin-top: -5px;
|
|
}
|
|
.setting-dialog-new-plugin {
|
|
position: absolute;
|
|
bottom: 20px;
|
|
right: 20px;
|
|
cursor: pointer;
|
|
}
|
|
.plugin-tab-bar {
|
|
display: flex;
|
|
position: sticky;
|
|
top: 0;
|
|
z-index: 10;
|
|
padding: 6px 25px;
|
|
gap: 8px;
|
|
margin-bottom: 4px;
|
|
}
|
|
.plugin-tab-item {
|
|
padding: 4px 16px;
|
|
border-radius: 14px;
|
|
font-size: 15px;
|
|
font-weight: 500;
|
|
cursor: pointer;
|
|
opacity: 0.6;
|
|
transition:
|
|
opacity 0.15s,
|
|
background 0.15s;
|
|
user-select: none;
|
|
}
|
|
.plugin-tab-item:hover {
|
|
opacity: 0.9;
|
|
}
|
|
.plugin-tab-item-active {
|
|
opacity: 1;
|
|
}
|
|
.plugin-section-anchor {
|
|
height: 0;
|
|
overflow: hidden;
|
|
}
|
|
.token-dialog-button-container {
|
|
margin-top: 20px;
|
|
margin-bottom: 30px;
|
|
}
|
|
.token-dialog-token-box {
|
|
width: 100%;
|
|
height: 100px;
|
|
opacity: 1;
|
|
font-size: 13px;
|
|
line-height: 14px;
|
|
opacity: 1;
|
|
box-sizing: border-box;
|
|
/* left: 30px; */
|
|
border-radius: 5px;
|
|
padding: 5px;
|
|
margin-top: 10px;
|
|
box-sizing: border-box;
|
|
}
|
|
.token-dialog-username-box {
|
|
width: 100%;
|
|
height: 30px;
|
|
opacity: 1;
|
|
font-size: 13px;
|
|
line-height: 14px;
|
|
opacity: 1;
|
|
margin-top: 9px;
|
|
padding-left: 5px;
|
|
border-radius: 5px;
|
|
box-sizing: border-box;
|
|
}
|
|
|
|
/* AI Setting styles */
|
|
.ai-setting-form-row {
|
|
margin-bottom: 12px;
|
|
}
|
|
.ai-setting-label {
|
|
display: block;
|
|
font-size: 13px;
|
|
font-weight: 600;
|
|
margin-bottom: 4px;
|
|
margin-top: 8px;
|
|
}
|
|
.ai-setting-form-row .token-dialog-username-box {
|
|
margin-top: 0;
|
|
}
|