Browse Source

CSS: .repository .sha.label -> .ui .sha.label

This is because SHA1 label is used in many other places, not only inside
.repository container.
for-closed-social
Adam Strzelecki 9 years ago
parent
commit
640dce12a8
3 changed files with 15 additions and 12 deletions
  1. +7
    -6
      public/css/gogs.css
  2. +8
    -0
      public/less/_base.less
  3. +0
    -6
      public/less/_repository.less

+ 7
- 6
public/css/gogs.css View File

@ -913,6 +913,13 @@ pre.raw {
.ui .form .fake {
display: none !important;
}
.ui .sha.label {
font-family: Consolas, Menlo, Monaco, "Lucida Console", monospace;
font-size: 14px;
padding: 6px 10px 4px 10px;
font-weight: normal;
margin: 0 6px;
}
.ui.status.buttons .octicon {
margin-right: 4px;
}
@ -2267,12 +2274,6 @@ footer .container .links > *:first-child {
.repository .commits.table .date {
width: 120px;
}
.repository .sha.label {
font-family: Consolas, Menlo, Monaco, "Lucida Console", monospace;
font-size: 14px;
padding: 6px 10px 4px 10px;
font-weight: normal;
}
.repository .diff-detail-box {
margin: 15px 0;
line-height: 30px;

+ 8
- 0
public/less/_base.less View File

@ -219,6 +219,14 @@ pre {
}
}
.sha.label {
font-family: Consolas, Menlo, Monaco, "Lucida Console", monospace;
font-size: 14px;
padding: 6px 10px 4px 10px;
font-weight: normal;
margin: 0 6px;
}
&.status.buttons {
.octicon {
margin-right: 4px;

+ 0
- 6
public/less/_repository.less View File

@ -630,12 +630,6 @@
width: 120px;
}
}
.sha.label {
font-family: Consolas, Menlo, Monaco, "Lucida Console", monospace;
font-size: 14px;
padding: 6px 10px 4px 10px;
font-weight: normal;
}
.diff-detail-box {
margin: 15px 0;

Loading…
Cancel
Save