-
Notifications
You must be signed in to change notification settings - Fork 90
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Bring dropdown and checkbox dropdown into PUI [#154075625]
Signed-off-by: Reid Mitchell <rmitchell@pivotal.io>
- Loading branch information
Showing
17 changed files
with
541 additions
and
444 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
3 changes: 1 addition & 2 deletions
3
...i-react/notification/notification_spec.js → ...react/notifications/notifications_spec.js
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 |
---|---|---|
|
@@ -35,11 +35,7 @@ | |
&:hover, | ||
&:focus, | ||
&:hover:focus { | ||
|
||
outline: none; | ||
.icon { | ||
|
||
} | ||
} | ||
|
||
// Button Content Rules | ||
|
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,19 @@ | ||
@import "../pui-variables"; | ||
|
||
.dropdown.dropdown-flat { | ||
|
||
.dropdown-toggle { | ||
border: 1px solid transparent; | ||
background-color: transparent; | ||
text-transform: uppercase; | ||
color: $btn-default-color; | ||
font-weight: $btn-font-weight; | ||
letter-spacing: $btn-letter-spacing; | ||
} | ||
|
||
&.dropdown-open { | ||
.dropdown-toggle { | ||
border: 1px solid transparent; | ||
} | ||
} | ||
} |
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,43 @@ | ||
@import "../pui-variables"; | ||
|
||
.dropdown.dropdown-lg { | ||
.dropdown-icon-col { | ||
height: 40px; | ||
|
||
.dropdown-toggle { | ||
width: 40px; | ||
} | ||
} | ||
|
||
.dropdown-toggle { | ||
height: ($base-unit*5); | ||
line-height: ($base-unit*5) - 2px; | ||
font-size: 16px; | ||
} | ||
|
||
a.dropdown-label { | ||
height: ($base-unit*5); | ||
line-height: ($base-unit*5) - 2px; | ||
font-size: 16px; | ||
} | ||
|
||
.dropdown-menu { | ||
li { | ||
padding: $base-unit; | ||
line-height: 24px; | ||
font-size: 16px; | ||
} | ||
} | ||
|
||
&.dropdown-split .dropdown-toggle { | ||
width: 40px; | ||
} | ||
|
||
.icon-toggle { | ||
font-size: 20px; | ||
} | ||
|
||
&.dropdown-icon-only:not(.dropdown-split) { | ||
width: 40px; | ||
} | ||
} |
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,16 @@ | ||
@import "../pui-variables"; | ||
|
||
.dropdown.dropdown-link { | ||
width: initial; | ||
white-space: nowrap; | ||
|
||
.dropdown-toggle, .dropdown-icon-col { | ||
border: 1px solid transparent; | ||
color: $link-color; | ||
background-color: transparent; | ||
} | ||
|
||
.icon-toggle svg { | ||
fill: $link-color; | ||
} | ||
} |
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,40 @@ | ||
@import "../pui-variables"; | ||
|
||
.dropdown.dropdown-sm { | ||
.dropdown-icon-col { | ||
height: 24px; | ||
} | ||
|
||
.dropdown-toggle { | ||
height: ($base-unit*3); | ||
line-height: ($base-unit*3) - 2px; | ||
font-size: 12px; | ||
} | ||
|
||
a.dropdown-label { | ||
height: ($base-unit*3); | ||
line-height: ($base-unit*3) - 2px; | ||
font-size: 12px; | ||
} | ||
|
||
.dropdown-menu { | ||
li { | ||
padding: $base-unit; | ||
line-height: 16px; | ||
font-size: 12px; | ||
} | ||
} | ||
|
||
&.dropdown-split .dropdown-toggle { | ||
width: 24px; | ||
padding: 11px; | ||
} | ||
|
||
.icon-toggle { | ||
font-size: 14px; | ||
} | ||
|
||
&.dropdown-icon-only:not(.dropdown-split) { | ||
width: 24px; | ||
} | ||
} |
Oops, something went wrong.