| | |
| |
|
| | |
| | %button-inactive { |
| | opacity: 0.5; |
| | cursor: not-allowed; |
| | pointer-events: none; |
| | } |
| |
|
| | |
| | .primary-btn { |
| | padding: 3px 16px; |
| | border: 1px solid var(--button-border); |
| | border-radius: 4px; |
| | background-color: var(--button-bg); |
| | color: var(--button-text); |
| | font-family: inherit; |
| | font-size: 10pt; |
| | font-weight: 500; |
| | cursor: pointer; |
| | transition: all 0.15s ease; |
| | box-shadow: 0 1px 2px rgba(0, 0, 0, 0.05); |
| |
|
| | &:hover:not(.inactive) { |
| | background-color: var(--button-hover-bg); |
| | border-color: var(--button-border); |
| | box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1); |
| | transform: translateY(-1px); |
| | } |
| |
|
| | &:active:not(.inactive) { |
| | background-color: var(--button-active-bg); |
| | transform: translateY(0); |
| | box-shadow: 0 1px 2px rgba(0, 0, 0, 0.05); |
| | } |
| |
|
| | &.selected { |
| | background-color: #e3f2fd; |
| | border-color: #90caf9; |
| | color: #1976d2; |
| | } |
| |
|
| | &.inactive { |
| | @extend %button-inactive; |
| | } |
| | } |
| |
|
| | |
| | .text-action-btn { |
| | padding: 1.5px 8px; |
| | border: none; |
| | border-radius: 4px; |
| | background-color: transparent; |
| | color: var(--text-color); |
| | font-family: inherit; |
| | font-size: 9pt; |
| | font-weight: 400; |
| | cursor: pointer; |
| | transition: all 0.15s ease; |
| | |
| | &.inactive { |
| | @extend %button-inactive; |
| | } |
| |
|
| | &:hover:not(.inactive) { |
| | background-color: var(--text-action-btn-hover); |
| | } |
| |
|
| | &:active:not(.inactive) { |
| | background-color: var(--text-action-btn-hover); |
| | opacity: 0.8; |
| | } |
| | } |
| |
|
| | |
| | .refresh-btn { |
| | padding: 4px; |
| | font-size: 14pt; |
| | cursor: pointer; |
| | background-color: transparent; |
| | border: none; |
| | border-radius: 4px; |
| | display: inline-flex; |
| | align-items: center; |
| | justify-content: center; |
| | min-width: 28px; |
| | height: 28px; |
| | transition: all 0.15s ease; |
| | color: var(--refresh-btn-color); |
| | |
| | &:hover { |
| | background-color: var(--refresh-btn-hover); |
| | } |
| | |
| | &:active { |
| | background-color: var(--refresh-btn-hover); |
| | transform: scale(0.95); |
| | } |
| | |
| | |
| | } |
| |
|
| | |
| | button { |
| | -webkit-transition-duration: 0.15s; |
| | transition-duration: 0.15s; |
| | font-family: inherit; |
| | cursor: pointer; |
| | border-radius: 4px; |
| | outline: none; |
| |
|
| | |
| | &:not(.primary-btn):not(.text-action-btn):not(.refresh-btn):not(.demoBtn):not(.dialog-button) { |
| | border: 1px solid var(--button-border); |
| | padding: 6px 16px; |
| | background-color: var(--button-bg); |
| | color: var(--button-text); |
| | font-weight: 500; |
| | box-shadow: 0 1px 2px rgba(0, 0, 0, 0.05); |
| | transition: all 0.2s ease; |
| |
|
| | &:hover:not(.inactive) { |
| | background-color: var(--button-hover-bg); |
| | border-color: var(--button-border); |
| | box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1); |
| | } |
| |
|
| | &:active:not(.inactive) { |
| | background-color: var(--button-active-bg); |
| | transform: scale(0.98); |
| | } |
| |
|
| | &.selected { |
| | background-color: #e3f2fd; |
| | border-color: #90caf9; |
| | color: #1976d2; |
| | } |
| |
|
| | &.inactive { |
| | @extend %button-inactive; |
| | } |
| | } |
| | } |
| |
|
| | button:active :focus { |
| | background-color: #98b7d9; |
| | } |
| |
|
| | |
| | .compare-link, |
| | .home-link { |
| | color: var(--primary-color, #3b82f6); |
| | text-decoration: underline; |
| | |
| | &:hover { |
| | color: var(--primary-color, #2563eb); |
| | } |
| | } |
| |
|