Skip to content

Commit ebd3574

Browse files
author
Cathy Siller
committed
refactor(fast-follow): css into components less fixes
1 parent 9d120e0 commit ebd3574

File tree

7 files changed

+10
-12
lines changed

7 files changed

+10
-12
lines changed

src/helix-ui/elements/HXFileTileElement.less

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
@import "./HXElement";
22
@import "base/links";
3+
@import "components/loaders";
34
@import (reference) "components/buttons";
4-
@import (reference) "components/progress";
55

66
:host {
77
// reset buttons

src/helix-ui/elements/HXToastElement.less

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
#hxToast {
66
#Box.sm();
77
background-color: @gray-0;
8-
box-shadow: 0px 3px 3px 0 @shadow-color;
8+
box-shadow: @layering-shadow;
99
color: @gray-900;
1010
display: flex;
1111
min-height: 3.5rem; //56px

src/helix-ui/styles/components.less

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,6 @@
2525
@import 'components/panels';
2626
@import 'components/pills';
2727
@import 'components/popovers';
28-
@import 'components/progress';
2928
@import 'components/reveals';
3029
@import 'components/search';
3130
@import 'components/selectors';

src/helix-ui/styles/components/loaders.less

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,5 @@
1+
@import "vars";
2+
13
/*
24
NOTE: This implementation is known to be slightly buggy with IE11.
35
In various scenarious, IE11 will render the element with a
@@ -33,7 +35,10 @@ hx-busy {
3335
}
3436

3537
hx-progress {
38+
background-color: @gray-400;
39+
border-radius: 1em;
40+
color: @cyan-500;
3641
display: block;
3742
height: 0.5rem;
43+
overflow: hidden;
3844
}
39-

src/helix-ui/styles/components/menus.less

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ hx-menu {
66

77
background-color: @gray-0;
88
border: 1px solid @gray-300;
9-
box-shadow: 0px 3px 3px 0 @shadow-color;
9+
box-shadow: @layering-shadow;
1010
max-width: 20rem;
1111
min-width: 10rem;
1212
z-index: @menu-z-index;

src/helix-ui/styles/components/progress.less

Lines changed: 0 additions & 6 deletions
This file was deleted.

src/helix-ui/styles/components/search.less

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ hx-search-assistance {
66
background-color: @gray-0;
77
border-radius: 2px;
88
border: 1px solid @gray-300;
9-
box-shadow: 0px 3px 3px 0 @shadow-color;
9+
box-shadow: @layering-shadow;
1010
max-height: 20rem; // 320px
1111
max-width: 32rem; // 512px
1212
min-width: 25rem; // 400px

0 commit comments

Comments
 (0)