diff options
Diffstat (limited to 'public/less')
-rw-r--r-- | public/less/_base.less | 17 | ||||
-rw-r--r-- | public/less/_dashboard.less | 15 | ||||
-rwxr-xr-x | public/less/_emojify.less | 6 | ||||
-rw-r--r-- | public/less/_form.less | 56 | ||||
-rw-r--r-- | public/less/_organization.less | 11 | ||||
-rw-r--r-- | public/less/_repository.less | 4 | ||||
-rw-r--r-- | public/less/gogs.less | 1 |
7 files changed, 78 insertions, 32 deletions
diff --git a/public/less/_base.less b/public/less/_base.less index 250c3cc4..ee8f63f7 100644 --- a/public/less/_base.less +++ b/public/less/_base.less @@ -70,10 +70,19 @@ pre { background-color: rgb(233, 233, 233)!important; } } - .octicon { + .text .octicon { width: 16px; text-align: center; } + .right.menu { + .menu { + left: auto; + right: 0; + } + .dropdown .menu { + margin-top: 0; + } + } } .ui { &.left { @@ -184,6 +193,12 @@ pre { display: none!important; } } + + &.status.buttons { + .octicon { + margin-right: 4px; + } + } } .overflow.menu { diff --git a/public/less/_dashboard.less b/public/less/_dashboard.less index 9ef1fa2e..d1b194bd 100644 --- a/public/less/_dashboard.less +++ b/public/less/_dashboard.less @@ -4,6 +4,7 @@ &.issues { .context.user.menu { + z-index: 101; min-width: 200px; .ui.header { font-size: 1rem; @@ -13,9 +14,14 @@ .filter.menu { .item { text-align: left; + .text { + height: 16px; + vertical-align: middle; + } .floating.label { top: 7px; - left: 95%; + left: 90%; + width: 15%; } } .item.active { @@ -23,7 +29,7 @@ color: #FFF; } .item .text { - width: 90%; + width: 85%; } } .ui.right .head.menu { @@ -32,5 +38,10 @@ color: #d9453d; } } + .head.menu { + .octicon { + margin-right: 5px; + } + } } }
\ No newline at end of file diff --git a/public/less/_emojify.less b/public/less/_emojify.less new file mode 100755 index 00000000..62fdaa64 --- /dev/null +++ b/public/less/_emojify.less @@ -0,0 +1,6 @@ +.emoji { + width: 1.5em; + height: 1.5em; + display: inline-block; + background-size: contain; +} diff --git a/public/less/_form.less b/public/less/_form.less index 65b253d0..90550052 100644 --- a/public/less/_form.less +++ b/public/less/_form.less @@ -17,28 +17,41 @@ } } +@create-page-form-input-padding: 250px !important; +#create-page-form { + form { + margin: auto; + width: 800px!important; + .ui.message { + text-align: center; + } + .header { + padding-left: @create-page-form-input-padding+30px; + } + .inline.field > label { + text-align: right; + width: @create-page-form-input-padding; + word-wrap: break-word; + } + .help { + margin-left: @create-page-form-input-padding+15px; + } + .optional .title { + margin-left: @create-page-form-input-padding; + } + input, + textarea { + width: 50%!important; + } + } +} + .repository { - @input-padding: 250px !important; &.new.repo, &.new.migrate, &.new.fork { + #create-page-form; form { - margin: auto; - width: 800px!important; - .ui.message { - text-align: center; - } - .header { - padding-left: @input-padding+30px; - } - .inline.field > label { - text-align: right; - width: @input-padding; - word-wrap: break-word; - } - .help { - margin-left: @input-padding+15px; - } .dropdown { .dropdown.icon { margin-top: -7px!important; @@ -50,13 +63,6 @@ } } } - .optional .title { - margin-left: @input-padding; - } - input, - textarea { - width: 50%!important; - } } } @@ -66,7 +72,7 @@ width: 50%!important; } #auto-init { - margin-left: @input-padding+15px; + margin-left: @create-page-form-input-padding+15px; } } } diff --git a/public/less/_organization.less b/public/less/_organization.less index 389a4648..fc3e8260 100644 --- a/public/less/_organization.less +++ b/public/less/_organization.less @@ -14,4 +14,15 @@ } } } + + &.new.org { + #create-page-form; + } + + &.options { + input { + width: 50%!important; + min-width: 300px; + } + } }
\ No newline at end of file diff --git a/public/less/_repository.less b/public/less/_repository.less index 63813f59..f653fec9 100644 --- a/public/less/_repository.less +++ b/public/less/_repository.less @@ -80,10 +80,6 @@ } &.options { - input { - width: 50%!important; - min-width: 300px; - } #interval { width: 100px!important; min-width: 100px; diff --git a/public/less/gogs.less b/public/less/gogs.less index 9ef2f734..d690e3ae 100644 --- a/public/less/gogs.less +++ b/public/less/gogs.less @@ -1,4 +1,5 @@ @import "_octicons"; +@import "_emojify"; @import "_base"; @import "_markdown"; @import "_home"; |