dolphincss 1.0.6 → 1.1.7

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.
package/MainCss/glow.css DELETED
@@ -1,108 +0,0 @@
1
- /* ===== Global Glowing Effects ===== */
2
- .glow {
3
- --glow-color: var(--color-primary);
4
- --glow-intensity: 0.2;
5
- --glow-spread: 15px;
6
- --glow-blur: 8px;
7
- @apply transition-all duration-300;
8
- }
9
-
10
- /* Glow on hover */
11
- .glow:hover {
12
- box-shadow: 0 0 var(--glow-spread) var(--glow-blur) color-mix(in oklch, var(--glow-color) calc(var(--glow-intensity) * 100%), transparent);
13
- }
14
-
15
- /* Glow on focus */
16
- .glow:focus {
17
- box-shadow: 0 0 0 3px color-mix(in oklch, var(--glow-color) 20%, transparent);
18
- }
19
-
20
- /* Color variants */
21
- .glow.primary {
22
- --glow-color: var(--color-primary);
23
- }
24
-
25
- .glow.secondary {
26
- --glow-color: var(--color-secondary);
27
- }
28
-
29
- .glow.success {
30
- --glow-color: var(--color-success);
31
- }
32
-
33
- .glow.warning {
34
- --glow-color: var(--color-warning);
35
- }
36
-
37
- .glow.danger {
38
- --glow-color: var(--color-danger);
39
- }
40
-
41
- .glow.info {
42
- --glow-color: var(--color-info);
43
- }
44
-
45
- /* Intensity variants */
46
- .glow.strong {
47
- --glow-intensity: 0.4;
48
- --glow-spread: 25px;
49
- }
50
-
51
- .glow.subtle {
52
- --glow-intensity: 0.15;
53
- --glow-spread: 10px;
54
- }
55
-
56
- /* Pulsing glow */
57
- .glow.pulse {
58
- animation: dolphin-glow-pulse 3s ease-in-out infinite;
59
- }
60
-
61
- @keyframes dolphin-glow-pulse {
62
- 0%, 100% {
63
- box-shadow: 0 0 5px 2px color-mix(in oklch, var(--glow-color) 15%, transparent);
64
- }
65
- 50% {
66
- box-shadow: 0 0 20px 8px color-mix(in oklch, var(--glow-color) 25%, transparent);
67
- }
68
- }
69
-
70
- /* Wave glow */
71
- .glow.wave {
72
- animation: ocean-wave 4s ease-in-out infinite;
73
- }
74
-
75
- @keyframes ocean-wave {
76
- 0%, 100% {
77
- box-shadow:
78
- 0 0 10px 3px color-mix(in oklch, var(--color-primary) 20%, transparent),
79
- 0 0 20px 6px color-mix(in oklch, var(--color-info) 15%, transparent);
80
- }
81
- 50% {
82
- box-shadow:
83
- 0 0 15px 5px color-mix(in oklch, var(--color-primary) 25%, transparent),
84
- 0 0 25px 8px color-mix(in oklch, var(--color-info) 20%, transparent);
85
- }
86
- }
87
-
88
- /* For inputs, we want to override the focus glow if the input has the glow class */
89
- .floatinglabel-input.glow:focus {
90
- box-shadow: 0 0 0 3px color-mix(in oklch, var(--glow-color) 20%, transparent);
91
- }
92
-
93
- /* Ensure that the glow effect is not applied to disabled elements */
94
- .glow:disabled {
95
- box-shadow: none !important;
96
- }
97
-
98
- /* Responsive glow - reduce on mobile */
99
- @media (max-width: 768px) {
100
- .glow:hover {
101
- --glow-spread: 12px;
102
- --glow-blur: 6px;
103
- }
104
-
105
- .glow:focus {
106
- box-shadow: 0 0 0 2px color-mix(in oklch, var(--glow-color) 20%, transparent);
107
- }
108
- }
@@ -1,13 +0,0 @@
1
-
2
- /* ===== Gradient Background ===== */
3
- @layer components {
4
- .gradient-bg {
5
- @apply transition-all duration-500 rounded-md bg-no-repeat text-(--color-text);
6
- background-size: 200% 200%;
7
- }
8
- .gradient-bg.primary { background-image: var(--gradient-primary) !important; }
9
- .gradient-bg.success { background-image: var(--gradient-success) !important; }
10
- .gradient-bg.warning { background-image: var(--gradient-warning) !important; }
11
- .gradient-bg.danger { background-image: var(--gradient-danger) !important; }
12
- .gradient-bg.info { background-image: var(--gradient-info) !important; }
13
- }
package/MainCss/icon.css DELETED
@@ -1,41 +0,0 @@
1
- /* Inputs with left icon */
2
- @layer components {
3
- .input-icon-left {
4
- @apply relative w-full;
5
- }
6
- .input-icon-left > svg {
7
- @apply absolute left-3 top-1/2 -translate-y-1/2 w-5 h-5 text-(--color-text-muted);
8
- }
9
- .input-icon-left > input,
10
- .input-icon-left > select {
11
- @apply w-full pl-10 pr-3 py-2 rounded-md transition-all duration-200;
12
- }
13
-
14
- /* Inputs with right icon */
15
- .input-icon-right {
16
- @apply relative w-full;
17
- }
18
- .input-icon-right > svg {
19
- @apply absolute right-3 top-1/2 -translate-y-1/2 w-5 h-5 text-(--color-text-muted);
20
- }
21
- .input-icon-right > input,
22
- .input-icon-right > select {
23
- @apply w-full pl-3 pr-10 py-2 rounded-md transition-all duration-200;
24
- }
25
-
26
- /* Buttons with left icon */
27
- .button-icon-left {
28
- @apply relative inline-flex items-center justify-center gap-2;
29
- }
30
- .button-icon-left > svg {
31
- @apply w-5 h-5;
32
- }
33
-
34
- /* Buttons with right icon */
35
- .button-icon-right {
36
- @apply relative inline-flex items-center justify-center gap-2;
37
- }
38
- .button-icon-right > svg {
39
- @apply w-5 h-5 order-last;
40
- }
41
- }
package/MainCss/kpi.css DELETED
@@ -1,27 +0,0 @@
1
- /* ===== KPI Card System ===== */
2
- @layer components {
3
- .kpi-card {
4
- @apply flex items-center justify-between p-4 rounded-xl shadow-md transition-all duration-300 hover:shadow-xl bg-(--color-surface) text-(--color-text);
5
- }
6
- .kpi-card .kpi-text { @apply flex flex-col; }
7
- .kpi-card .kpi-text .kpi-title { @apply text-sm text-(--color-text-muted); }
8
- .kpi-card .kpi-text .kpi-value { @apply text-2xl font-bold text-(--color-text); }
9
- .kpi-card .kpi-text .kpi-change { @apply text-sm font-medium mt-1; }
10
- .kpi-card .kpi-text .kpi-change.positive { @apply text-(--color-success); }
11
- .kpi-card .kpi-text .kpi-change.negative { @apply text-(--color-danger); }
12
- .kpi-card .kpi-chart {
13
- @apply w-16 h-16 rounded-xl flex items-center justify-center transition-all duration-300 shadow-inner bg-(--color-primary) text-(--color-text);
14
- position: relative;
15
- overflow: hidden;
16
- }
17
- .kpi-card .kpi-chart::before {
18
- content: '';
19
- @apply absolute bottom-1 left-1 w-[calc(100%-0.5rem)] h-1/2 bg-gradient-to-r from-(--color-gradient-start) to-(--color-gradient-end) rounded-sm;
20
- }
21
- .kpi-card:hover .kpi-chart { @apply shadow-lg; }
22
- @media (max-width: 768px) {
23
- .kpi-card { @apply flex-col items-start gap-3; }
24
- .kpi-card .kpi-chart { @apply w-12 h-12; }
25
- }
26
- }
27
-
@@ -1,32 +0,0 @@
1
-
2
- /* ===== Layout System ===== */
3
- @layer components {
4
- .row { @apply flex flex-wrap gap-4; }
5
- .col { @apply flex-1 min-w-[200px]; }
6
- .col-1 { @apply flex-[1_1_8%]; }
7
- .col-2 { @apply flex-[1_1_16%]; }
8
- .col-3 { @apply flex-[1_1_25%]; }
9
- .col-4 { @apply flex-[1_1_33%]; }
10
- .col-5 { @apply flex-[1_1_41%]; }
11
- .col-6 { @apply flex-[1_1_50%]; }
12
- .col-7 { @apply flex-[1_1_58%]; }
13
- .col-8 { @apply flex-[1_1_66%]; }
14
- .col-9 { @apply flex-[1_1_75%]; }
15
- .col-10 { @apply flex-[1_1_83%]; }
16
- .col-11 { @apply flex-[1_1_91%]; }
17
- .col-12 { @apply flex-[1_1_100%]; }
18
- @media (max-width: 1024px) {
19
- .col, .col-1, .col-2, .col-3, .col-4, .col-5, .col-6,
20
- .col-7, .col-8, .col-9, .col-10, .col-11, .col-12 { @apply flex-[1_1_45%]; }
21
- }
22
- @media (max-width: 768px) {
23
- .col, .col-1, .col-2, .col-3, .col-4, .col-5, .col-6,
24
- .col-7, .col-8, .col-9, .col-10, .col-11, .col-12 { @apply flex-[1_1_100%]; }
25
- }
26
- .gap-0 { @apply gap-0; }
27
- .gap-1 { @apply gap-1; }
28
- .gap-2 { @apply gap-2; }
29
- .gap-3 { @apply gap-3; }
30
- .gap-4 { @apply gap-4; }
31
- .gap-5 { @apply gap-5; }
32
- }
@@ -1,144 +0,0 @@
1
- /* ============================
2
- 🌊 DolphinCSS Motion System
3
- ✅ Works with: filled, primary, circle, glow, etc.
4
- ✅ Tailwind v4 Compatible
5
- ============================ */
6
-
7
- @keyframes hover-pulse {
8
- 0%, 100% { transform: scale(1); }
9
- 50% { transform: scale(1.08); }
10
- }
11
-
12
- @keyframes gentle-wave {
13
- 0%, 100% { transform: translateY(0); }
14
- 50% { transform: translateY(-6px); }
15
- }
16
-
17
- @keyframes dolphin-float {
18
- 0%, 100% { transform: translateY(0) rotate(0deg); }
19
- 50% { transform: translateY(-8px) rotate(2deg); }
20
- }
21
-
22
- @keyframes spin-slow {
23
- 0% { transform: rotate(0deg); }
24
- 100% { transform: rotate(360deg); }
25
- }
26
-
27
- @keyframes color-shift {
28
- 0%, 100% { background-color: transparent; }
29
- 50% { background-color: var(--color-primary); opacity: 0.1; }
30
- }
31
-
32
- @keyframes glow-pulse {
33
- 0%, 100% { box-shadow: 0 0 5px var(--glow-color, var(--color-primary)); }
34
- 50% { box-shadow: 0 0 20px var(--glow-color, var(--color-primary)); }
35
- }
36
-
37
- @theme {
38
- --motion-speed: 600ms;
39
- --motion-ease: cubic-bezier(0.4, 0, 0.2, 1);
40
- }
41
-
42
- /* ===== Motion Classes ===== */
43
- @layer utilities {
44
- .motion { transition: all var(--motion-speed) var(--motion-ease); }
45
-
46
- /* Hover pulse effect */
47
- .hover-pulse:hover {
48
- animation: hover-pulse 0.8s var(--motion-ease) both;
49
- }
50
-
51
- /* Continuous gentle float (for icons, buttons, cards) */
52
- .float {
53
- animation: dolphin-float 3s ease-in-out infinite;
54
- }
55
-
56
- /* Soft wave hover */
57
- .hover-wave:hover {
58
- animation: gentle-wave 0.7s ease-in-out both;
59
- }
60
-
61
- /* Slow spin (for loaders / refresh buttons) */
62
- .spin-slow {
63
- animation: spin-slow 3s linear infinite;
64
- }
65
-
66
- /* Color shift hover */
67
- .hover-color-shift:hover {
68
- animation: color-shift 1.5s ease-in-out infinite;
69
- }
70
-
71
- /* Glow pulse hover */
72
- .hover-glow:hover {
73
- animation: glow-pulse 2s ease-in-out infinite;
74
- }
75
-
76
- /* Background color hovers */
77
- .hover\:bg-primary:hover { background-color: var(--color-primary) !important; }
78
- .hover\:bg-secondary:hover { background-color: var(--color-secondary) !important; }
79
- .hover\:bg-success:hover { background-color: var(--color-success) !important; }
80
- .hover\:bg-warning:hover { background-color: var(--color-warning) !important; }
81
- .hover\:bg-danger:hover { background-color: var(--color-danger) !important; }
82
- .hover\:bg-info:hover { background-color: var(--color-info) !important; }
83
-
84
- /* Background opacity hovers */
85
- .hover\:bg-opacity-10:hover { opacity: 0.9; }
86
- .hover\:bg-opacity-20:hover { opacity: 0.8; }
87
- .hover\:bg-opacity-30:hover { opacity: 0.7; }
88
- .hover\:bg-opacity-40:hover { opacity: 0.6; }
89
- .hover\:bg-opacity-50:hover { opacity: 0.5; }
90
-
91
- /* Text color hovers */
92
- .hover\:text-primary:hover { color: var(--color-primary) !important; }
93
- .hover\:text-secondary:hover { color: var(--color-secondary) !important; }
94
- .hover\:text-success:hover { color: var(--color-success) !important; }
95
- .hover\:text-warning:hover { color: var(--color-warning) !important; }
96
- .hover\:text-danger:hover { color: var(--color-danger) !important; }
97
-
98
- /* Border color hovers */
99
- .hover\:border-primary:hover { border-color: var(--color-primary) !important; }
100
- .hover\:border-secondary:hover { border-color: var(--color-secondary) !important; }
101
- .hover\:border-success:hover { border-color: var(--color-success) !important; }
102
- .hover\:border-warning:hover { border-color: var(--color-warning) !important; }
103
- .hover\:border-danger:hover { border-color: var(--color-danger) !important; }
104
-
105
- /* Scale hovers */
106
- .hover\:scale-105:hover { transform: scale(1.05); }
107
- .hover\:scale-110:hover { transform: scale(1.1); }
108
- .hover\:scale-95:hover { transform: scale(0.95); }
109
-
110
- /* Translate hovers */
111
- .hover\:translate-y-1:hover { transform: translateY(-0.25rem); }
112
- .hover\:translate-y-2:hover { transform: translateY(-0.5rem); }
113
- .hover\:-translate-y-1:hover { transform: translateY(0.25rem); }
114
-
115
- /* Rotate hovers */
116
- .hover\:rotate-12:hover { transform: rotate(12deg); }
117
- .hover\:rotate-45:hover { transform: rotate(45deg); }
118
- .hover\:-rotate-12:hover { transform: rotate(-12deg); }
119
-
120
- /* Transition utilities */
121
- .transition-colors { transition: background-color 0.3s, color 0.3s, border-color 0.3s; }
122
- .transition-transform { transition: transform 0.3s; }
123
- .transition-opacity { transition: opacity 0.3s; }
124
- .transition-shadow { transition: box-shadow 0.3s; }
125
-
126
- /* Entry animations */
127
- .fade-in {
128
- animation: fade-in 0.6s var(--motion-ease) both;
129
- }
130
-
131
- .slide-up {
132
- animation: slide-up 0.6s var(--motion-ease) both;
133
- }
134
-
135
- @keyframes fade-in {
136
- from { opacity: 0; transform: translateY(6px); }
137
- to { opacity: 1; transform: translateY(0); }
138
- }
139
-
140
- @keyframes slide-up {
141
- from { transform: translateY(25px); opacity: 0; }
142
- to { transform: translateY(0); opacity: 1; }
143
- }
144
- }
package/MainCss/nav.css DELETED
@@ -1,39 +0,0 @@
1
- /* ===== Navigation System ===== */
2
- @layer components {
3
- .nav-container {
4
- @apply w-full flex items-center justify-between px-4 py-3 bg-(--color-surface) shadow-md transition-all duration-200;
5
- }
6
- .nav-brand { @apply text-lg font-bold text-(--color-text) select-none; }
7
- .nav-ul { @apply flex gap-4 list-none m-0 p-0; }
8
- .nav-ul-left { @apply flex-1 flex items-center; }
9
- .nav-ul-right { @apply flex gap-4 items-center; }
10
- .nav-li { @apply relative cursor-pointer transition-colors duration-200; }
11
- .nav-li a {
12
- @apply px-3 py-2 rounded-md text-(--color-text) hover:bg-(--color-primary) hover:text-(--color-text) transition-all duration-200;
13
- }
14
- .nav-li.active a { @apply bg-(--color-primary) text-(--color-text); }
15
- .nav-dropdown {
16
- @apply absolute top-full left-0 mt-1 bg-(--color-surface) shadow-lg rounded-md min-w-[8rem] opacity-0 invisible group-hover:opacity-100 group-hover:visible transition-all duration-200 z-50;
17
- }
18
- .nav-dropdown li {
19
- @apply px-4 py-2 whitespace-nowrap hover:bg-(--color-primary) hover:text-(--color-text);
20
- }
21
- .nav-toggle { @apply block md:hidden cursor-pointer p-2 rounded-md hover:bg-(--color-border) transition-all duration-200; }
22
- .nav-mobile { @apply hidden flex-col gap-2 mt-2 md:hidden; }
23
- .nav-mobile.show { @apply flex; }
24
- .nav-search-container { @apply relative flex items-center w-full max-w-xs transition-all duration-300; }
25
- .nav-search-input {
26
- @apply w-full pl-10 pr-10 py-2 rounded-full bg-(--color-surface) border border-(--color-border) text-(--color-text) focus:outline-none focus:ring-2 focus:ring-(--color-primary) focus:border-transparent transition-all duration-300 placeholder:text-(--color-text-muted);
27
- }
28
- .nav-search-icon {
29
- @apply absolute left-3 top-1/2 -translate-y-1/2 text-(--color-text-muted) w-5 h-5;
30
- }
31
- .nav-search-clear {
32
- @apply absolute right-3 top-1/2 -translate-y-1/2 text-(--color-text-muted) w-5 h-5 cursor-pointer opacity-0 transition-opacity duration-200 hover:text-(--color-primary);
33
- }
34
- .nav-search-input:not(:placeholder-shown) + .nav-search-clear { @apply opacity-100; }
35
- @media (max-width: 768px) {
36
- .nav-search-container { @apply max-w-full mt-2; }
37
- .nav-search-input { @apply py-1.5 text-sm; }
38
- }
39
- }
package/MainCss/radio.css DELETED
File without changes