This repository has been archived by the owner on Jul 31, 2024. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 5
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
monorepo FLOW-935 f-file-upload global css updated
- Loading branch information
vikas-cldcvr
committed
Oct 9, 2023
1 parent
d4fd564
commit 3fad68b
Showing
4 changed files
with
37 additions
and
27 deletions.
There are no files selected for viewing
11 changes: 11 additions & 0 deletions
11
packages/flow-core/src/components/f-file-upload/_f-file-upload-variables.scss
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,11 @@ | ||
$state-colors: ( | ||
"primary": var(--color-primary-default), | ||
"success": var(--color-success-default), | ||
"warning": var(--color-warning-default), | ||
"danger": var(--color-danger-default) | ||
); | ||
|
||
$sizes: ( | ||
"medium": 12px, | ||
"small": 8px | ||
); |
15 changes: 15 additions & 0 deletions
15
packages/flow-core/src/components/f-file-upload/f-file-upload-global.scss
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,15 @@ | ||
// common mixins imported from this file | ||
@import "./../../mixins/scss/mixins"; | ||
@import "./f-file-upload-variables"; | ||
|
||
f-file-upload { | ||
width: 100%; | ||
&[disabled] { | ||
@include disabled(); | ||
} | ||
@each $state, $color in $state-colors { | ||
&[state="#{$state}"] { | ||
@include input-color($state); | ||
} | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters