|
989 | 989 | margin: 0;
|
990 | 990 | }
|
991 | 991 | .lines-num {
|
992 |
| - border-right: 1px solid #d4d4d5; |
| 992 | + border-color: #d4d4d5; |
| 993 | + border-right-width: 1px; |
| 994 | + border-right-style: solid; |
993 | 995 | padding: 0 5px;
|
994 | 996 | }
|
995 | 997 | tbody {
|
996 | 998 | tr {
|
997 | 999 | td.halfwidth {
|
998 |
| - width: 50%; |
| 1000 | + // halfwidth is used in split view - and in that case, 1% of each |
| 1001 | + width: 49%; |
999 | 1002 | }
|
1000 | 1003 |
|
1001 | 1004 | &.tag-code td, td.tag-code {
|
|
1034 | 1037 | border-color: #c1e9c1 !important;
|
1035 | 1038 | }
|
1036 | 1039 | }
|
1037 |
| - .code-diff-split tbody tr { |
1038 |
| - // light gray for empty lines before / after commit |
1039 |
| - &.add-code td:nth-child(1), &.add-code td:nth-child(2), |
1040 |
| - &.del-code td:nth-child(3), &.del-code td:nth-child(4) { |
1041 |
| - background-color: #fafafa; |
| 1040 | + .code-diff-split { |
| 1041 | + table, tbody { |
| 1042 | + width: 100%; |
1042 | 1043 | }
|
| 1044 | + tbody tr { |
| 1045 | + // light gray for empty lines before / after commit |
| 1046 | + &.add-code td:nth-child(1), &.add-code td:nth-child(2), |
| 1047 | + &.del-code td:nth-child(3), &.del-code td:nth-child(4) { |
| 1048 | + background-color: #fafafa; |
| 1049 | + } |
1043 | 1050 |
|
1044 |
| - &.del-code td:nth-child(1), &.del-code td:nth-child(2), |
1045 |
| - td.del-code { |
1046 |
| - background-color: #ffe0e0 !important; |
1047 |
| - border-color: #f1c0c0 !important; |
1048 |
| - } |
| 1051 | + &.del-code td:nth-child(1), &.del-code td:nth-child(2), |
| 1052 | + td.del-code { |
| 1053 | + background-color: #ffe0e0 !important; |
| 1054 | + border-color: #f1c0c0 !important; |
| 1055 | + } |
1049 | 1056 |
|
1050 |
| - &.add-code td:nth-child(3), &.add-code td:nth-child(4), |
1051 |
| - td.add-code{ |
1052 |
| - background-color: #d6fcd6 !important; |
1053 |
| - border-color: #c1e9c1 !important; |
| 1057 | + &.add-code td:nth-child(3), &.add-code td:nth-child(4), |
| 1058 | + td.add-code{ |
| 1059 | + background-color: #d6fcd6 !important; |
| 1060 | + border-color: #c1e9c1 !important; |
| 1061 | + } |
| 1062 | + |
| 1063 | + td:nth-child(3) { |
| 1064 | + border-left-width: 1px; |
| 1065 | + border-left-style: solid; |
| 1066 | + } |
1054 | 1067 | }
|
1055 | 1068 | }
|
1056 | 1069 | &.file-content {
|
|
1263 | 1276 | }
|
1264 | 1277 |
|
1265 | 1278 | @media only screen and (max-width: 767px) {
|
1266 |
| - .dividing.header .stackable.grid .button { |
1267 |
| - margin-top: 2px; |
1268 |
| - margin-bottom: 2px; |
1269 |
| - } |
1270 |
| - } |
| 1279 | + .dividing.header .stackable.grid .button { |
| 1280 | + margin-top: 2px; |
| 1281 | + margin-bottom: 2px; |
| 1282 | + } |
| 1283 | + } |
1271 | 1284 | }
|
1272 | 1285 |
|
1273 | 1286 | &.settings {
|
@@ -1698,14 +1711,14 @@ tbody.commit-list {
|
1698 | 1711 | }
|
1699 | 1712 |
|
1700 | 1713 | @media only screen and (max-width: 767px) {
|
1701 |
| - .ui.stackable.menu { |
1702 |
| - &.mobile--margin-between-items > .item { |
1703 |
| - margin-top: 5px; |
1704 |
| - margin-bottom: 5px; |
1705 |
| - } |
1706 |
| - &.mobile--no-negative-margins { |
1707 |
| - margin-left: 0; |
1708 |
| - margin-right: 0; |
1709 |
| - } |
1710 |
| - } |
| 1714 | + .ui.stackable.menu { |
| 1715 | + &.mobile--margin-between-items > .item { |
| 1716 | + margin-top: 5px; |
| 1717 | + margin-bottom: 5px; |
| 1718 | + } |
| 1719 | + &.mobile--no-negative-margins { |
| 1720 | + margin-left: 0; |
| 1721 | + margin-right: 0; |
| 1722 | + } |
| 1723 | + } |
1711 | 1724 | }
|
0 commit comments