File tree 5 files changed +34
-10
lines changed
5 files changed +34
-10
lines changed Original file line number Diff line number Diff line change @@ -2374,12 +2374,23 @@ footer .ui.language .menu {
2374
2374
.settings .content .segment {
2375
2375
box-shadow : 0 1px 2px 0 rgba (34 , 36 , 38 , 0.15 );
2376
2376
}
2377
+ .settings .list .item .green {
2378
+ color : # 21BA45 !important ;
2379
+ }
2377
2380
.settings .list .item : not (: first-child ) {
2378
2381
border-top : 1px solid # eaeaea ;
2379
2382
padding : 1rem ;
2380
2383
margin : 15px -1rem -1rem -1rem ;
2381
2384
min-height : 60px ;
2382
2385
}
2386
+ .settings .list .item > .mega-octicon {
2387
+ display : table-cell;
2388
+ }
2389
+ .settings .list .item > .mega-octicon + .content {
2390
+ display : table-cell;
2391
+ padding : 0 0 0 .5em ;
2392
+ vertical-align : top;
2393
+ }
2383
2394
.settings .list .key .meta {
2384
2395
padding-top : 5px ;
2385
2396
color : # 666 ;
Original file line number Diff line number Diff line change 1363
1363
}
1364
1364
}
1365
1365
.list {
1366
- .item :not (:first-child ) {
1367
- border-top : 1px solid #eaeaea ;
1368
- padding :1rem ;
1369
- margin : 15px -1rem -1rem -1rem ;
1370
- min-height : 60px ;
1366
+ .item {
1367
+ .green {
1368
+ color : #21BA45 !important ;
1369
+ }
1370
+ & :not (:first-child ) {
1371
+ border-top : 1px solid #eaeaea ;
1372
+ padding :1rem ;
1373
+ margin : 15px -1rem -1rem -1rem ;
1374
+ min-height : 60px ;
1375
+ }
1376
+ > .mega-octicon {
1377
+ display : table-cell ;
1378
+ }
1379
+ > .mega-octicon + .content {
1380
+ display : table-cell ;
1381
+ padding : 0 0 0 .5em ;
1382
+ vertical-align : top ;
1383
+ }
1371
1384
}
1372
1385
& .key {
1373
1386
.meta {
Original file line number Diff line number Diff line change 20
20
{{$.i18n.Tr "settings.delete_key"}}
21
21
</button>
22
22
</div>
23
- <i class="big key icon {{if .HasRecentActivity}}green{{end}}" {{if .HasRecentActivity}}data-content="{{$.i18n.Tr "settings.key_state_desc"}}" data-variation="inverted"{{end}}></i>
23
+ <i class="mega-octicon octicon- key {{if .HasRecentActivity}}green{{end}}" {{if .HasRecentActivity}}data-content="{{$.i18n.Tr "settings.key_state_desc"}}" data-variation="inverted"{{end}}></i>
24
24
<div class="content">
25
25
<strong>{{.Name}}</strong>
26
26
<div class="print meta">
27
27
{{.Fingerprint}}
28
28
</div>
29
29
<div class="activity meta">
30
- <i>{{$.i18n.Tr "settings.add_on"}} <span>{{DateFmtShort .Created}}</span> — <i class="octicon octicon-info"></i> {{if .HasUsed}}{{$.i18n.Tr "settings.last_used"}} <span {{if .HasRecentActivity}}style="color: #21ba45; "{{end}}>{{DateFmtShort .Updated}}</span>{{else}}{{$.i18n.Tr "settings.no_activity"}}{{end}}</i>
30
+ <i>{{$.i18n.Tr "settings.add_on"}} <span>{{DateFmtShort .Created}}</span> — <i class="octicon octicon-info"></i> {{if .HasUsed}}{{$.i18n.Tr "settings.last_used"}} <span {{if .HasRecentActivity}}class="green "{{end}}>{{DateFmtShort .Updated}}</span>{{else}}{{$.i18n.Tr "settings.no_activity"}}{{end}}</i>
31
31
</div>
32
32
</div>
33
33
</div>
Original file line number Diff line number Diff line change 25
25
<div class="content">
26
26
<strong>{{.Name}}</strong>
27
27
<div class="activity meta">
28
- <i>{{$.i18n.Tr "settings.add_on"}} <span>{{DateFmtShort .Created}}</span> — <i class="octicon octicon-info"></i> {{if .HasUsed}}{{$.i18n.Tr "settings.last_used"}} <span {{if .HasRecentActivity}}style="color: #21ba45; "{{end}}>{{DateFmtShort .Updated}}</span>{{else}}{{$.i18n.Tr "settings.no_activity"}}{{end}}</i>
28
+ <i>{{$.i18n.Tr "settings.add_on"}} <span>{{DateFmtShort .Created}}</span> — <i class="octicon octicon-info"></i> {{if .HasUsed}}{{$.i18n.Tr "settings.last_used"}} <span {{if .HasRecentActivity}}class="green "{{end}}>{{DateFmtShort .Updated}}</span>{{else}}{{$.i18n.Tr "settings.no_activity"}}{{end}}</i>
29
29
</div>
30
30
</div>
31
31
</div>
Original file line number Diff line number Diff line change 21
21
{{$.i18n.Tr "settings.delete_key"}}
22
22
</button>
23
23
</div>
24
- <i class="big key icon {{if .HasRecentActivity}}green{{end}}" {{if .HasRecentActivity}}data-content="{{$.i18n.Tr "settings.key_state_desc"}}" data-variation="inverted tiny"{{end}}></i>
24
+ <i class="mega-octicon octicon- key {{if .HasRecentActivity}}green{{end}}" {{if .HasRecentActivity}}data-content="{{$.i18n.Tr "settings.key_state_desc"}}" data-variation="inverted tiny"{{end}}></i>
25
25
<div class="content">
26
26
<strong>{{.Name}}</strong>
27
27
<div class="print meta">
28
28
{{.Fingerprint}}
29
29
</div>
30
30
<div class="activity meta">
31
- <i>{{$.i18n.Tr "settings.add_on"}} <span>{{DateFmtShort .Created}}</span> — <i class="octicon octicon-info"></i> {{if .HasUsed}}{{$.i18n.Tr "settings.last_used"}} <span {{if .HasRecentActivity}}style="color: #21ba45; "{{end}}>{{DateFmtShort .Updated}}</span>{{else}}{{$.i18n.Tr "settings.no_activity"}}{{end}}</i>
31
+ <i>{{$.i18n.Tr "settings.add_on"}} <span>{{DateFmtShort .Created}}</span> — <i class="octicon octicon-info"></i> {{if .HasUsed}}{{$.i18n.Tr "settings.last_used"}} <span {{if .HasRecentActivity}}class="green "{{end}}>{{DateFmtShort .Updated}}</span>{{else}}{{$.i18n.Tr "settings.no_activity"}}{{end}}</i>
32
32
</div>
33
33
</div>
34
34
</div>
You can’t perform that action at this time.
0 commit comments