-
Notifications
You must be signed in to change notification settings - Fork 4.3k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
UI: HDS adoption replace <CopyButton> part 5: Cleanup #22884
Changes from 8 commits
9093b2b
30a6f7d
1881983
dba8f5e
576ebc6
07893ff
10d9896
ba39e73
fd73aa9
4563973
5c776ab
af592ad
75b8a20
dec1736
4abd1b7
9386f90
d37d5d0
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -347,27 +347,6 @@ a.button.disabled { | |
color: $white; | ||
} | ||
|
||
&.hidden-icon svg { | ||
color: transparent; | ||
} | ||
|
||
&.size-7 div { | ||
font-size: $size-7; | ||
} | ||
|
||
&.code-snippet { | ||
background: none; | ||
border: none; | ||
box-shadow: none; | ||
min-width: auto; | ||
padding: $size-11 $size-8; | ||
color: $ui-gray-300; | ||
|
||
svg { | ||
color: $ui-gray-300; | ||
} | ||
} | ||
|
||
&.is-primary { | ||
background-color: $blue; | ||
box-shadow: $box-shadow-low; | ||
|
@@ -400,4 +379,26 @@ a.button.disabled { | |
border-radius: 0; | ||
box-shadow: 0 3px 1px 0px rgba(10, 10, 10, 0.12); | ||
} | ||
|
||
&.code-snippet { | ||
background: none; | ||
border: none; | ||
box-shadow: none; | ||
min-width: auto; | ||
padding: $size-11 $size-8; | ||
color: $ui-gray-300; | ||
|
||
svg { | ||
color: $ui-gray-300; | ||
} | ||
} | ||
|
||
&.in-dropdown { | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. nice job combining the classes! |
||
div { | ||
font-size: $size-7; | ||
} | ||
svg { | ||
color: transparent; | ||
} | ||
} | ||
} |
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -34,7 +34,7 @@ | |
<Hds::Copy::Button | ||
@text="Copy certificate" | ||
@textToCopy={{this.model.certificate}} | ||
class="toolbar-link is-flex-center hds-copy-button" | ||
class="toolbar-link is-flex-center" | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more.
|
||
data-test-copy-button | ||
/> | ||
</ToolbarActions> | ||
|
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -125,7 +125,6 @@ | |
"ember-cli": "~4.12.1", | ||
"ember-cli-autoprefixer": "^0.8.1", | ||
"ember-cli-babel": "^7.26.11", | ||
"ember-cli-clipboard": "0.16.0", | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Removed |
||
"ember-cli-content-security-policy": "2.0.3", | ||
"ember-cli-dependency-checker": "^3.3.1", | ||
"ember-cli-deprecation-workflow": "^2.1.0", | ||
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Combined 2 classes into one, this is applied to copy buttons which are in dropdowns