Improved specifity of toggleable file headers
This commit is contained in:
parent
aef7396059
commit
9ec3c32f98
|
@ -339,16 +339,3 @@ pages:
|
|||
- public
|
||||
only:
|
||||
- master
|
||||
|
||||
# Insurance in case a gem needed by one of our releases gets yanked from
|
||||
# rubygems.org in the future.
|
||||
cache gems:
|
||||
only:
|
||||
- tags
|
||||
variables:
|
||||
SETUP_DB: "false"
|
||||
script:
|
||||
- bundle package --all --all-platforms
|
||||
artifacts:
|
||||
paths:
|
||||
- vendor/cache
|
||||
|
|
|
@ -26,15 +26,6 @@
|
|||
padding: 10px $gl-padding;
|
||||
word-wrap: break-word;
|
||||
border-radius: 3px 3px 0 0;
|
||||
cursor: pointer;
|
||||
|
||||
&:hover {
|
||||
background-color: $dark-background-color;
|
||||
}
|
||||
|
||||
.diff-toggle-caret {
|
||||
padding-right: 6px;
|
||||
}
|
||||
|
||||
&.file-title-clear {
|
||||
padding-left: 0;
|
||||
|
|
|
@ -33,6 +33,19 @@
|
|||
font-size: smaller;
|
||||
}
|
||||
}
|
||||
|
||||
.file-title {
|
||||
cursor: pointer;
|
||||
|
||||
&:hover {
|
||||
background-color: $dark-background-color;
|
||||
}
|
||||
|
||||
.diff-toggle-caret {
|
||||
padding-right: 6px;
|
||||
}
|
||||
}
|
||||
|
||||
.diff-content {
|
||||
overflow: auto;
|
||||
overflow-y: hidden;
|
||||
|
|
|
@ -147,6 +147,14 @@ ul.notes {
|
|||
|
||||
// Diff code in discussion view
|
||||
.discussion-body .diff-file {
|
||||
.file-title {
|
||||
cursor: default;
|
||||
|
||||
&:hover {
|
||||
background-color: $gray-light;
|
||||
}
|
||||
}
|
||||
|
||||
.diff-header > span {
|
||||
margin-right: 10px;
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue