@visns-studio/visns-components 6.0.4 → 6.0.5

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -1,3 +1,8 @@
1
+ @use 'controls' as *;
2
+
3
+ .btn {
4
+ @include button-primary;
5
+ }
1
6
  /* Proposal System Styles (backward compatible) */
2
7
  .proposalControls {
3
8
  background: #f8f9fa;
@@ -680,29 +685,9 @@
680
685
  border: 1px solid var(--secondary-color);
681
686
  }
682
687
 
683
- .btn {
684
- width: max-content;
685
- display: inline-block;
686
- position: relative;
687
- padding: 0.65rem 1rem;
688
- cursor: pointer;
689
- font-size: 1rem;
690
- color: var(--tertiary-color);
691
- text-decoration: none;
692
- overflow: hidden;
693
- background: var(--primary-color);
694
- border: 1px solid rgba(var(--primary-color--rgb), 1.1);
695
- border-radius: var(--br);
696
- outline: none;
697
- transition: all 0.2s cubic-bezier(0.85, 0, 0.15, 1) 0s;
698
- font-size: 1.25em;
699
- }
700
688
 
701
- .btn:hover {
702
- color: var(--primary-color);
703
- background: var(--highlight-color);
704
- border: 1px solid rgba(var(--highlight-rgb), 1.05);
705
- }
689
+
690
+
706
691
 
707
692
  .crmtitle {
708
693
  min-height: auto;
@@ -1,3 +1,8 @@
1
+ @use 'controls' as *;
2
+
3
+ .btn {
4
+ @include button-primary;
5
+ }
1
6
  // Use project root CSS variables instead of local SCSS variables
2
7
  // This allows the component to adapt to different project themes
3
8
 
@@ -2140,44 +2145,7 @@
2140
2145
  }
2141
2146
 
2142
2147
  // Buttons
2143
- .btn {
2144
- display: inline-flex;
2145
- align-items: center;
2146
- justify-content: center;
2147
- gap: 8px;
2148
- padding: 12px calc(var(--padding) * 1.5);
2149
- border: none;
2150
- border-radius: var(--radius);
2151
- font-size: 0.875rem;
2152
- font-weight: 600;
2153
- cursor: pointer;
2154
- transition: all 0.2s ease;
2155
- text-decoration: none;
2156
- min-height: 44px;
2157
- position: relative;
2158
- overflow: hidden;
2159
2148
 
2160
- &:disabled {
2161
- opacity: 0.5;
2162
- cursor: not-allowed;
2163
- transform: none !important;
2164
- }
2165
-
2166
- &:focus {
2167
- outline: 2px solid rgba(var(--primary-rgb), 0.3);
2168
- outline-offset: 2px;
2169
- }
2170
-
2171
- &:active:not(:disabled) {
2172
- transform: translateY(1px);
2173
- }
2174
-
2175
- svg {
2176
- width: 16px;
2177
- height: 16px;
2178
- flex-shrink: 0;
2179
- }
2180
- }
2181
2149
 
2182
2150
  .btnPrimary {
2183
2151
  background-color: var(--primary-color);