-
-
Notifications
You must be signed in to change notification settings - Fork 232
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Browse files
Browse the repository at this point in the history
- Loading branch information
1 parent
3b220de
commit d3c12d0
Showing
3 changed files
with
151 additions
and
49 deletions.
There are no files selected for viewing
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
82 changes: 56 additions & 26 deletions
82
...t.BlazorUI.Demo.Client.Core/Pages/Components/Inputs/SearchBox/BitSearchBoxDemo.razor.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 |
---|---|---|
@@ -1,40 +1,70 @@ | ||
@import '../../../../Styles/abstracts/_functions.scss'; | ||
@import '../../../../Styles/abstracts/_bit-css-variables.scss'; | ||
|
||
.example-content { | ||
display: flex; | ||
gap: 1.25rem; | ||
max-width: 19rem; | ||
flex-flow: row wrap; | ||
align-items: center; | ||
|
||
&.column { | ||
flex-direction: column; | ||
align-items: flex-start; | ||
} | ||
|
||
& > div { | ||
width: 100%; | ||
} | ||
} | ||
|
||
::deep { | ||
.example-content { | ||
display: flex; | ||
gap: rem2(20px); | ||
flex-flow: row wrap; | ||
align-items: center; | ||
max-width: rem2(304px); | ||
.custom-class { | ||
overflow: hidden; | ||
margin-inline: 1rem; | ||
border-radius: 1rem; | ||
border: 2px solid tomato; | ||
} | ||
|
||
.custom-class * { | ||
border: none; | ||
} | ||
|
||
&.column { | ||
flex-direction: column; | ||
align-items: flex-start; | ||
} | ||
.custom-root { | ||
margin-inline: 1rem; | ||
} | ||
|
||
& > div { | ||
width: 100%; | ||
} | ||
.custom-input-container { | ||
height: 3rem; | ||
overflow: hidden; | ||
align-items: center; | ||
border-radius: 1.5rem; | ||
border-color: #13a3a375; | ||
background-color: #13a3a375; | ||
} | ||
|
||
.validation-message { | ||
color: red; | ||
font-size: rem2(12px); | ||
.custom-focused .custom-input-container { | ||
border-width: 1px; | ||
border-color: #13a3a375; | ||
} | ||
|
||
.custom-class { | ||
border: 1px solid red; | ||
box-shadow: aqua 0 0 1rem; | ||
.custom-clear:hover { | ||
background: transparent; | ||
} | ||
|
||
.custom-icon { | ||
color: darkslategrey; | ||
} | ||
|
||
.custom-clear { | ||
color: blueviolet; | ||
.custom-icon-wrapper { | ||
width: 2rem; | ||
height: 2rem; | ||
border-radius: 1rem; | ||
margin-inline: 0.5rem; | ||
background-color: whitesmoke; | ||
} | ||
|
||
.custom-search { | ||
margin-right: 0.25rem; | ||
border-radius: 0.5rem; | ||
background-color: tomato; | ||
.validation-message { | ||
font-size: rem2(12px); | ||
color: $bit-color-error; | ||
} | ||
} |