| 123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149 |
- /* styles.css */
- * {
- margin: 0;
- padding: 0;
- box-sizing: border-box;
- }
- #login-page {
- font-family: Arial, sans-serif;
- background-color: #f4f4f4;
- display: flex;
- justify-content: center;
- align-items: center;
- height: 100vh;
- }
- #login-page .login-container {
- background-color: white;
- padding: 20px;
- border-radius: 8px;
- box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
- width: 300px;
- }
- #login-page h2 {
- text-align: center;
- margin-bottom: 20px;
- font-size: 24px;
- }
- #login-page .form-group {
- margin-bottom: 15px;
- }
- #login-page label {
- display: block;
- font-size: 14px;
- margin-bottom: 5px;
- }
- #login-page input[type="text"],
- #login-page input[type="password"] {
- width: 100%;
- padding: 10px;
- border: 1px solid #ccc;
- border-radius: 4px;
- font-size: 14px;
- }
- #login-page button {
- width: 100%;
- padding: 10px;
- background-color: #4CAF50;
- color: white;
- border: none;
- border-radius: 4px;
- font-size: 16px;
- cursor: pointer;
- }
- #login-page button:hover {
- background-color: #45a049;
- }
- #login-page .error-message {
- color: red;
- text-align: center;
- font-size: 14px;
- margin-top: 10px;
- }
- #content-page {
- font-family: Arial, sans-serif;
- background-color: #f4f4f4;
- display: flex;
- flex-direction: column;
- justify-content: space-between;
- height: 100vh;
- }
- #content-page .nav-bar {
- background-color: #333;
- width: 100VW;
- /*height: 2.7vw;*/
- min-height: 50px;
- display: flex;
- justify-content: space-between;
- line-height: 50px;
- }
- #content-page .nav-bar .nav-logo {
- display: flex;
- width: 100px;
- margin-right: 20px;
- background-color: rgba(255, 255, 255, 0.07);
- }
- #content-page .nav-bar .nav-menu {
- display: flex;
- }
- #content-page .nav-bar .nav-menu .nav-menu-item{
- margin-left: 5px;
- color: #dddddd;
- font-size: 17px;
- font-weight: bold;
- border-bottom: 5px solid rgba(255,255,255,0.6);
- padding: 0 10px;
- cursor: pointer;
- user-select: none;
- min-width: 95px;
- text-align: center;
- }
- #content-page .nav-bar .nav-menu .nav-menu-item:hover{
- color: #f4f4f4;
- background-color: rgba(255,255,255,0.07);
- }
- #content-page .nav-bar .nav-user {
- margin-left: auto;
- width: 80px;
- background-color: rgba(255, 255, 255, 0.07);
- }
- #content-page .content-body {
- height: calc(100VH - 2.70vw);
- }
- #content-page #drop-zone {
- cursor: pointer;
- width: 400px;
- height: 200px;
- border: 2px dashed #ccc;
- text-align: center;
- line-height: 200px;
- color: #666;
- font-size: 16px;
- margin: 20px auto;
- background-color: #f9f9f9;
- transition: border 0.2s ease-in-out;
- user-select: none;
- }
- #content-page #drop-zone:hover {
- border: 2px dashed #3089ff;
- }
- #content-page #drop-zone.dragover {
- background-color: #e0e0e0;
- border: 2px dashed #3089ff;
- }
|