mirror of
https://github.com/go-gitea/gitea
synced 2025-07-22 18:28:37 +00:00
new dashboard ui
This commit is contained in:
@@ -55,7 +55,7 @@ pre {
|
||||
z-index: 900;
|
||||
}
|
||||
.head.link.item {
|
||||
padding-right: 0!important;
|
||||
padding-right: 0 !important;
|
||||
.dropdown.icon,
|
||||
.menu .octicon {
|
||||
margin-right: 5px;
|
||||
@@ -65,9 +65,9 @@ pre {
|
||||
margin-right: 0;
|
||||
}
|
||||
.searchbox {
|
||||
background-color: rgb(244, 244, 244)!important;
|
||||
background-color: rgb(244, 244, 244) !important;
|
||||
&:focus {
|
||||
background-color: rgb(233, 233, 233)!important;
|
||||
background-color: rgb(233, 233, 233) !important;
|
||||
}
|
||||
}
|
||||
.text .octicon {
|
||||
@@ -84,6 +84,7 @@ pre {
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
.ui {
|
||||
&.left {
|
||||
float: left;
|
||||
@@ -94,51 +95,60 @@ pre {
|
||||
|
||||
.text {
|
||||
&.red {
|
||||
color: #d95c5c!important;
|
||||
color: #d95c5c !important;
|
||||
a {
|
||||
color: #d95c5c!important;
|
||||
color: #d95c5c !important;
|
||||
&:hover {
|
||||
color: #E67777!important;
|
||||
color: #E67777 !important;
|
||||
}
|
||||
}
|
||||
}
|
||||
&.blue {
|
||||
color: #428bca!important;
|
||||
color: #428bca !important;
|
||||
a {
|
||||
color: #15c!important;
|
||||
color: #15c !important;
|
||||
&:hover {
|
||||
color: #428bca!important;
|
||||
color: #428bca !important;
|
||||
}
|
||||
}
|
||||
}
|
||||
&.grey {
|
||||
color: #767676!important;
|
||||
color: #767676 !important;
|
||||
a {
|
||||
color: #444!important;
|
||||
color: #444 !important;
|
||||
&:hover {
|
||||
color: #000!important;
|
||||
color: #000 !important;
|
||||
}
|
||||
}
|
||||
}
|
||||
&.light.grey {
|
||||
color: #888 !important;
|
||||
}
|
||||
&.green {
|
||||
color: #6cc644!important;
|
||||
color: #6cc644 !important;
|
||||
}
|
||||
&.purple {
|
||||
color: #6e5494!important;
|
||||
color: #6e5494 !important;
|
||||
}
|
||||
&.yellow {
|
||||
color: #FBBD08!important;
|
||||
color: #FBBD08 !important;
|
||||
}
|
||||
|
||||
&.left {
|
||||
text-align: left!important;
|
||||
text-align: left !important;
|
||||
}
|
||||
&.right {
|
||||
text-align: right!important;
|
||||
text-align: right !important;
|
||||
}
|
||||
&.small {
|
||||
font-size: 0.75em;
|
||||
}
|
||||
&.bold {
|
||||
font-weight: bold;
|
||||
}
|
||||
&.italic {
|
||||
font-style: italic;
|
||||
}
|
||||
|
||||
&.truncate {
|
||||
overflow: hidden;
|
||||
@@ -166,7 +176,7 @@ pre {
|
||||
}
|
||||
.warning {
|
||||
&.header {
|
||||
background-color: #F9EDBE!important;
|
||||
background-color: #F9EDBE !important;
|
||||
border-color: #F0C36D;
|
||||
}
|
||||
&.segment {
|
||||
@@ -175,7 +185,7 @@ pre {
|
||||
}
|
||||
.info {
|
||||
&.header {
|
||||
background-color: #d9edf7!important;
|
||||
background-color: #d9edf7 !important;
|
||||
border-color: #85c5e5;
|
||||
}
|
||||
&.segment {
|
||||
@@ -193,7 +203,7 @@ pre {
|
||||
|
||||
.form {
|
||||
.fake {
|
||||
display: none!important;
|
||||
display: none !important;
|
||||
}
|
||||
}
|
||||
|
||||
@@ -217,7 +227,7 @@ pre {
|
||||
border-top: none;
|
||||
line-height: 1em;
|
||||
color: rgba(0,0,0,.8);
|
||||
padding: .71428571em 1.14285714em!important;
|
||||
padding: .71428571em 1.14285714em !important;
|
||||
font-size: 1rem;
|
||||
text-transform: none;
|
||||
font-weight: 400;
|
||||
@@ -237,12 +247,12 @@ pre {
|
||||
|
||||
.scrolling.menu {
|
||||
.item.selected {
|
||||
font-weight: 700!important;
|
||||
font-weight: 700 !important;
|
||||
}
|
||||
}
|
||||
|
||||
footer {
|
||||
margin-top: @footer-margin+14px!important;
|
||||
margin-top: @footer-margin+14px !important;
|
||||
height: @footer-margin;
|
||||
background-color: white;
|
||||
border-top: 1px solid #d6d6d6;
|
||||
@@ -277,8 +287,8 @@ footer {
|
||||
.generate-img(16);
|
||||
.generate-img(@n, @i: 1) when (@i =< @n) {
|
||||
.img-@{i} {
|
||||
width: (2px * @i)!important;
|
||||
height: (2px * @i)!important;
|
||||
width: (2px * @i) !important;
|
||||
height: (2px * @i) !important;
|
||||
}
|
||||
.generate-img(@n, (@i + 1));
|
||||
}
|
||||
@@ -286,7 +296,7 @@ footer {
|
||||
.octicon.icon,
|
||||
.mega-octicon.icon {
|
||||
font-family: octicons;
|
||||
opacity: 1!important;
|
||||
opacity: 1 !important;
|
||||
}
|
||||
|
||||
// Accessibility
|
||||
|
@@ -2,6 +2,7 @@
|
||||
padding-top: 15px;
|
||||
padding-bottom: @footer-margin * 2;
|
||||
|
||||
&.feeds,
|
||||
&.issues {
|
||||
.context.user.menu {
|
||||
z-index: 101;
|
||||
@@ -52,4 +53,67 @@
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
&.feeds {
|
||||
.news {
|
||||
.ui.avatar {
|
||||
margin-top: 13px;
|
||||
}
|
||||
p {
|
||||
line-height: 1em;
|
||||
}
|
||||
.time-since {
|
||||
font-size: 13px;
|
||||
}
|
||||
.issue.title {
|
||||
line-height: 1em;
|
||||
width: 80%;
|
||||
}
|
||||
.push.news .content ul {
|
||||
font-size: 13px;
|
||||
list-style: none;
|
||||
padding-left: 10px;
|
||||
|
||||
img {
|
||||
margin-bottom: -2px;
|
||||
}
|
||||
.text.truncate {
|
||||
width: 80%;
|
||||
margin-bottom: -5px;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
.list {
|
||||
.header {
|
||||
padding-top: 10px;
|
||||
padding-bottom: 5px;
|
||||
}
|
||||
ul {
|
||||
list-style: none;
|
||||
margin: 0;
|
||||
padding-left: 0;
|
||||
|
||||
li {
|
||||
&:not(:last-child) {
|
||||
border-bottom: 1px solid #EAEAEA;
|
||||
}
|
||||
|
||||
&.private {
|
||||
background-color: #fcf8e9;
|
||||
}
|
||||
|
||||
a {
|
||||
padding: 6px 1.2em;
|
||||
display: block;
|
||||
|
||||
.octicon {
|
||||
margin-right: 6px;
|
||||
color: #888;
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
Reference in New Issue
Block a user