summaryrefslogtreecommitdiffstats
path: root/public/less/_base.less
diff options
context:
space:
mode:
authorCherrg <michael@gnehr.de>2019-07-12 21:11:05 +0200
committerzeripath <art27@cantab.net>2019-07-12 20:11:05 +0100
commitf52840623c5408eadc3ccdecdd748bed96cee609 (patch)
tree2afe5670907c0b843f067f66eee271265a7bec84 /public/less/_base.less
parent97d4a38e012cb7bbfa1b5720f140fe0541863997 (diff)
downloadgitea-f52840623c5408eadc3ccdecdd748bed96cee609.tar.gz
gitea-f52840623c5408eadc3ccdecdd748bed96cee609.zip
backport of #7393 - create class for inline positioned lists (#7439)
see #7393 affects #6464 Signed-off-by: Michael Gnehr michael@gnehr.de
Diffstat (limited to 'public/less/_base.less')
-rw-r--r--public/less/_base.less17
1 files changed, 16 insertions, 1 deletions
diff --git a/public/less/_base.less b/public/less/_base.less
index 4ce1b8eff9..01560c56c4 100644
--- a/public/less/_base.less
+++ b/public/less/_base.less
@@ -605,7 +605,6 @@ code,
.file-comment {
font: 12px @monospaced-fonts, monospace;
color: rgba(0, 0, 0, 0.87);
-
}
.ui.floating.dropdown {
@@ -877,3 +876,19 @@ footer {
.ui.tabular.menu .item.active {
color: rgba(0, 0, 0, 0.9);
}
+
+/* multiple radio or checkboxes as inline element */
+.inline-grouped-list {
+ display: inline-block;
+ vertical-align: top;
+
+ > .ui {
+ display: block;
+ margin-top: 5px;
+ margin-bottom: 10px;
+
+ &:first-child {
+ margin-top: 1px;
+ }
+ }
+}