mirror of
https://codeberg.org/forgejo/forgejo.git
synced 2025-05-27 04:07:08 +00:00
Simplify settings pages with item list (#1389)
* Remove point column on ssh key setting page * Remove un-used css * Some cleaning * Use octicon-key
This commit is contained in:
parent
129b0d6a4b
commit
912b340d0d
9 changed files with 130 additions and 170 deletions
|
@ -1362,27 +1362,31 @@
|
|||
box-shadow: 0 1px 2px 0 rgba(34,36,38,.15);
|
||||
}
|
||||
}
|
||||
.key.list {
|
||||
.item:not(:first-child) {
|
||||
border-top: 1px solid #eaeaea;
|
||||
}
|
||||
.ssh-key-state-indicator {
|
||||
float: left;
|
||||
color: gray;
|
||||
padding-left: 10px;
|
||||
padding-top: 10px;
|
||||
&.active {
|
||||
color: #6cc644;
|
||||
.list {
|
||||
.item {
|
||||
.green {
|
||||
color: #21BA45 !important;
|
||||
}
|
||||
&:not(:first-child) {
|
||||
border-top: 1px solid #eaeaea;
|
||||
padding:1rem;
|
||||
margin: 15px -1rem -1rem -1rem;
|
||||
min-height: 60px;
|
||||
}
|
||||
> .mega-octicon {
|
||||
display: table-cell;
|
||||
}
|
||||
> .mega-octicon + .content {
|
||||
display: table-cell;
|
||||
padding: 0 0 0 .5em;
|
||||
vertical-align: top;
|
||||
}
|
||||
}
|
||||
.meta {
|
||||
padding-top: 5px;
|
||||
}
|
||||
.print {
|
||||
color: #767676;
|
||||
}
|
||||
.activity {
|
||||
color: #666;
|
||||
&.key{
|
||||
.meta {
|
||||
padding-top: 5px;
|
||||
color: #666;
|
||||
}
|
||||
}
|
||||
}
|
||||
.hook.list {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue