原型
This commit is contained in:
72
江西城市生命线-可交互原型/frontend/src/styles/main.scss
Normal file
72
江西城市生命线-可交互原型/frontend/src/styles/main.scss
Normal file
@@ -0,0 +1,72 @@
|
||||
* {
|
||||
margin: 0;
|
||||
padding: 0;
|
||||
box-sizing: border-box;
|
||||
}
|
||||
|
||||
html, body {
|
||||
font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
|
||||
font-size: 14px;
|
||||
line-height: 1.5;
|
||||
color: #333;
|
||||
background-color: #f5f5f5;
|
||||
}
|
||||
|
||||
:root {
|
||||
--primary-color: #7c3aed;
|
||||
--primary-light: #a78bfa;
|
||||
--primary-dark: #5b21b6;
|
||||
--sidebar-bg: #4a1d7e;
|
||||
--sidebar-hover: rgba(255, 255, 255, 0.1);
|
||||
--sidebar-active: rgba(255, 255, 255, 0.2);
|
||||
--text-white: #ffffff;
|
||||
--text-gray: #9ca3af;
|
||||
--border-color: #e5e7eb;
|
||||
--card-bg: #ffffff;
|
||||
--shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
|
||||
}
|
||||
|
||||
// Scrollbar styles
|
||||
::-webkit-scrollbar {
|
||||
width: 6px;
|
||||
height: 6px;
|
||||
}
|
||||
|
||||
::-webkit-scrollbar-track {
|
||||
background: transparent;
|
||||
}
|
||||
|
||||
::-webkit-scrollbar-thumb {
|
||||
background: #d1d5db;
|
||||
border-radius: 3px;
|
||||
|
||||
&:hover {
|
||||
background: #9ca3af;
|
||||
}
|
||||
}
|
||||
|
||||
// Input styles
|
||||
input, textarea {
|
||||
font-family: inherit;
|
||||
font-size: inherit;
|
||||
}
|
||||
|
||||
// Button reset
|
||||
button {
|
||||
border: none;
|
||||
background: none;
|
||||
cursor: pointer;
|
||||
font-family: inherit;
|
||||
font-size: inherit;
|
||||
}
|
||||
|
||||
// Link reset
|
||||
a {
|
||||
text-decoration: none;
|
||||
color: inherit;
|
||||
}
|
||||
|
||||
// List reset
|
||||
ul, ol {
|
||||
list-style: none;
|
||||
}
|
||||
Reference in New Issue
Block a user