-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #42 from scheduleonce/pythons/ONCEHUB-87456
move tailwind classes from html to .scss files.
- Loading branch information
Showing
12 changed files
with
139 additions
and
52 deletions.
There are no files selected for viewing
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
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
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
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,50 @@ | ||
.autocomplete{ | ||
@apply tw-relative; | ||
.autocompleteContainer{ | ||
@apply tw-relative tw-h-10 tw-w-full tw-cursor-default tw-overflow-hidden tw-bg-white tw-text-left tw-text-[#333333]; | ||
&.disable{ | ||
@apply tw-text-[#A7A7A7] | ||
} | ||
&:focus{ | ||
@apply tw-outline-none; | ||
} | ||
&:focus-visible{ | ||
@apply tw-ring-1 tw-ring-[#DFDFDF] tw-ring-offset-2 tw-ring-offset-[#DFDFDF]; | ||
} | ||
.autocompleteInput{ | ||
@apply tw-h-full tw-w-full tw-box-border tw-border-0 tw-border-b-[1px] tw-border-b-[#333333] tw-pb-2 tw-pl-[10px] tw-pr-10 tw-pt-2 tw-text-base tw-leading-5 tw-placeholder-[#666666] tw-shadow-none; | ||
&:focus{ | ||
@apply tw-border-b-2 tw-border-b-[#006bb1] tw-pb-[7px] tw-outline-none tw-ring-[0px]; | ||
} | ||
&:focus-visible{ | ||
@apply tw-ring-[0px]; | ||
} | ||
} | ||
.autocompleteButton{ | ||
@apply tw-absolute tw-inset-y-0 tw-right-0 tw-flex tw-items-center tw-pr-2 tw-bg-transparent tw-border-0; | ||
.chevronDownIcon{ | ||
@apply tw-h-5 tw-w-5 tw-text-[#333333]; | ||
&.disable{ | ||
@apply tw-text-[#A7A7A7]; | ||
} | ||
} | ||
} | ||
} | ||
} | ||
|
||
.leave{ | ||
@apply tw-transition tw-ease-in tw-duration-100; | ||
} | ||
.leaveFrom{ | ||
@apply tw-opacity-100; | ||
} | ||
.leaveTo{ | ||
@apply tw-opacity-0; | ||
} | ||
|
||
.autocompleteOptions{ | ||
@apply tw-max-h-[210px] tw-w-full tw-overflow-auto tw-bg-white tw-list-none tw-m-0 tw-px-0 tw-py-[10px] tw-text-base tw-shadow-[0_1px_6px_0_rgba(0,0,0,0.5)] sm:tw-text-sm [&::-webkit-scrollbar-thumb]:tw-rounded-md [&::-webkit-scrollbar-thumb]:tw-bg-[#a9a9a9] [&::-webkit-scrollbar]:tw-w-[6px]; | ||
&:focus{ | ||
@apply tw-outline-none; | ||
} | ||
} |
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
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 |
---|---|---|
@@ -1,4 +1,4 @@ | ||
export * from './select'; | ||
export * from './select-options'; | ||
export * from './auto-complete'; | ||
export * from './options'; | ||
export * from './auto-complete-options'; |
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,47 @@ | ||
.select { | ||
@apply tw-relative; | ||
.selectContainer { | ||
@apply tw-relative; | ||
.selectButton { | ||
@apply tw-border-solid tw-border-x-0 tw-relative tw-box-border tw-h-10 tw-w-full tw-cursor-pointer tw-border-b tw-border-t tw-border-t-transparent tw-bg-white tw-py-1.5 tw-pl-[10px] tw-pr-8 tw-text-left tw-text-base tw-text-[#333333] tw-border-b-[#333333]; | ||
&:focus { | ||
@apply tw-border-b-2 tw-border-t-2 tw-border-b-[#006bb1] tw-py-[5px] tw-outline-none tw-ring-0; | ||
} | ||
&.open { | ||
@apply tw-border-b-2 tw-border-t-2 tw-border-b-[#006bb1]; | ||
} | ||
.selectValue { | ||
@apply tw-flex tw-items-center; | ||
.seletIcon { | ||
@apply tw-mr-2 tw-h-5 tw-w-5 tw-flex-shrink-0; | ||
} | ||
.selectText { | ||
@apply tw-block tw-truncate; | ||
} | ||
} | ||
.chevronDownIconSpan { | ||
@apply tw-pointer-events-none tw-absolute tw-inset-y-0 tw-right-0 tw-flex tw-items-center tw-pr-2; | ||
.chevronDownIcon { | ||
@apply tw-h-5 tw-w-5 tw-text-[#333333]; | ||
} | ||
} | ||
} | ||
} | ||
} | ||
|
||
.leave { | ||
@apply tw-transition tw-ease-in tw-duration-100; | ||
} | ||
.leaveFrom { | ||
@apply tw-opacity-100; | ||
} | ||
.leaveTo { | ||
@apply tw-opacity-0; | ||
} | ||
|
||
.selectOptions { | ||
@apply tw-max-h-[200px] tw-w-full tw-overflow-auto tw-bg-white tw-list-none tw-m-0 tw-px-0 tw-py-[10px] tw-text-base tw-shadow-[0_1px_6px_0_rgba(0,0,0,0.5)] sm:tw-text-sm [&::-webkit-scrollbar-thumb]:tw-rounded-md [&::-webkit-scrollbar-thumb]:tw-bg-[#a9a9a9] [&::-webkit-scrollbar]:tw-w-[6px]; | ||
&:focus { | ||
@apply tw-outline-none; | ||
} | ||
} |
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