summaryrefslogtreecommitdiffstats
path: root/public/less
diff options
context:
space:
mode:
authorLauris BH <lauris@nix.lv>2017-10-15 02:17:39 +0300
committerGitHub <noreply@github.com>2017-10-15 02:17:39 +0300
commitf42dbdbae59600266d03357f9693c659adc9cab3 (patch)
tree90b42df32a5f064d9055fec37c909aa83c432dcc /public/less
parent8863e74f2aa7150605712eb21468b6f1305289f7 (diff)
downloadgitea-f42dbdbae59600266d03357f9693c659adc9cab3.tar.gz
gitea-f42dbdbae59600266d03357f9693c659adc9cab3.zip
Add Activity page to repository (#2674)
* Add Activity page to repository * Add request data for activity * Add issue data for activity * Add user unit right checks * Add releases to activity * Log repository unit loading error
Diffstat (limited to 'public/less')
-rw-r--r--public/less/_base.less34
-rw-r--r--public/less/_repository.less11
2 files changed, 44 insertions, 1 deletions
diff --git a/public/less/_base.less b/public/less/_base.less
index 572cec870e..960104230d 100644
--- a/public/less/_base.less
+++ b/public/less/_base.less
@@ -299,8 +299,40 @@ pre, code {
padding: 8px 15px;
font-weight: normal;
}
+
+ .background {
+ &.red {
+ background-color: #d95c5c !important;
+ }
+ &.blue {
+ background-color: #428bca !important;
+ }
+ &.black {
+ background-color: #444;
+ }
+ &.grey {
+ background-color: #767676 !important;
+ }
+ &.light.grey {
+ background-color: #888 !important;
+ }
+ &.green {
+ background-color: #6cc644 !important;
+ }
+ &.purple {
+ background-color: #6e5494 !important;
+ }
+ &.yellow {
+ background-color: #FBBD08 !important;
+ }
+ &.gold {
+ background-color: #a1882b !important;
+ }
+ }
}
+
+
.overflow.menu {
.items {
max-height: 300px;
@@ -477,4 +509,4 @@ footer {
margin-top: 0 !important;
border-bottom-width: 0 !important;
margin-bottom: 2px !important;
-} \ No newline at end of file
+}
diff --git a/public/less/_repository.less b/public/less/_repository.less
index 288c0196da..b431a5b138 100644
--- a/public/less/_repository.less
+++ b/public/less/_repository.less
@@ -1554,3 +1554,14 @@
}
.generate-tab-size(@n, (@i + 1));
}
+
+.table {
+ display: table;
+ width: 100%;
+ .table-cell {
+ display: table-cell;
+ &.tiny {
+ height: .5em;
+ }
+ }
+}