diff options
Diffstat (limited to 'public')
-rw-r--r-- | public/css/gogs.css | 37 | ||||
-rw-r--r-- | public/less/_form.less | 15 | ||||
-rw-r--r-- | public/less/_user.less | 25 |
3 files changed, 50 insertions, 27 deletions
diff --git a/public/css/gogs.css b/public/css/gogs.css index 3fc0805e..1d393aad 100644 --- a/public/css/gogs.css +++ b/public/css/gogs.css @@ -960,7 +960,7 @@ footer .ui.language .menu { } #create-page-form form input, #create-page-form form textarea { - width: 50%!important; + width: 50% !important; } .user.activate form, .user.forgot.password form, @@ -1017,14 +1017,14 @@ footer .ui.language .menu { .user.reset.password form textarea, .user.signin form textarea, .user.signup form textarea { - width: 50%!important; + width: 50% !important; } .user.activate form, .user.forgot.password form, .user.reset.password form, .user.signin form, .user.signup form { - width: 700px!important; + width: 700px !important; } .user.activate form .header, .user.forgot.password form .header, @@ -1040,6 +1040,12 @@ footer .ui.language .menu { .user.signup form .inline.field > label { width: 200px !important; } +.user.signin.two-factor form { + width: 300px !important; +} +.user.signin.two-factor form .header { + padding-left: inherit !important; +} .repository.new.repo form, .repository.new.migrate form, .repository.new.fork form { @@ -1079,7 +1085,7 @@ footer .ui.language .menu { .repository.new.repo form textarea, .repository.new.migrate form textarea, .repository.new.fork form textarea { - width: 50%!important; + width: 50% !important; } .repository.new.repo form .dropdown .dropdown.icon, .repository.new.migrate form .dropdown .dropdown.icon, @@ -2752,7 +2758,7 @@ footer .ui.language .menu { } .organization.new.org form input, .organization.new.org form textarea { - width: 50%!important; + width: 50% !important; } .organization.options input { min-width: 300px; @@ -2856,15 +2862,8 @@ footer .ui.language .menu { .user.settings .email.list .item:not(:first-child) .button { margin-top: -10px; } -.user.settings.organizations .orgs.non-empty { - padding: 0; -} -.user.settings.organizations .orgs .item { - padding: 10px; -} -.user.settings.organizations .orgs .item .button { - margin-top: 5px; - margin-right: 8px; +.user.settings.security .two-factor .toggle.button { + margin-top: -5px; } .user.settings.repositories .repos { padding: 0; @@ -2876,6 +2875,16 @@ footer .ui.language .menu { .user.settings.repositories .repos .item .button { margin-top: -5px; } +.user.settings.organizations .orgs.non-empty { + padding: 0; +} +.user.settings.organizations .orgs .item { + padding: 10px; +} +.user.settings.organizations .orgs .item .button { + margin-top: 5px; + margin-right: 8px; +} .user.profile .ui.card .header { word-break: break-all; } diff --git a/public/less/_form.less b/public/less/_form.less index 120d31bf..8808485a 100644 --- a/public/less/_form.less +++ b/public/less/_form.less @@ -42,7 +42,7 @@ } input, textarea { - width: 50%!important; + width: 50% !important; } } } @@ -52,10 +52,10 @@ .user.reset.password, .user.signin, .user.signup { - @input-padding: 200px!important; + @input-padding: 200px !important; #create-page-form; form { - width: 700px!important; + width: 700px !important; .header { padding-left: @input-padding+30px; } @@ -65,6 +65,15 @@ } } +.user.signin.two-factor { + form { + width: 300px !important; + .header { + padding-left: inherit !important; + } + } +} + .repository { &.new.repo, &.new.migrate, diff --git a/public/less/_user.less b/public/less/_user.less index e3686ae8..2311eb2c 100644 --- a/public/less/_user.less +++ b/public/less/_user.less @@ -19,16 +19,9 @@ } } } - &.organizations .orgs { - &.non-empty { - padding: 0; - } - .item { - padding: 10px; - .button { - margin-top: 5px; - margin-right: 8px; - } + &.security { + .two-factor .toggle.button { + margin-top: -5px; } } &.repositories .repos { @@ -41,6 +34,18 @@ } } } + &.organizations .orgs { + &.non-empty { + padding: 0; + } + .item { + padding: 10px; + .button { + margin-top: 5px; + margin-right: 8px; + } + } + } } &.profile { |