File tree Expand file tree Collapse file tree 2 files changed +19
-10
lines changed Expand file tree Collapse file tree 2 files changed +19
-10
lines changed Original file line number Diff line number Diff line change 32
32
</div>
33
33
{{if not .ReadmeInList}}
34
34
<div class="file-header-right file-actions df ac">
35
- <div class="ui buttons">
36
- <a class="ui tiny button" href="{{EscapePound $.RawFileLink}}">{{.i18n.Tr "repo.file_raw"}}</a>
35
+ <div class="ui buttons mr-2 ">
36
+ <a class="ui mini basic button" href="{{EscapePound $.RawFileLink}}">{{.i18n.Tr "repo.file_raw"}}</a>
37
37
{{if not .IsViewCommit}}
38
- <a class="ui tiny button" href="{{.RepoLink}}/src/commit/{{.CommitID}}/{{EscapePound .TreePath}}">{{.i18n.Tr "repo.file_permalink"}}</a>
38
+ <a class="ui mini basic button" href="{{.RepoLink}}/src/commit/{{.CommitID}}/{{EscapePound .TreePath}}">{{.i18n.Tr "repo.file_permalink"}}</a>
39
39
{{end}}
40
40
{{if .IsTextFile}}
41
- <a class="ui tiny button" href="{{.RepoLink}}/blame/{{EscapePound .BranchNameSubURL}}/{{EscapePound .TreePath}}">{{.i18n.Tr "repo.blame"}}</a>
41
+ <a class="ui mini basic button" href="{{.RepoLink}}/blame/{{EscapePound .BranchNameSubURL}}/{{EscapePound .TreePath}}">{{.i18n.Tr "repo.blame"}}</a>
42
42
{{end}}
43
- <a class="ui tiny button" href="{{.RepoLink}}/commits/{{EscapePound .BranchNameSubURL}}/{{EscapePound .TreePath}}">{{.i18n.Tr "repo.file_history"}}</a>
43
+ <a class="ui mini basic button" href="{{.RepoLink}}/commits/{{EscapePound .BranchNameSubURL}}/{{EscapePound .TreePath}}">{{.i18n.Tr "repo.file_history"}}</a>
44
44
</div>
45
45
{{if .Repository.CanEnableEditor}}
46
46
{{if .CanEditFile}}
Original file line number Diff line number Diff line change @@ -628,7 +628,7 @@ a.muted:hover,
628
628
}
629
629
630
630
& .black {
631
- color : var (--color-body );
631
+ color : var (--color-text );
632
632
633
633
& :hover {
634
634
color : #000000 ;
@@ -1433,6 +1433,19 @@ a.ui.label:hover {
1433
1433
color : var (--color-text );
1434
1434
}
1435
1435
1436
+ .ui.button :hover {
1437
+ background : var (--color-hover );
1438
+ color : var (--color-text );
1439
+ }
1440
+
1441
+ .ui.buttons .button :first-child {
1442
+ border-left : 1px solid var (--color-secondary );
1443
+ }
1444
+
1445
+ .ui.buttons .button + .button {
1446
+ border-left : none ;
1447
+ }
1448
+
1436
1449
.ui.blue.button ,
1437
1450
.ui.blue.buttons .button ,
1438
1451
.ui.primary.button ,
@@ -1617,10 +1630,6 @@ table th[data-sortt-desc] {
1617
1630
}
1618
1631
}
1619
1632
1620
- .dropdown .ui.label {
1621
- margin-left : 0 !important ;
1622
- }
1623
-
1624
1633
.ui.dropdown .menu .item {
1625
1634
border-radius : 0 ;
1626
1635
}
You can’t perform that action at this time.
0 commit comments