mirror of
https://github.com/mue/mue.git
synced 2026-07-18 06:24:17 +02:00
- Added shebang to commit-msg.sh for better script execution. - Updated Dockerfile to use a specific version of the bun image. - Improved logging format in SafariWebExtensionHandler.swift for better readability. - Simplified CSS variable for text color in Style.css. - Refactored ViewController.swift to enhance readability and maintainability. - Improved conditional checks in ModalTopBar.jsx and Tooltip.jsx for better clarity. - Updated SCSS files to use comments consistently and removed redundant lines. - Enhanced error handling and background loading logic in backgroundLoader.js. - Refactored useBackgroundEvents.js and useBackgroundLoader.js for better readability. - Cleaned up quicklinks components and utilities for improved code quality. - Added empty error.scss file for future styling. - Updated toast.scss and index.scss with consistent comment styles. - Improved number formatting logic in formatNumber.js for better clarity.
134 lines
2.1 KiB
CSS
134 lines
2.1 KiB
CSS
* {
|
|
-webkit-user-select: none;
|
|
-webkit-user-drag: none;
|
|
cursor: default;
|
|
margin: 0;
|
|
padding: 0;
|
|
box-sizing: border-box;
|
|
}
|
|
|
|
:root {
|
|
--spacing: 20px;
|
|
--text-color: #fff;
|
|
--shadow: 0 4px 20px rgb(0 0 0 / 30%);
|
|
--background-color: #0a0a0a;
|
|
}
|
|
|
|
html {
|
|
height: 100%;
|
|
}
|
|
|
|
body {
|
|
height: 100%;
|
|
margin: 0;
|
|
overflow: hidden;
|
|
font-family:
|
|
'Lexend Deca',
|
|
-apple-system,
|
|
BlinkMacSystemFont,
|
|
'Segoe UI',
|
|
Roboto,
|
|
Oxygen,
|
|
Ubuntu,
|
|
Cantarell,
|
|
sans-serif;
|
|
}
|
|
|
|
.gradient-bg {
|
|
position: fixed;
|
|
top: 0;
|
|
left: 0;
|
|
width: 100%;
|
|
height: 100%;
|
|
background: var(--background-color);
|
|
z-index: -1;
|
|
}
|
|
|
|
.content {
|
|
display: flex;
|
|
align-items: center;
|
|
justify-content: center;
|
|
flex-direction: column;
|
|
gap: calc(var(--spacing) * 0.5);
|
|
height: 100%;
|
|
text-align: center;
|
|
color: var(--text-color);
|
|
padding: var(--spacing);
|
|
}
|
|
|
|
img {
|
|
filter: drop-shadow(var(--shadow));
|
|
margin-bottom: 5px;
|
|
}
|
|
|
|
.title {
|
|
font-size: 3em;
|
|
font-weight: 700;
|
|
margin: 0;
|
|
text-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
|
|
letter-spacing: -0.5px;
|
|
}
|
|
|
|
.subtitle {
|
|
font-size: 1.2em;
|
|
font-weight: 400;
|
|
margin: 0;
|
|
opacity: 0.95;
|
|
text-shadow: 0 1px 5px rgba(0, 0, 0, 0.2);
|
|
}
|
|
|
|
.status-container {
|
|
margin: 10px 0;
|
|
min-height: 50px;
|
|
display: flex;
|
|
align-items: center;
|
|
justify-content: center;
|
|
}
|
|
|
|
.status-container p {
|
|
font-size: 1.1em;
|
|
margin: 0;
|
|
padding: 12px 24px;
|
|
background: #fff;
|
|
color: #000;
|
|
border-radius: 12px;
|
|
box-shadow: var(--shadow);
|
|
}
|
|
|
|
body:not(.state-on, .state-off) :is(.state-on, .state-off) {
|
|
display: none;
|
|
}
|
|
|
|
body.state-on :is(.state-off, .state-unknown) {
|
|
display: none;
|
|
}
|
|
|
|
body.state-off :is(.state-on, .state-unknown) {
|
|
display: none;
|
|
}
|
|
|
|
button {
|
|
font-size: 1.1em;
|
|
font-weight: 600;
|
|
padding: 12px 28px;
|
|
background: #fff;
|
|
color: #000;
|
|
border: none;
|
|
border-radius: 12px;
|
|
cursor: pointer;
|
|
transition: all 0.3s ease;
|
|
box-shadow: var(--shadow);
|
|
margin-top: 5px;
|
|
}
|
|
|
|
button:hover {
|
|
background: #f0f0f0;
|
|
transform: translateY(-2px);
|
|
box-shadow: 0 6px 25px rgb(0 0 0 / 40%);
|
|
}
|
|
|
|
button:active {
|
|
transform: translateY(0);
|
|
box-shadow: var(--shadow);
|
|
}
|