| /* |
| * Licensed to the Apache Software Foundation (ASF) under one |
| * or more contributor license agreements. See the NOTICE file |
| * distributed with this work for additional information |
| * regarding copyright ownership. The ASF licenses this file |
| * to you under the Apache License, Version 2.0 (the |
| * "License"); you may not use this file except in compliance |
| * with the License. You may obtain a copy of the License at |
| * |
| * http://www.apache.org/licenses/LICENSE-2.0 |
| * |
| * Unless required by applicable law or agreed to in writing, |
| * software distributed under the License is distributed on an |
| * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY |
| * KIND, either express or implied. See the License for the |
| * specific language governing permissions and limitations |
| * under the License. |
| */ |
| |
| /* Design Tokens */ |
| :root { |
| --primary-color: #3498db; |
| --primary-dark: #2980b9; |
| --secondary-color: #2c3e50; |
| --bg-color: #f0f2f5; |
| --card-bg: #ffffff; |
| --text-color: #333333; |
| --text-muted: #666666; |
| --error-color: #e74c3c; |
| --success-color: #2ecc71; |
| --warning-color: #f39c12; |
| --border-color: #dddddd; |
| --border-radius: 8px; |
| --header-height: 64px; |
| --sidebar-width: 240px; |
| --shadow-sm: 0 2px 4px rgba(0, 0, 0, 0.1); |
| --shadow-md: 0 4px 6px rgba(0, 0, 0, 0.1); |
| } |
| |
| /* Common Classes */ |
| .card { |
| background-color: var(--card-bg); |
| border-radius: var(--border-radius); |
| box-shadow: var(--shadow-sm); |
| padding: 1.5rem; |
| margin-bottom: 1rem; |
| } |
| |
| .flex-center { |
| display: flex; |
| justify-content: center; |
| align-items: center; |
| } |
| |
| .flex-between { |
| display: flex; |
| justify-content: space-between; |
| align-items: center; |
| } |
| |
| .text-error { |
| color: var(--error-color); |
| } |
| |
| .text-success { |
| color: var(--success-color); |
| } |
| |
| .btn { |
| padding: 0.75rem 1.5rem; |
| border-radius: var(--border-radius); |
| font-weight: 600; |
| cursor: pointer; |
| border: none; |
| transition: opacity 0.2s; |
| |
| &:disabled { |
| opacity: 0.6; |
| cursor: not-allowed; |
| } |
| } |
| |
| .btn-primary { |
| @extend .btn; |
| background-color: var(--primary-color); |
| color: white; |
| |
| &:hover:not(:disabled) { |
| background-color: var(--primary-dark); |
| } |
| } |