diff options
Diffstat (limited to 'public/less')
-rw-r--r-- | public/less/_base.less | 12 | ||||
-rw-r--r-- | public/less/_form.less | 8 | ||||
-rw-r--r-- | public/less/_home.less | 2 | ||||
-rw-r--r-- | public/less/_install.less | 33 | ||||
-rw-r--r-- | public/less/gogs.less | 4 |
5 files changed, 57 insertions, 2 deletions
diff --git a/public/less/_base.less b/public/less/_base.less index 5f22bc32..5da58660 100644 --- a/public/less/_base.less +++ b/public/less/_base.less @@ -62,6 +62,18 @@ footer { } } } + +.hide { + display: none; +} +.center { + text-align: center; +} + +.text-error { + color: #d95c5c !important; +} + .generate-img(16); .generate-img(@n, @i: 1) when (@i =< @n) { .img-@{i} { diff --git a/public/less/_form.less b/public/less/_form.less new file mode 100644 index 00000000..3cc1c7f5 --- /dev/null +++ b/public/less/_form.less @@ -0,0 +1,8 @@ +.form { + .help { + color: #999999; + padding-top: .6em; + padding-bottom: .6em; + display: inline-block; + } +}
\ No newline at end of file diff --git a/public/less/_home.less b/public/less/_home.less index 14517fa9..93df7b19 100644 --- a/public/less/_home.less +++ b/public/less/_home.less @@ -1,5 +1,5 @@ .home { - padding-bottom: @footer-margin * 2; + padding-bottom: @footer-margin * 3; .logo { max-width: 250px; } diff --git a/public/less/_install.less b/public/less/_install.less new file mode 100644 index 00000000..244f7c0d --- /dev/null +++ b/public/less/_install.less @@ -0,0 +1,33 @@ +.install { + padding-top: 45px; + padding-bottom: @footer-margin * 3; + .attached.header { + background: #f0f0f0; + } + form { + label { + text-align: right; + width: 40% !important; + } + input { + width: 35% !important; + } + .field { + text-align: left; + .help { + margin-left: 41%; + } + &.optional .title { + margin-left: 38%; + } + } + } + .ui { + .checkbox { + margin-left: 40% !important; + label { + width: auto !important; + } + } + } +}
\ No newline at end of file diff --git a/public/less/gogs.less b/public/less/gogs.less index d4d8f846..8b0fe1d5 100644 --- a/public/less/gogs.less +++ b/public/less/gogs.less @@ -1,3 +1,5 @@ @import "_octicons"; @import "_base"; -@import "_home";
\ No newline at end of file +@import "_home"; +@import "_install"; +@import "_form";
\ No newline at end of file |