mirror of
https://github.com/SilenceLurker/ST-Amily2-Chat-Optimisation.git
synced 2026-06-06 11:15:50 +00:00
Update style.css
This commit is contained in:
151
assets/style.css
151
assets/style.css
@@ -1,26 +1,12 @@
|
|||||||
|
|
||||||
#amily2_drawer_content .flex-container {
|
#amily2_drawer_content .flex-container {
|
||||||
width: 100%;
|
width: 100%; height: 100%; display: flex; flex-direction: column;
|
||||||
height: 100%;
|
|
||||||
display: flex;
|
|
||||||
flex-direction: column;
|
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
#amily2_chat_optimiser {
|
#amily2_chat_optimiser {
|
||||||
width: 100%;
|
width: 100%; flex-grow: 1; overflow-y: auto; padding: 15px 20px;
|
||||||
flex-grow: 1;
|
box-sizing: border-box; display: flex; flex-direction: column; gap: 20px;
|
||||||
overflow-y: auto;
|
|
||||||
|
|
||||||
|
|
||||||
padding: 15px 20px;
|
|
||||||
box-sizing: border-box;
|
|
||||||
display: flex;
|
|
||||||
flex-direction: column;
|
|
||||||
gap: 15px;
|
|
||||||
}
|
}
|
||||||
=
|
|
||||||
|
|
||||||
|
|
||||||
#auth_panel { background: linear-gradient(135deg, #1a237e, #4a148c); padding: 20px; border-radius: 12px; margin-bottom: 20px; }
|
#auth_panel { background: linear-gradient(135deg, #1a237e, #4a148c); padding: 20px; border-radius: 12px; margin-bottom: 20px; }
|
||||||
#auth_panel .auth-header { text-align: center; margin-bottom: 20px; }
|
#auth_panel .auth-header { text-align: center; margin-bottom: 20px; }
|
||||||
@@ -33,29 +19,122 @@
|
|||||||
.auth-status { padding: 10px; border-radius: 8px; text-align: center; margin-top: 15px; }
|
.auth-status { padding: 10px; border-radius: 8px; text-align: center; margin-top: 15px; }
|
||||||
.auth-status.valid { background-color: rgba(76, 175, 80, 0.2); border: 1px solid #4CAF50; }
|
.auth-status.valid { background-color: rgba(76, 175, 80, 0.2); border: 1px solid #4CAF50; }
|
||||||
.auth-status.expired { background-color: rgba(244, 67, 54, 0.2); border: 1px solid #f44336; }
|
.auth-status.expired { background-color: rgba(244, 67, 54, 0.2); border: 1px solid #f44336; }
|
||||||
h4 { border-bottom: 1px solid rgba(255,255,255,0.1); padding-bottom: 8px; margin-top: 10px; margin-bottom: 15px; font-size: 1.1em; color: #eee; }
|
|
||||||
h4 > i { margin-right: 8px; color: #7e57c2; }
|
.amily2-header {
|
||||||
hr { border: none; border-top: 1px solid rgba(255,255,255,0.1); margin: 20px 0; }
|
display: flex; justify-content: space-between; align-items: center; padding: 0 5px;
|
||||||
|
}
|
||||||
|
.main-toggle { margin: 0; }
|
||||||
|
.main-toggle label { font-size: 1.2em; }
|
||||||
|
.update-section { position: relative; }
|
||||||
|
#amily2_update_button { background: none; border: 1px solid rgba(255,255,255,0.2); padding: 5px 8px; }
|
||||||
|
#amily2_update_button:hover { background: rgba(255,255,255,0.1); }
|
||||||
|
.update-indicator {
|
||||||
|
position: absolute; top: -3px; right: -3px; width: 10px; height: 10px;
|
||||||
|
background-color: #ff4d4d; border-radius: 50%; border: 1px solid #1e1e1e;
|
||||||
|
}
|
||||||
|
hr.header-divider { border: none; border-top: 1px solid rgba(255,255,255,0.1); margin: 0 0 10px 0; }
|
||||||
|
|
||||||
|
.settings-group {
|
||||||
|
border: 1px solid rgba(255, 255, 255, 0.2); border-radius: 8px;
|
||||||
|
padding: 15px; margin: 0; display: flex; flex-direction: column; gap: 15px;
|
||||||
|
}
|
||||||
|
.settings-group legend {
|
||||||
|
font-size: 1.1em; font-weight: bold; color: #eee; padding: 0 10px; margin-left: 10px;
|
||||||
|
}
|
||||||
|
.settings-group legend > i { margin-right: 8px; color: #7e57c2; }
|
||||||
|
|
||||||
|
.toggle-switch {
|
||||||
|
position: relative; display: inline-block; width: 50px; height: 26px;
|
||||||
|
}
|
||||||
|
.toggle-switch input { opacity: 0; width: 0; height: 0; }
|
||||||
|
.slider {
|
||||||
|
position: absolute; cursor: pointer; top: 0; left: 0; right: 0; bottom: 0;
|
||||||
|
background-color: #333; border-radius: 26px; transition: .4s;
|
||||||
|
}
|
||||||
|
.slider:before {
|
||||||
|
position: absolute; content: ""; height: 20px; width: 20px; left: 3px; bottom: 3px;
|
||||||
|
background-color: white; border-radius: 50%; transition: .4s;
|
||||||
|
}
|
||||||
|
input:checked + .slider { background-color: #7e57c2; }
|
||||||
|
input:checked + .slider:before { transform: translateX(24px); }
|
||||||
|
|
||||||
|
.radio-toggle-group {
|
||||||
|
display: flex; border: 1px solid #555; border-radius: 8px; overflow: hidden;
|
||||||
|
}
|
||||||
|
.radio-toggle-group input[type="radio"] { display: none; }
|
||||||
|
.radio-toggle-group label {
|
||||||
|
flex: 1; text-align: center; padding: 8px 10px; cursor: pointer;
|
||||||
|
background-color: #333; color: #ccc; transition: all 0.3s ease;
|
||||||
|
border-left: 1px solid #555; margin: 0 !important;
|
||||||
|
}
|
||||||
|
.radio-toggle-group label:first-of-type { border-left: none; }
|
||||||
|
.radio-toggle-group input[type="radio"]:checked + label {
|
||||||
|
background-color: #7e57c2; color: white; font-weight: bold;
|
||||||
|
}
|
||||||
|
|
||||||
|
.control-pair-container {
|
||||||
|
display: flex; justify-content: space-around; align-items: flex-start; gap: 20px;
|
||||||
|
}
|
||||||
|
.control-pair-container .amily2_settings_block {
|
||||||
|
flex: 1; display: flex; flex-direction: column; align-items: center; gap: 10px;
|
||||||
|
}
|
||||||
|
.control-pair-container .amily2_settings_block label:first-of-type { margin-bottom: 0; }
|
||||||
|
|
||||||
.amily2_settings_block { display: flex; flex-direction: column; gap: 8px; }
|
.amily2_settings_block { display: flex; flex-direction: column; gap: 8px; }
|
||||||
.amily2_settings_block label { font-weight: bold; color: #ddd; }
|
.amily2_settings_block label { font-weight: bold; color: #ddd; }
|
||||||
.amily2_settings_block .notes { font-size: 0.85em; color: #aaa; opacity: 0.8; }
|
.amily2_settings_block .notes {
|
||||||
|
font-size: 0.8em; color: #aaa; opacity: 0.9; font-style: italic;
|
||||||
|
align-self: flex-start; padding-left: 5px;
|
||||||
|
}
|
||||||
|
.control-pair-container .amily2_settings_block .notes { align-self: center; }
|
||||||
|
.label-with-button {
|
||||||
|
display: flex;
|
||||||
|
justify-content: space-between;
|
||||||
|
align-items: center;
|
||||||
|
}
|
||||||
|
|
||||||
|
.prompt-editor-area {
|
||||||
|
display: flex;
|
||||||
|
flex-direction: row;
|
||||||
|
align-items: flex-start;
|
||||||
|
gap: 10px;
|
||||||
|
}
|
||||||
|
.prompt-editor-area textarea {
|
||||||
|
flex-grow: 1;
|
||||||
|
resize: vertical;
|
||||||
|
}
|
||||||
|
|
||||||
|
|
||||||
|
.editor-buttons-panel {
|
||||||
|
display: flex;
|
||||||
|
flex-direction: row;
|
||||||
|
gap: 10px;
|
||||||
|
}
|
||||||
|
.editor-buttons-panel .menu_button {
|
||||||
|
margin: 0;
|
||||||
|
}
|
||||||
|
|
||||||
|
.editor_maximize {
|
||||||
|
color: #ccc;
|
||||||
|
cursor: pointer;
|
||||||
|
padding: 4px;
|
||||||
|
border-radius: 4px;
|
||||||
|
transition: background-color 0.2s, color 0.2s;
|
||||||
|
}
|
||||||
|
.editor_maximize:hover {
|
||||||
|
background-color: rgba(255, 255, 255, 0.1);
|
||||||
|
color: white;
|
||||||
|
}
|
||||||
|
hr { border: none; border-top: 1px solid rgba(255,255,255,0.1); margin: 0; }
|
||||||
.text_pole, select { width: 100%; box-sizing: border-box; }
|
.text_pole, select { width: 100%; box-sizing: border-box; }
|
||||||
.radio-group { display: flex; flex-wrap: wrap; gap: 15px; align-items: center; margin-top: 5px; }
|
|
||||||
.radio-group label { font-weight: normal; }
|
|
||||||
.prompt-container { display: flex; align-items: flex-start; gap: 10px; }
|
.button-pair { flex-direction: row; justify-content: space-between; gap: 15px; }
|
||||||
.prompt-container textarea { flex: 1; }
|
.button-pair .menu_button { flex-grow: 1; }
|
||||||
.prompt-container .small_button { height: auto; padding: 8px 12px; align-self: flex-start; white-space: nowrap; }
|
|
||||||
.flex-container .primary { background-color: #2196F3; }
|
.flex-container .primary { background-color: #2196F3; }
|
||||||
.flex-container .accent { background-color: #FF5722; }
|
.flex-container .accent { background-color: #FF5722; }
|
||||||
|
|
||||||
#amily2_drawer_icon.closedIcon {
|
|
||||||
opacity: 0.5;
|
|
||||||
}
|
|
||||||
|
|
||||||
#amily2_drawer_icon.openIcon {
|
#amily2_drawer_icon.closedIcon { opacity: 0.5; }
|
||||||
opacity: 1;
|
#amily2_drawer_icon.openIcon { opacity: 1; }
|
||||||
}
|
#amily2_drawer_icon.interactable:hover { opacity: 1; }
|
||||||
|
|
||||||
#amily2_drawer_icon.interactable:hover {
|
|
||||||
opacity: 1;
|
|
||||||
}
|
|
||||||
|
|||||||
Reference in New Issue
Block a user