summaryrefslogtreecommitdiffstats
path: root/web_src/less/_repository.less
diff options
context:
space:
mode:
authorLauris BH <lauris@nix.lv>2020-02-11 11:34:17 +0200
committerGitHub <noreply@github.com>2020-02-11 11:34:17 +0200
commitad2642a8aac9facb217a8471df1d3e00f1214e92 (patch)
treeea198b2b3130d22bb60886b6ba0a1df352f160ff /web_src/less/_repository.less
parent37892be63580e40ced80e041ff2e7dabb2e80866 (diff)
downloadgitea-ad2642a8aac9facb217a8471df1d3e00f1214e92.tar.gz
gitea-ad2642a8aac9facb217a8471df1d3e00f1214e92.zip
Language statistics bar for repositories (#8037)
* Implementation for calculating language statistics Impement saving code language statistics to database Implement rendering langauge stats Add primary laguage to show in repository list Implement repository stats indexer queue Add indexer test Refactor to use queue module * Do not timeout for queues
Diffstat (limited to 'web_src/less/_repository.less')
-rw-r--r--web_src/less/_repository.less20
1 files changed, 20 insertions, 0 deletions
diff --git a/web_src/less/_repository.less b/web_src/less/_repository.less
index 3ac86b9875..872ea876a0 100644
--- a/web_src/less/_repository.less
+++ b/web_src/less/_repository.less
@@ -1920,6 +1920,10 @@
}
}
+ span.ui {
+ color: black;
+ }
+
&.active {
background: rgba(0, 0, 0, 0.05);
}
@@ -1998,6 +2002,22 @@
flex: auto;
}
}
+
+ .segment.language-stats {
+ padding: 0;
+ height: 0.6em;
+ display: flex;
+ white-space: nowrap;
+ width: 100%;
+
+ .bar {
+ white-space: nowrap;
+ border: 0;
+ padding: 0;
+ margin: 0;
+ height: 0.6em;
+ }
+ }
}
// End of .repository