diff --git a/present/Styles/dark.css b/present/Styles/dark.css index 25443d5..a98a9f5 100644 --- a/present/Styles/dark.css +++ b/present/Styles/dark.css @@ -1,34 +1,28 @@ body { - font-family: 'HarmonyOS Sans SC Regular', 'Roboto', Arial, sans-serif; + font-family: 'Roboto', 'HarmonyOS Sans SC', sans-serif; margin: 0; padding: 0; background: #1C1B1F; color: #E6E1E5; overflow: auto; - animation: fadeIn 1s; } body::-webkit-scrollbar { display: none; } -@keyframes fadeIn { - from { opacity: 0; } - to { opacity: 1; } -} - #fullscreen-btn, #settings-btn { position: absolute; top: 20px; padding: 12px 24px; - font-size: 0.875rem; + font-size: 1rem; cursor: pointer; - background-color: #D0BCFF; - color: #1C1B1F; + background-color: #4A4458; + color: #E6E1E5; border: none; - border-radius: 100px; + border-radius: 20px; box-shadow: 0 1px 3px rgba(0,0,0,0.3); - transition: box-shadow 0.3s, background-color 0.3s; + transition: all 0.2s ease; z-index: 1001; } @@ -41,21 +35,25 @@ body::-webkit-scrollbar { } #settings-btn:hover, #fullscreen-btn:hover { - background-color: #EADDFF; - box-shadow: 0 4px 8px rgba(0,0,0,0.4); + background-color: #635B70; + transform: translateY(-1px); + box-shadow: 0 2px 6px rgba(0,0,0,0.4); } .container { + padding: 24px; max-width: 1400px; margin: auto; - background-color: rgba(45, 44, 49, 0.4); + background-color: #2B2930; + border-radius: 28px; + box-shadow: 0 4px 8px rgba(0,0,0,0.2); } h1 { font-size: 3.5rem; - font-weight: bold; + font-weight: 400; text-align: left; - margin-bottom: 10px; + margin-bottom: 16px; color: #E6E1E5; display: flex; align-items: center; @@ -64,29 +62,27 @@ h1 { #room { font-size: 3.5rem; - font-weight: bold; + font-weight: 400; color: #E6E1E5; - position: relative; - right: 0; margin-left: 20px; } #message { font-size: 1.5rem; color: #D0BCFF; - margin-bottom: 20px; + margin-bottom: 24px; } .content { display: flex; justify-content: space-between; - gap: 3px; + gap: 24px; } .left-column, .right-column { display: flex; flex-direction: column; - gap: 3px; + gap: 24px; } .left-column { @@ -98,83 +94,79 @@ h1 { } .clock-section, .info-section, .right-column { - background-color: #2D2C31; - border-radius: 28px; + background-color: #332D41; padding: 24px; - box-shadow: 0 1px 3px rgba(0,0,0,0.3); - margin-bottom: 20px; /* 增加时钟和信息板块之间的间隔 */ + border-radius: 28px; + box-shadow: 0 2px 6px rgba(0,0,0,0.2); } #current-time { font-size: 8rem; text-align: center; - color: #E6E1E5; + color: #D0BCFF; margin: 0; - font-weight: bold; + font-weight: 400; } #current-subject, #exam-timing, #remaining-time, #status { font-size: 3rem; - margin: 10px 0; + margin: 16px 0; text-align: left; color: #E6E1E5; } table { width: 100%; - border-collapse: collapse; - margin-top: 20px; + border-collapse: separate; + border-spacing: 0; + margin-top: 24px; + background-color: #332D41; border-radius: 16px; - border: none; - box-shadow: 0 1px 3px rgba(0,0,0,0.3); - background-color: #2D2C31; overflow: hidden; } th, td { - border: none; - padding: 0px; + padding: 1px; font-size: 1.8rem; text-align: center; - color: #E6E1E5; + border-bottom: 1px solid #4A4458; } th { - background-color: #49454F; - color: #E6E1E5; + background-color: #4A4458; + color: #D0BCFF; font-weight: 500; - padding: 12px; } tr:hover { - background-color: #49454F; + background-color: #4A4458; } .exam-status-tag { padding: 6px 12px; - border-radius: 100px; - font-size: 0.875rem; + border-radius: 8px; + font-size: 1.2rem; font-weight: 500; } .exam-status-进行中 { - background-color: rgba(54, 177, 51, 0.2); - color: #81c995; + background-color: #365534; + color: #90D480; } .exam-status-即将开始 { - background-color: rgba(255, 180, 0, 0.2); - color: #fdd663; + background-color: #594300; + color: #FFB960; } .exam-status-已结束 { - background-color: rgba(234, 67, 53, 0.2); - color: #f28b82; + background-color: #5C1130; + color: #FFB3B3; } .exam-status-未开始 { - background-color: rgba(255, 255, 255, 0.1); - color: #dadce0; + background-color: #4A4458; + color: #E6E1E5; } #settings-modal { @@ -185,149 +177,128 @@ tr:hover { top: 0; width: 100%; height: 100%; - overflow: auto; - background-color: rgba(0, 0, 0, 0.6); - padding-top: 60px; + background-color: rgba(0,0,0,0.6); + backdrop-filter: blur(8px); } #settings-modal-content { - background: #2D2C31; - color: #E6E1E5; + background: #2B2930; + padding: 32px 48px 32px 32px; + margin: 32px auto; border-radius: 28px; - padding: 32px; + width: 600px; + max-height: 60vh; + overflow-y: auto; box-shadow: 0 8px 24px rgba(0,0,0,0.4); - max-width: 500px; - width: 90%; - margin: 25px auto; - animation: fadeIn 0.5s ease; +} + +#settings-modal-content::-webkit-scrollbar { + width: 8px; +} + +#settings-modal-content::-webkit-scrollbar-track { + background: transparent; + margin: 4px; +} + +#settings-modal-content::-webkit-scrollbar-thumb { + background: #4A4458; + border-radius: 8px; + border: 2px solid #2B2930; +} + +#settings-modal-content::-webkit-scrollbar-thumb:hover { + background: #635B70; } #settings-modal-content h3 { - margin: 0 0 20px; + margin: 0 0 24px; color: #E6E1E5; - font-size: 20px; + font-size: 24px; + font-weight: 400; } #settings-modal-content label { display: flex; align-items: center; - gap: 10px; - margin: 12px 0; + gap: 16px; + margin: 16px 0; font-size: 16px; - color: #CAC4D0; -} - -#settings-modal-content label[for="offset-time"], -#settings-modal-content label[for="room-input"], -#settings-modal-content label[for="zoom-input"] { - justify-content: space-between; + color: #E6E1E5; } #settings-modal-content input[type="number"], #settings-modal-content input[type="text"] { - background-color: #49454F; - color: #E6E1E5; - border: 1px solid #938F99; - border-radius: 5px; - padding: 12px; + font-size: 1.5rem; + padding: 12px 16px; + margin: 8px 0 24px; width: 100%; box-sizing: border-box; - font-size: 1rem; - margin-top: 8px; - margin-bottom: 16px; + border: 2px solid #4A4458; + border-radius: 12px; + background-color: #332D41; + color: #E6E1E5; + transition: all 0.2s ease; } #settings-modal-content input:focus { - border-color: #D0BCFF; - box-shadow: 0 0 0 1px #D0BCFF; outline: none; -} - -#settings-modal-content button { - padding: 12px 24px; - font-size: 0.875rem; - font-weight: 500; - border: none; - border-radius: 100px; - cursor: pointer; - background: #D0BCFF; - color: #1C1B1F; - transition: all 0.3s ease; -} - -#settings-modal-content button:hover { - background: #EADDFF; - transform: translateY(-1px); -} - -#close-settings-btn { - padding: 10px 20px; - font-size: 2rem; - cursor: pointer; - background-color: #B3261E !important; - color: #E6E1E5 !important; - border: none; - border-radius: 5px; - box-shadow: 0 0 10px rgba(0, 0, 0, 0.3); - transition: background-color 0.3s ease; -} - -#close-settings-btn:hover { - background-color: #930D0D !important; + border-color: #D0BCFF; + background-color: #4A4458; } .button-group { display: flex; justify-content: flex-end; - gap: 10px; - margin-top: 24px; + gap: 16px; + margin-top: 32px; } -.config-file-container { - margin: 12px 0; - padding: 16px; - border: 1px solid #938F99; - border-radius: 8px; - background-color: #49454F; -} - -.config-file-container label { - display: block; - margin-bottom: 8px; - color: #E6E1E5; -} - -.config-file-container input[type="file"] { - display: block; - width: 100%; - padding: 12px; - border: 1px solid #938F99; - border-radius: 4px; - background-color: #49454F; - color: #E6E1E5; +#save-settings-btn, #close-settings-btn { + padding: 12px 24px; + border-radius: 20px; + font-size: 16px; + font-weight: 500; + border: none; cursor: pointer; - margin-bottom: 8px; + transition: all 0.2s ease; } -.config-file-container input[type="file"]:hover { - background-color: #605D64; +#save-settings-btn { + background-color: #D0BCFF; + color: #1C1B1F; } -.file-hint { - color: #CAC4D0; +#close-settings-btn { + background-color: #4A4458; + color: #E6E1E5; +} + +#save-settings-btn:hover, #close-settings-btn:hover { + transform: translateY(-1px); + box-shadow: 0 2px 6px rgba(0,0,0,0.4); +} + +.error-container { + position: fixed; + bottom: 24px; + left: 50%; + transform: translateX(-50%); + background: #5C1130; + color: #FFB3B3; + padding: 16px 24px; + border-radius: 16px; + display: none; + z-index: 10001; + box-shadow: 0 4px 12px rgba(0,0,0,0.3); + animation: slideUp 0.3s ease; } .switch { position: relative; display: inline-block; - width: 60px; - height: 34px; -} - -.switch input { - opacity: 0; - width: 0; - height: 0; + width: 52px; + height: 32px; } .slider { @@ -337,20 +308,20 @@ tr:hover { left: 0; right: 0; bottom: 0; - background-color: #49454F; - transition: .4s; - border-radius: 34px; + background-color: #4A4458; + transition: .3s; + border-radius: 16px; } .slider:before { position: absolute; content: ""; - height: 26px; - width: 26px; + height: 24px; + width: 24px; left: 4px; bottom: 4px; background-color: #E6E1E5; - transition: .4s; + transition: .3s; border-radius: 50%; } @@ -359,69 +330,77 @@ input:checked + .slider { } input:checked + .slider:before { - transform: translateX(26px); + transform: translateX(20px); + background-color: #1C1B1F; } -.theme-toggle-container { - display: flex; - align-items: center; - justify-content: space-between; - gap: 10px; - margin: 12px 0; +.config-file-container { + margin: 24px 0; + padding: 24px; + border: 2px solid #4A4458; + border-radius: 20px; + background-color: #2B2930; + transition: all 0.2s ease; +} + +.config-file-container:hover { + border-color: #D0BCFF; + box-shadow: 0 2px 8px rgba(0,0,0,0.3); +} + +.config-file-container input[type="file"] { + max-width: 100%; + width: auto; + box-sizing: border-box; + padding: 12px; + border: 2px dashed #4A4458; + border-radius: 16px; + background-color: #332D41; + color: #E6E1E5; + cursor: pointer; + transition: all 0.2s ease; +} + +.config-file-container input[type="file"]::-webkit-file-upload-button { + padding: 8px 16px; + margin-right: 12px; + background-color: #4A4458; + color: #E6E1E5; + border: none; + border-radius: 12px; + cursor: pointer; + transition: all 0.2s ease; +} + +.config-file-container input[type="file"]::-webkit-file-upload-button:hover { + background-color: #635B70; +} + +.file-hint { + margin-top: 12px; + font-size: 14px; + color: #CAC4D0; + line-height: 1.5; } .config-control-btn { - margin-top: 10px; - padding: 8px 16px; - background-color: #B3261E !important; - color: #E6E1E5 !important; + margin-top: 20px; + padding: 12px 28px; + background-color: #4A4458; + color: #E6E1E5; border: none; - border-radius: 4px; + border-radius: 24px; cursor: pointer; font-size: 14px; - transition: background-color 0.3s ease; + font-weight: 500; + transition: all 0.2s ease; + display: inline-flex; + align-items: center; + justify-content: center; } .config-control-btn:hover { - background-color: #930D0D !important; -} - -.error-container { - background: #B3261E; - position: fixed; - bottom: 0; - left: 0; - right: 0; - padding: 16px 24px; - color: white; - display: none; - z-index: 10001; - animation: slideUp 0.3s ease; -} - -@keyframes slideUp { - from { transform: translateY(100%); } - to { transform: translateY(0); } -} - -.error-content { - max-width: 800px; - margin: 0 auto; - font-size: 15px; - display: flex; - align-items: center; - gap: 12px; -} - -.error-content:before { - content: '!'; - display: flex; - align-items: center; - justify-content: center; - width: 24px; - height: 24px; - background: #E6E1E5; - color: #B3261E; - border-radius: 50%; - font-weight: bold; -} + background-color: #635B70; + transform: translateY(-1px); + box-shadow: 0 2px 8px rgba(0,0,0,0.4); +} \ No newline at end of file diff --git a/present/Styles/light.css b/present/Styles/light.css index 4f66901..216b7f6 100644 --- a/present/Styles/light.css +++ b/present/Styles/light.css @@ -1,8 +1,8 @@ body { - font-family: 'HarmonyOS Sans SC Regular', 'Roboto', Arial, sans-serif; + font-family: 'Roboto', 'HarmonyOS Sans SC', sans-serif; margin: 0; padding: 0; - background: #FAFBFF; + background: #FFFBFE; color: #1C1B1F; overflow: auto; } @@ -11,23 +11,19 @@ body::-webkit-scrollbar { display: none; } -@keyframes fadeIn { - from { opacity: 0; } - to { opacity: 1; } -} - #fullscreen-btn, #settings-btn { position: absolute; top: 20px; padding: 12px 24px; - font-size: 0.875rem; + font-size: 1rem; cursor: pointer; - background-color: #6750A4; - color: #fff; + background-color: #E8DEF8; + color: #1C1B1F; border: none; - border-radius: 100px; - box-shadow: 0 1px 3px rgba(0,0,0,0.12); - transition: box-shadow 0.3s, background-color 0.3s; + border-radius: 20px; + box-shadow: 0 1px 3px rgba(0,0,0,0.1); + transition: all 0.2s ease; + z-index: 1001; } #fullscreen-btn { @@ -39,22 +35,26 @@ body::-webkit-scrollbar { } #settings-btn:hover, #fullscreen-btn:hover { - background-color: #7965AF; - box-shadow: 0 4px 8px rgba(0,0,0,0.2); + background-color: #D0BCFF; + transform: translateY(-1px); + box-shadow: 0 2px 6px rgba(0,0,0,0.2); } .container { + padding: 24px; max-width: 1400px; margin: auto; - background-color: #FAFBFF; + background-color: #F7F2FA; + border-radius: 28px; + box-shadow: 0 4px 8px rgba(0,0,0,0.1); } h1 { font-size: 3.5rem; - font-weight: bold; + font-weight: 400; text-align: left; - margin-bottom: 10px; - color: #333; + margin-bottom: 16px; + color: #1C1B1F; display: flex; align-items: center; justify-content: space-between; @@ -62,29 +62,27 @@ h1 { #room { font-size: 3.5rem; - font-weight: bold; - color: #333; - position: relative; - right: 0; + font-weight: 400; + color: #1C1B1F; margin-left: 20px; } #message { font-size: 1.5rem; color: #6750A4; - margin-bottom: 20px; + margin-bottom: 24px; } .content { display: flex; justify-content: space-between; - gap: 3px; + gap: 24px; } .left-column, .right-column { display: flex; flex-direction: column; - gap: 3px; + gap: 24px; } .left-column { @@ -96,103 +94,79 @@ h1 { } .clock-section, .info-section, .right-column { - background-color: #fff; - border-radius: 28px; + background-color: #FFFFFF; padding: 24px; - box-shadow: 0 1px 3px rgba(0,0,0,0.1); -} - -.clock-section, .info-section { - margin-bottom: 20px; /* 增加时钟和信息板块之间的间隔 */ + border-radius: 28px; + box-shadow: 0 2px 6px rgba(0,0,0,0.1); } #current-time { font-size: 8rem; text-align: center; - color: #333; + color: #6750A4; margin: 0; - font-weight: bold; + font-weight: 400; } #current-subject, #exam-timing, #remaining-time, #status { font-size: 3rem; - margin: 10px 0; + margin: 16px 0; text-align: left; - color: #333; + color: #1C1B1F; } table { width: 100%; border-collapse: separate; border-spacing: 0; - margin-top: 20px; + margin-top: 24px; + background-color: #FFFFFF; border-radius: 16px; - border: none; - box-shadow: 0 1px 3px rgba(0,0,0,0.1); - background-color: #fff; overflow: hidden; } -th:first-child { - border-top-left-radius: 16px; -} - -th:last-child { - border-top-right-radius: 16px; -} - th, td { - border: none; - padding: 0px; + padding: 1px; font-size: 1.8rem; text-align: center; + border-bottom: 1px solid #E8DEF8; } th { - background-color: #F4EEFF; + background-color: #E8DEF8; color: #1C1B1F; font-weight: 500; } tr:hover { - background-color: #f0f0f0; -} - -td:first-child { - border-top-left-radius: 8px; - border-bottom-left-radius: 8px; -} - -td:last-child { - border-top-right-radius: 8px; - border-bottom-right-radius: 8px; + background-color: #F7F2FA; } .exam-status-tag { padding: 6px 12px; - border-radius: 100px; - font-size: 0.875rem; + border-radius: 8px; + font-size: 1.2rem; font-weight: 500; } .exam-status-进行中 { - background-color: #E6F4EA; - color: #1E8E3E; + background-color: #DDF4D7; + color: #365534; } .exam-status-即将开始 { - background-color: #FEF7E0; - color: #B95000; + background-color: #FFF2D6; + color: #594300; } .exam-status-已结束 { - background-color: #FCE8E6; - color: #D93025; + background-color: #FFDAD6; + color: #5C1130; } .exam-status-未开始 { - background-color: #F3F3F3; - color: #5F6368; + background-color: #E8DEF8; + color: #1C1B1F; } #settings-modal { @@ -203,168 +177,128 @@ td:last-child { top: 0; width: 100%; height: 100%; - overflow: auto; - background-color: rgba(0, 0, 0, 0.4); - padding-top: 60px; + background-color: rgba(0,0,0,0.3); + backdrop-filter: blur(8px); } #settings-modal-content { - background: #fff; + background: #FFFFFF; + padding: 32px 48px 32px 32px; + margin: 32px auto; border-radius: 28px; - padding: 32px; - box-shadow: 0 8px 24px rgba(0,0,0,0.12); - max-width: 500px; - width: 90%; - margin: 25px auto; - animation: fadeIn 0.5s ease; + width: 600px; + max-height: 60vh; + overflow-y: auto; + box-shadow: 0 8px 24px rgba(0,0,0,0.2); } -@keyframes fadeIn { - from { opacity: 0; transform: translateY(-20px); } - to { opacity: 1; transform: translateY(0); } +#settings-modal-content::-webkit-scrollbar { + width: 8px; } -@keyframes fadeOut { - from { opacity: 1; transform: translateY(0); } - to { opacity: 0; transform: translateY(-20px); } +#settings-modal-content::-webkit-scrollbar-track { + background: transparent; + margin: 4px; } -.fade-out { - animation: fadeOut 0.3s ease; +#settings-modal-content::-webkit-scrollbar-thumb { + background: #E8DEF8; + border-radius: 8px; + border: 2px solid #FFFFFF; +} + +#settings-modal-content::-webkit-scrollbar-thumb:hover { + background: #D0BCFF; } #settings-modal-content h3 { - margin: 0 0 20px; + margin: 0 0 24px; color: #1C1B1F; - font-size: 20px; + font-size: 24px; + font-weight: 400; } #settings-modal-content label { display: flex; align-items: center; - gap: 10px; - margin: 12px 0; + gap: 16px; + margin: 16px 0; font-size: 16px; - color: #666; -} - -#settings-modal-content label[for="offset-time"], -#settings-modal-content label[for="room-input"], -#settings-modal-content label[for="zoom-input"] { - justify-content: space-between; + color: #1C1B1F; } #settings-modal-content input[type="number"], #settings-modal-content input[type="text"] { - background-color: #F4EEFF; - color: #1C1B1F; - border: 1px solid #938F99; - border-radius: 5px; - padding: 12px; + font-size: 1.5rem; + padding: 12px 16px; + margin: 8px 0 24px; width: 100%; box-sizing: border-box; - font-size: 1rem; - margin-top: 8px; - margin-bottom: 16px; + border: 2px solid #E8DEF8; + border-radius: 12px; + background-color: #FFFFFF; + color: #1C1B1F; + transition: all 0.2s ease; } #settings-modal-content input:focus { - border-color: #6750A4; - box-shadow: 0 0 0 1px #6750A4; outline: none; + border-color: #6750A4; + background-color: #F7F2FA; } .button-group { display: flex; justify-content: flex-end; - gap: 10px; - margin-top: 24px; + gap: 16px; + margin-top: 32px; } -#settings-modal-content button { +#save-settings-btn, #close-settings-btn { padding: 12px 24px; - font-size: 0.875rem; + border-radius: 20px; + font-size: 16px; font-weight: 500; border: none; - border-radius: 100px; cursor: pointer; - background: #6750A4; - color: #fff; - transition: all 0.3s ease; + transition: all 0.2s ease; } -#settings-modal-content button:hover { - background: #7965AF; - transform: translateY(-1px); +#save-settings-btn { + background-color: #6750A4; + color: #FFFFFF; } #close-settings-btn { - padding: 10px 20px; - font-size: 2rem; - cursor: pointer; - background-color: #B3261E !important; - color: #fff !important; - border: none; - border-radius: 5px; - box-shadow: 0 0 10px rgba(0, 0, 0, 0.2); - transition: background-color 0.3s ease; + background-color: #E8DEF8; + color: #1C1B1F; } -#close-settings-btn:hover { - background-color: #930D0D !important; +#save-settings-btn:hover, #close-settings-btn:hover { + transform: translateY(-1px); + box-shadow: 0 2px 6px rgba(0,0,0,0.2); } .error-container { position: fixed; - bottom: 0; - left: 0; - right: 0; - background: #B3261E; + bottom: 24px; + left: 50%; + transform: translateX(-50%); + background: #FFDAD6; + color: #5C1130; padding: 16px 24px; - color: white; + border-radius: 16px; display: none; z-index: 10001; + box-shadow: 0 4px 12px rgba(0,0,0,0.1); animation: slideUp 0.3s ease; } -@keyframes slideUp { - from { transform: translateY(100%); } - to { transform: translateY(0); } -} - -.error-content { - max-width: 800px; - margin: 0 auto; - font-size: 15px; - display: flex; - align-items: center; - gap: 12px; -} - -.error-content:before { - content: '!'; - display: flex; - align-items: center; - justify-content: center; - width: 24px; - height: 24px; - background: white; - color: #ff6b6b; - border-radius: 50%; - font-weight: bold; -} - .switch { position: relative; display: inline-block; - width: 60px; - height: 34px; -} - -.switch input { - opacity: 0; - width: 0; - height: 0; + width: 52px; + height: 32px; } .slider { @@ -374,86 +308,99 @@ td:last-child { left: 0; right: 0; bottom: 0; - background-color: #ccc; - transition: .4s; - border-radius: 34px; + background-color: #E8DEF8; + transition: .3s; + border-radius: 16px; } .slider:before { position: absolute; content: ""; - height: 26px; - width: 26px; + height: 24px; + width: 24px; left: 4px; bottom: 4px; - background-color: white; - transition: .4s; + background-color: #FFFFFF; + transition: .3s; border-radius: 50%; } input:checked + .slider { - background-color: #2196F3; + background-color: #6750A4; } input:checked + .slider:before { - transform: translateX(26px); -} - -theme-toggle-container { - display: flex; - align-items: center; - justify-content: space-between; - gap: 10px; - margin: 12px 0; + transform: translateX(20px); + background-color: #FFFFFF; } .config-file-container { - margin: 12px 0; - padding: 10px; - border: 1px solid #ccc; - border-radius: 5px; - background-color: rgba(255, 255, 255, 0.5); + margin: 24px 0; + padding: 24px; + border: 2px solid #E8DEF8; + border-radius: 20px; + background-color: #F7F2FA; + transition: all 0.2s ease; } -.config-file-container label { - display: block; - margin-bottom: 8px; - color: #333; +.config-file-container:hover { + border-color: #6750A4; + box-shadow: 0 2px 8px rgba(0,0,0,0.1); } .config-file-container input[type="file"] { - display: block; - width: 100%; - padding: 8px; - border: 1px solid #ccc; - border-radius: 4px; - background-color: #fff; - color: #333; + max-width: 100%; + width: auto; + box-sizing: border-box; + padding: 12px; + border: 2px dashed #E8DEF8; + border-radius: 16px; + background-color: #FFFFFF; + color: #1C1B1F; cursor: pointer; + transition: all 0.2s ease; } -.config-file-container input[type="file"]:hover { - background-color: #f5f5f5; +.config-file-container input[type="file"]::-webkit-file-upload-button { + padding: 8px 16px; + margin-right: 12px; + background-color: #E8DEF8; + color: #1C1B1F; + border: none; + border-radius: 12px; + cursor: pointer; + transition: all 0.2s ease; +} + +.config-file-container input[type="file"]::-webkit-file-upload-button:hover { + background-color: #D0BCFF; } .file-hint { - margin-top: 4px; - font-size: 12px; - color: #666; + margin-top: 12px; + font-size: 14px; + color: #49454F; + line-height: 1.5; } .config-control-btn { - margin-top: 10px; - padding: 8px 16px; - background-color: #B3261E !important; - color: white !important; + margin-top: 20px; + padding: 12px 28px; + background-color: #E8DEF8; + color: #1C1B1F; border: none; - border-radius: 4px; + border-radius: 24px; cursor: pointer; font-size: 14px; - transition: background-color 0.3s ease; + font-weight: 500; + transition: all 0.2s ease; + display: inline-flex; + align-items: center; + justify-content: center; } .config-control-btn:hover { - background-color: #930D0D !important; -} + background-color: #D0BCFF; + transform: translateY(-1px); + box-shadow: 0 2px 8px rgba(0,0,0,0.15); +} \ No newline at end of file