Commit 6e289a0b authored by Simon Knox's avatar Simon Knox

Merge branch '337066-move-issue-token-styles' into 'master'

Move required styles for issue-token to core

See merge request gitlab-org/gitlab!71531
parents 606d9e6d 297c1112
.issue-token-link {
&[href] {
color: $blue-600;
}
&:hover,
&:focus {
outline: none;
text-decoration: none;
}
}
.issue-token-reference {
margin-right: 1px;
background-color: $gray-lighter;
transition: background $general-hover-transition-duration $general-hover-transition-curve, color $general-hover-transition-duration $general-hover-transition-curve;
.issue-token:hover &,
.issue-token-link:focus > & {
background-color: $gray-normal;
color: $blue-800;
text-decoration: none;
}
}
.issue-token-title {
background-color: $gray-normal;
transition: background $general-hover-transition-duration $general-hover-transition-curve;
.issue-token:hover &,
.issue-token-link:focus > & {
background-color: $border-gray-normal;
}
}
.issue-token-remove-button {
background-color: $gray-normal;
transition: background $general-hover-transition-duration $general-hover-transition-curve;
&:hover,
&:focus,
.issue-token:hover &,
.issue-token-link:focus + & {
background-color: $border-gray-normal;
outline: none;
}
}
.issue-realtime-pre-pulse {
opacity: 0;
}
......
.issue-token-link {
&[href] {
color: $blue-600;
}
&:hover,
&:focus {
outline: none;
text-decoration: none;
}
}
.issue-token-reference {
margin-right: 1px;
background-color: $gray-lighter;
transition: background $general-hover-transition-duration $general-hover-transition-curve, color $general-hover-transition-duration $general-hover-transition-curve;
.issue-token:hover &,
.issue-token-link:focus > & {
background-color: $gray-normal;
color: $blue-800;
text-decoration: none;
}
}
.issue-token-title {
background-color: $gray-normal;
transition: background $general-hover-transition-duration $general-hover-transition-curve;
.issue-token:hover &,
.issue-token-link:focus > & {
background-color: $border-gray-normal;
}
}
.issue-token-remove-button {
background-color: $gray-normal;
transition: background $general-hover-transition-duration $general-hover-transition-curve;
&:hover,
&:focus,
.issue-token:hover &,
.issue-token-link:focus + & {
background-color: $border-gray-normal;
outline: none;
}
}
.cve-id-request {
.help-button,
.close-help-button {
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment