summaryrefslogtreecommitdiffstats
path: root/public/less/_repository.less
diff options
context:
space:
mode:
authorAntoine GIRARD <sapk@users.noreply.github.com>2017-03-30 03:02:37 +0200
committerLunny Xiao <xiaolunwen@gmail.com>2017-03-30 09:02:37 +0800
commit912b340d0d674b35ef04e66d00a10a8e4a02e82c (patch)
tree9f7b5b1a0a6831f986136b0cb84bf0721eb30da0 /public/less/_repository.less
parent129b0d6a4b408555c579e7ccb2fb15d3d8fcef29 (diff)
downloadgitea-912b340d0d674b35ef04e66d00a10a8e4a02e82c.tar.gz
gitea-912b340d0d674b35ef04e66d00a10a8e4a02e82c.zip
Simplify settings pages with item list (#1389)
* Remove point column on ssh key setting page * Remove un-used css * Some cleaning * Use octicon-key
Diffstat (limited to 'public/less/_repository.less')
-rw-r--r--public/less/_repository.less42
1 files changed, 23 insertions, 19 deletions
diff --git a/public/less/_repository.less b/public/less/_repository.less
index 406dfb2ac8..7fadc21a86 100644
--- a/public/less/_repository.less
+++ b/public/less/_repository.less
@@ -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 {