-
Notifications
You must be signed in to change notification settings - Fork 8
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 #97 from ngx-lib/feature/css-flex
CSS with Flex.
- Loading branch information
Showing
6 changed files
with
105 additions
and
272 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
76 changes: 25 additions & 51 deletions
76
projects/multiselect/src/lib/helper-elements/helper-elements.component.css
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,78 +1,52 @@ | ||
/* Material CSS start */ | ||
|
||
.mat-multiselect :host .helper-buttons { | ||
border-bottom: 1px solid #ddd; | ||
padding: 4px; | ||
} | ||
|
||
.mat-multiselect :host .helper-button { | ||
display: inline-block; | ||
.helper-button { | ||
font-weight: 400; | ||
color: #444; | ||
text-align: center; | ||
vertical-align: middle; | ||
font-size: .75rem; | ||
max-height: 30px; | ||
white-space: nowrap; | ||
height: 30px; | ||
border-radius: .25rem; | ||
-webkit-user-select: none; | ||
-moz-user-select: none; | ||
-ms-user-select: none; | ||
user-select: none; | ||
border: 1px solid rgba(0,0,0,.12); | ||
} | ||
|
||
fieldset { | ||
padding: 0; | ||
border: none; | ||
} | ||
|
||
.helper-buttons { | ||
border-bottom: 1px solid #ddd; | ||
padding: 2px; | ||
} | ||
|
||
/* Material CSS start */ | ||
|
||
.mat-multiselect :host .helper-button { | ||
background-color: transparent; | ||
border: 1px solid transparent; | ||
padding: 0.13rem 0.13rem; | ||
font-size: 0.75rem; | ||
line-height: 1.5; | ||
border-radius: 0.25rem; | ||
transition: color 0.15s ease-in-out, background-color 0.15s ease-in-out, border-color 0.15s ease-in-out, | ||
box-shadow 0.15s ease-in-out; | ||
border-color: rgba(0, 0, 0, 0.12); | ||
color: #444; | ||
} | ||
|
||
.mat-multiselect :host .helper-button:not(:last-child) { | ||
margin-right: 4px; | ||
margin: 0 2px; | ||
} | ||
|
||
/* Material CSS end */ | ||
|
||
/* Boostrap CSS start */ | ||
|
||
.bs-multiselect :host .helper-buttons { | ||
border-bottom: 1px solid #ddd; | ||
padding: 4px 4px 4px; | ||
} | ||
|
||
.bs-multiselect :host .helper-button { | ||
max-height: 26px; | ||
height: 26px; | ||
border: 1px solid rgba(0, 0, 0, 0.12) !important; | ||
padding: 0px 4px 0px; | ||
box-sizing: border-box; | ||
position: relative; | ||
-webkit-user-select: none; | ||
-moz-user-select: none; | ||
-ms-user-select: none; | ||
user-select: none; | ||
cursor: pointer; | ||
outline: 0; | ||
border: none; | ||
padding: .25em; | ||
-webkit-tap-highlight-color: transparent; | ||
display: inline-block; | ||
white-space: nowrap; | ||
text-decoration: none; | ||
vertical-align: baseline; | ||
text-align: center; | ||
margin: 0; | ||
min-width: 60px; | ||
line-height: 25px; | ||
border-radius: 4px; | ||
overflow: visible; | ||
} | ||
|
||
.bs-multiselect .helper-button:not(:last-child) { | ||
margin-right: 4px; | ||
} | ||
|
||
/* Boostrap CSS end */ | ||
|
||
fieldset { | ||
padding: 0; | ||
border: none; | ||
} |
Oops, something went wrong.