Browse Source

Changes to be committed:

modified:   public/less/_repository.less
pull/4590/head
28111600 8 years ago
parent
commit
4e292f969a
  1. 64
      public/less/_repository.less

64
public/less/_repository.less

@ -420,41 +420,39 @@
table { table {
width: 100%; width: 100%;
} }
.lines-num { td {
vertical-align: top; border: none;
}
.blob-num {
width: 1%;
line-height: 20px;
cursor: pointer;
text-align: right; text-align: right;
white-space: nowrap;
vertical-align: top;
cursor: pointer;
-webkit-user-select: none;
-moz-user-select: none;
-ms-user-select: none;
user-select: none;
color: #999; color: #999;
background: #f5f5f5; background: #f5f5f5;
width: 1%;
span {
line-height: 20px;
padding: 0 10px;
cursor: pointer;
display: block;
}
} }
.lines-num, .blob-num,
.lines-code { .blob-code {
padding: 0; padding: 0 10px;
pre, }
ol, .blob-code{
.hljs { background-color: white;
background-color: white; pre, .hljs {
margin: 0; margin: 0;
padding: 0 !important; padding: 0 !important;
li {
display: inline-block;
width: 100%;
&.active {
background: #ffffdd;
}
&:before {
content: ' ';
}
}
} }
} }
.blob-code.active{
background: #ffffdd !important;;
}
} }
} }
@ -1026,7 +1024,7 @@
background-color: #f7f7f7; background-color: #f7f7f7;
} }
.file-body.file-code { .file-body.file-code {
.lines-num { .blob-num {
text-align: right; text-align: right;
color: #A7A7A7; color: #A7A7A7;
background: #fafafa; background: #fafafa;
@ -1037,7 +1035,7 @@
text-align: center; text-align: center;
} }
} }
.lines-num-old { .blob-num-old {
border-right: 1px solid #DDD; border-right: 1px solid #DDD;
} }
} }
@ -1052,12 +1050,12 @@
pre { pre {
margin: 0; margin: 0;
} }
.lines-num { .blob-num {
border-right: 1px solid #d4d4d5; border-right: 1px solid #d4d4d5;
padding: 0 5px; padding: 0 5px;
user-select: none; user-select: none;
&.lines-num-old, &.lines-num-new { &.blob-num-old, &.blob-num-new {
cursor: pointer; cursor: pointer;
&:hover { &:hover {
color: #383636; color: #383636;

Loading…
Cancel
Save