Skip to content
This repository was archived by the owner on Feb 18, 2024. It is now read-only.

Commit 312632d

Browse files
committed
Update loading and select components
1 parent 20f587b commit 312632d

10 files changed

+18
-45
lines changed

dist/laravel-ui.min.css

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

dist/laravel-ui.min.css.map

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

dist/laravel-ui.min.js

Lines changed: 0 additions & 9 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

dist/laravel-ui.min.js.map

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

docs/index.html

Lines changed: 1 addition & 10 deletions
Large diffs are not rendered by default.

docs/laravel-ui.min.css.map

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

docs/laravel-ui.min.js.map

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

src/components/Button.vue

Lines changed: 7 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@
2828
letter-spacing: 1px;
2929
white-space: nowrap;
3030
text-overflow: ellipsis;
31-
box-shadow: 0 0 0 1px $color-main;
31+
box-shadow: 0 0 0 1px darken($color-main-text, 10%);
3232
font: {
3333
size: $font-size - 1px;
3434
family: $font-family;
@@ -43,8 +43,8 @@
4343
}
4444
4545
&:hover {
46-
box-shadow: 0 0 0 1px $color-main-hover;
47-
background: $color-main-text;
46+
box-shadow: 0 0 0 1px $color-main-text;
47+
background: $color-main-hover;
4848
}
4949
5050
&:active {
@@ -74,27 +74,25 @@
7474
a, button {
7575
border-radius: 3px;
7676
box-shadow: 0 0 0 1px $color-border;
77-
color: $color-main;
77+
color: $color-text;
7878
background: $color-white;
7979
8080
&:hover {
8181
box-shadow: 0 0 0 1px $color-border-hover;
82-
color: $color-main-text;
8382
background: $color-bg;
8483
}
8584
8685
&:active {
8786
transition: none !important;
8887
box-shadow: 0 0 0 1px $color-main;
89-
color: $color-main;
9088
}
9189
9290
&[disabled],
9391
&:disabled {
9492
cursor: default;
95-
box-shadow: 0 0 0 1px $color-disabled;
96-
color: $color-disabled;
97-
background: $color-bg;
93+
box-shadow: 0 0 0 1px $color-border-hover;
94+
color: $color-white;
95+
background: $color-border;
9896
}
9997
}
10098
}

src/components/Loading.vue

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -21,9 +21,8 @@
2121
width: 100%;
2222
height: 100%;
2323
z-index: 5;
24-
border-radius: 3px;
24+
border-radius: 2px;
2525
background: rgba(#fff, .6);
26-
box-shadow: 0 0 0 1px rgba(#fff, .6);
2726
position: absolute;
2827
2928
.spinner {

src/components/Select.vue

Lines changed: 4 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -67,45 +67,39 @@
6767
padding: 4px 0;
6868
z-index: 98;
6969
box-shadow:
70-
0 -1px $color-white,
71-
0 0 0 1px $color-border,
70+
0 -1px 0 0 $color-white,
71+
0 0 0 1px $color-border-hover,
7272
$ui-box-shadow;
7373
pointer-events: none;
7474
opacity: 0;
7575
transform: translateY(-10px);
7676
transition:
77-
box-shadow .2s $ui-animation-swift,
7877
opacity .2s $ui-animation-swift,
7978
transform .2s $ui-animation-swift;
8079
}
8180
8281
&.active {
8382
.current {
84-
box-shadow: 0 0 0 1px $color-main;
83+
box-shadow: 0 0 0 1px $color-border-hover;
8584
border-radius: 2px 2px 0 0;
8685
8786
.value {
8887
color: $color-main;
8988
}
9089
9190
.arrow {
92-
transform: rotateZ(-180deg);
91+
transform: rotateZ(-180deg) scale(.7);
9392
svg {
9493
fill: $color-main;
9594
}
9695
}
9796
}
9897
9998
.dropdown {
100-
box-shadow:
101-
0 -1px $color-border,
102-
0 0 0 1px $color-main,
103-
$ui-box-shadow;
10499
pointer-events: all;
105100
opacity: 1;
106101
transform: translateY(0);
107102
transition:
108-
box-shadow .3s $ui-animation-swift,
109103
opacity .3s $ui-animation-swift,
110104
transform .3s $ui-animation-swift;
111105
}

0 commit comments

Comments
 (0)