Skip to content

Commit 0ae35c6

Browse files
silverwindlafriks
andauthored
Various style fixes (#13534)
* Various style fixes - Fix the rest of the monochrome borders for arc-green - Fix close icon position on system notice modal and padding - Fix selectable table color for arc-green * proper fix for close icon Co-authored-by: Lauris BH <[email protected]>
1 parent ff7341b commit 0ae35c6

File tree

7 files changed

+38
-58
lines changed

7 files changed

+38
-58
lines changed

templates/admin/notice.tmpl

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -74,7 +74,7 @@
7474
</div>
7575

7676
<div class="ui modal admin" id="detail-modal">
77-
<i class="close icon"></i>
77+
<i class="close icon inside"></i>
7878
<div class="header">{{$.i18n.Tr "admin.notices.view_detail_header"}}</div>
7979
<div class="content">
8080
<div class="sub header"></div>

web_src/less/_admin.less

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,7 @@
11
.admin {
2-
padding-top: 15px;
2+
&.notice {
3+
padding-top: 15px;
4+
}
35

46
.table.segment {
57
padding: 0;

web_src/less/_base.less

Lines changed: 23 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -205,6 +205,29 @@ a:hover,
205205
border-color: var(--color-secondary);
206206
}
207207

208+
.ui.table {
209+
color: var(--color-text);
210+
}
211+
212+
.ui.ui.selectable.table > tbody > tr:hover,
213+
.ui.table tbody tr td.selectable:hover {
214+
color: var(--color-text);
215+
background-color: var(--color-secondary-alpha-40);
216+
}
217+
218+
.ui.modal {
219+
background: var(--color-body);
220+
}
221+
222+
.ui.modal > .close.inside,
223+
.ui.fullscreen.modal > .close {
224+
color: var(--body-color);
225+
}
226+
227+
.ui.basic.table > tbody > tr {
228+
border-color: var(--color-secondary);
229+
}
230+
208231
.dont-break-out {
209232
overflow-wrap: break-word;
210233
word-wrap: break-word;

web_src/less/_explore.less

Lines changed: 2 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@
2222
padding-bottom: 25px;
2323

2424
&:not(:first-child) {
25-
border-top: 1px solid #eeeeee;
25+
border-top: 1px solid var(--color-secondary);
2626
padding-top: 25px;
2727
}
2828

@@ -83,7 +83,7 @@
8383
padding-bottom: 25px;
8484

8585
&:not(:first-child) {
86-
border-top: 1px solid #eeeeee;
86+
border-top: 1px solid var(--color-secondary);
8787
padding-top: 25px;
8888
}
8989

@@ -98,14 +98,6 @@
9898
.svg:not(:first-child) {
9999
margin-left: 5px;
100100
}
101-
102-
a {
103-
color: #333333;
104-
105-
&:hover {
106-
text-decoration: underline;
107-
}
108-
}
109101
}
110102
}
111103
}

web_src/less/_repository.less

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1070,10 +1070,10 @@
10701070
margin: 5px;
10711071
padding: 5px;
10721072
height: 150px;
1073-
border: solid 1px #eeeeee;
1073+
border: solid 1px var(--color-secondary);
10741074
border-radius: 3px;
10751075
max-width: 150px;
1076-
background-color: #ffffff;
1076+
background-color: var(--color-body);
10771077

10781078
&::before {
10791079
content: ' ';
@@ -1962,14 +1962,14 @@
19621962

19631963
.list {
19641964
padding-left: 0;
1965-
border-top: 1px solid #eeeeee;
1965+
border-top: 1px solid var(--color-secondary);
19661966

19671967
li {
19681968
list-style: none;
19691969
display: block;
19701970
padding-top: 8px;
19711971
padding-bottom: 8px;
1972-
border-bottom: 1px solid #eeeeee;
1972+
border-bottom: 1px solid var(--color-secondary);
19731973

19741974
a > .text.right {
19751975
margin-right: 5px;
@@ -2177,7 +2177,7 @@
21772177
}
21782178

21792179
.item {
2180-
border: 1px solid #eaeaea;
2180+
border: 1px solid var(--color-secondary);
21812181
padding: 10px 15px;
21822182

21832183
&:not(:last-child) {
@@ -2748,7 +2748,7 @@
27482748
}
27492749

27502750
&:not(:first-child) {
2751-
border-top: 1px solid #eaeaea;
2751+
border-top: 1px solid var(--color-secondary);
27522752
padding: 1rem;
27532753
margin: 15px -1rem -1rem;
27542754
}

web_src/less/_user.less

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@
2929
list-style: none;
3030

3131
&:not(:last-child) {
32-
border-bottom: 1px solid #eaeaea;
32+
border-bottom: 1px solid var(--color-secondary);
3333
}
3434

3535
.svg,

web_src/less/themes/theme-arc-green.less

Lines changed: 2 additions & 39 deletions
Original file line numberDiff line numberDiff line change
@@ -710,7 +710,7 @@ a.ui.basic.green.label:hover {
710710
}
711711

712712
.ui.pagination.menu .active.item {
713-
color: #dbdbdb;
713+
color: #fff;
714714
background-color: #87ab63;
715715
}
716716

@@ -870,7 +870,6 @@ a.ui.basic.green.label:hover {
870870
}
871871

872872
.ui.table {
873-
color: #a5a5a5 !important;
874873
border-color: var(--color-secondary);
875874
background: #353945;
876875
}
@@ -1020,10 +1019,6 @@ a.ui.basic.green.label:hover {
10201019
.repository.view.issue .comment-list .comment .content {
10211020
> .bottom.segment {
10221021
background: #353945;
1023-
a {
1024-
border-color: var(--color-secondary);
1025-
background-color: #353945;
1026-
}
10271022
}
10281023

10291024
.header {
@@ -1180,10 +1175,6 @@ td.blob-hunk {
11801175
border: 1px solid #333640;
11811176
}
11821177

1183-
.ui.repository.list .item:not(:first-child) {
1184-
border-top: 1px solid var(--color-secondary);
1185-
}
1186-
11871178
.ui.selection.active.dropdown,
11881179
.ui.selection.active.dropdown:hover,
11891180
.ui.selection.active.dropdown .menu,
@@ -1236,10 +1227,6 @@ td.blob-hunk {
12361227
color: #dbdbdb;
12371228
}
12381229

1239-
.ui.user.list .item:not(:first-child) {
1240-
border-top: 1px solid var(--color-secondary);
1241-
}
1242-
12431230
.ui.secondary.pointing.menu .active.item:hover {
12441231
color: #dbdbdb;
12451232
}
@@ -1254,10 +1241,6 @@ td.blob-hunk {
12541241
background: #2c303a;
12551242
}
12561243

1257-
.user.settings .email.list .item:not(:first-child) {
1258-
border-top: 1px solid #3f4451;
1259-
}
1260-
12611244
.explore .navbar {
12621245
background-color: #2a2e3a !important;
12631246
}
@@ -1273,10 +1256,6 @@ td.blob-hunk {
12731256
}
12741257
}
12751258

1276-
.settings .key.list .item:not(:first-child) {
1277-
border-top: 1px solid var(--color-secondary);
1278-
}
1279-
12801259
.ui.attached.info.message,
12811260
.ui.info.message {
12821261
box-shadow: 0 0 0 1px #4b5e71 inset, 0 0 0 0 transparent;
@@ -1358,10 +1337,6 @@ td.blob-hunk {
13581337
box-shadow: 0 0 0 1px rgba(121, 71, 66, .5) inset, 0 0 0 0 transparent;
13591338
}
13601339

1361-
.user.profile .ui.card .extra.content ul li:not(:last-child) {
1362-
border-bottom: 1px solid var(--color-secondary);
1363-
}
1364-
13651340
.ui.form .dropzone {
13661341
border: 1px dashed var(--color-secondary);
13671342
background-color: #2e323e;
@@ -1391,10 +1366,6 @@ td.blob-hunk {
13911366
color: var(--color-secondary-dark-6);
13921367
}
13931368

1394-
.ui.user.list .item .description a {
1395-
color: #668cb1;
1396-
}
1397-
13981369
.repository.file.list #repo-files-table tbody .svg.octicon-file-directory,
13991370
.repository.file.list #repo-files-table tbody .svg.octicon-file-submodule {
14001371
color: #7c9b5e;
@@ -1600,7 +1571,7 @@ a.ui.labels .label:hover {
16001571

16011572
.ui.modal > .actions {
16021573
background: var(--color-secondary);
1603-
border-top: 1px solid var(--color-secondary);
1574+
border-color: var(--color-secondary);
16041575
}
16051576

16061577
.ui.modal > .content {
@@ -1834,14 +1805,6 @@ footer .container .links > * {
18341805
border-color: #383c4a;
18351806
}
18361807

1837-
.repository.release #release-list > li .detail .download .list {
1838-
border-top-color: var(--color-secondary);
1839-
}
1840-
1841-
.repository.release #release-list > li .detail .download .list li {
1842-
border-bottom-color: var(--color-secondary);
1843-
}
1844-
18451808
.board-column {
18461809
background-color: rgba(0, 0, 0, .2) !important;
18471810
}

0 commit comments

Comments
 (0)