diff options
| author | 2022-08-15 20:09:10 +0200 | |
|---|---|---|
| committer | 2022-08-15 20:09:10 +0200 | |
| commit | 36a615beeb84dcf0ee87a6f598a37e3d53236837 (patch) | |
| tree | da48907bd4e343a5d22938b9f8cff30d7c07cc48 | |
| parent | 96e0efa6f09271f34941f7078179921e194395ab (diff) | |
Set standard CSS for login register form (#4504)
* set default to template.css
* adark theme
* ansum theme
* template.css
* adark theme
* BlueLagoon theme
* dark theme
* flat theme
* mapco theme
* Nord theme
* Origine prompt
* Origine Compact theme
* Pafat theme
* Screwdriver theme
* swage theme
* Update template.rtl.css
29 files changed, 68 insertions, 619 deletions
diff --git a/p/themes/Alternative-Dark/adark.css b/p/themes/Alternative-Dark/adark.css index 7b98249c8..13b5f7dc8 100644 --- a/p/themes/Alternative-Dark/adark.css +++ b/p/themes/Alternative-Dark/adark.css @@ -605,25 +605,6 @@ a.btn { } /*=== Prompt (centered) */ -.prompt { - max-width: 20rem; - margin-left: auto; - margin-right: auto; - padding-left: .5rem; - padding-right: .5rem; - text-align: center; -} - -.prompt label { - text-align: left; -} - -.prompt form { - margin-top: 2rem; - margin-bottom: 3rem; - text-align: left; -} - .prompt .form-group { margin-bottom: 1rem; } @@ -639,22 +620,12 @@ a.btn { justify-content: space-between; } -.prompt .stick, -.prompt input { - width: 100%; - box-sizing: border-box; -} - .prompt .btn.btn-important { padding-left: 1.5rem; padding-right: 1.5rem; font-size: 1.1rem; } -.prompt p { - margin: 20px 0; -} - /*=== New article notification */ #new-article { background: #0084cc; diff --git a/p/themes/Alternative-Dark/adark.rtl.css b/p/themes/Alternative-Dark/adark.rtl.css index 4336a1704..573606f30 100644 --- a/p/themes/Alternative-Dark/adark.rtl.css +++ b/p/themes/Alternative-Dark/adark.rtl.css @@ -605,25 +605,6 @@ a.btn { } /*=== Prompt (centered) */ -.prompt { - max-width: 20rem; - margin-right: auto; - margin-left: auto; - padding-right: .5rem; - padding-left: .5rem; - text-align: center; -} - -.prompt label { - text-align: right; -} - -.prompt form { - margin-top: 2rem; - margin-bottom: 3rem; - text-align: right; -} - .prompt .form-group { margin-bottom: 1rem; } @@ -639,22 +620,12 @@ a.btn { justify-content: space-between; } -.prompt .stick, -.prompt input { - width: 100%; - box-sizing: border-box; -} - .prompt .btn.btn-important { padding-right: 1.5rem; padding-left: 1.5rem; font-size: 1.1rem; } -.prompt p { - margin: 20px 0; -} - /*=== New article notification */ #new-article { background: #0084cc; diff --git a/p/themes/Ansum/_layout.scss b/p/themes/Ansum/_layout.scss index 4f2bf2a90..b35b1ded7 100644 --- a/p/themes/Ansum/_layout.scss +++ b/p/themes/Ansum/_layout.scss @@ -109,30 +109,9 @@ height: calc(100% - 4rem); } - - - /*=== Prompt (centered) */ -.prompt { - text-align: center; -} - -.prompt label { - text-align: left; -} - -.prompt form { - margin: 10px auto 20px auto; - width: 200px; -} - .prompt input { margin: 5px auto; - width: 100%; -} - -.prompt p { - margin: 20px 0; } /*=== New article notification */ diff --git a/p/themes/Ansum/ansum.css b/p/themes/Ansum/ansum.css index 9976ac825..8b91139ca 100644 --- a/p/themes/Ansum/ansum.css +++ b/p/themes/Ansum/ansum.css @@ -819,26 +819,8 @@ form th { } /*=== Prompt (centered) */ -.prompt { - text-align: center; -} - -.prompt label { - text-align: left; -} - -.prompt form { - margin: 10px auto 20px auto; - width: 200px; -} - .prompt input { margin: 5px auto; - width: 100%; -} - -.prompt p { - margin: 20px 0; } /*=== New article notification */ diff --git a/p/themes/Ansum/ansum.rtl.css b/p/themes/Ansum/ansum.rtl.css index 3f974f9f7..2dc349ead 100644 --- a/p/themes/Ansum/ansum.rtl.css +++ b/p/themes/Ansum/ansum.rtl.css @@ -819,26 +819,8 @@ form th { } /*=== Prompt (centered) */ -.prompt { - text-align: center; -} - -.prompt label { - text-align: right; -} - -.prompt form { - margin: 10px auto 20px auto; - width: 200px; -} - .prompt input { margin: 5px auto; - width: 100%; -} - -.prompt p { - margin: 20px 0; } /*=== New article notification */ diff --git a/p/themes/BlueLagoon/BlueLagoon.css b/p/themes/BlueLagoon/BlueLagoon.css index 52704273e..24a56b5b3 100644 --- a/p/themes/BlueLagoon/BlueLagoon.css +++ b/p/themes/BlueLagoon/BlueLagoon.css @@ -730,26 +730,6 @@ a.btn { } /*=== Prompt (centered) */ -.prompt { - max-width: 20rem; - margin-left: auto; - margin-right: auto; - padding-left: .5rem; - padding-right: .5rem; - text-align: center; - text-shadow: 0 1px rgba(255,255,255,0.08); -} - -.prompt form { - margin-top: 2rem; - margin-bottom: 3rem; - text-align: left; -} - -.prompt label { - text-align: left; -} - .prompt .form-group { margin-bottom: 1rem; } @@ -765,12 +745,6 @@ a.btn { justify-content: space-between; } -.prompt .stick, -.prompt input { - width: 100%; - box-sizing: border-box; -} - .prompt input#username,.prompt input#passwordPlain { background: #fff; border: solid 1px #ccc; @@ -788,10 +762,6 @@ a.btn { font-size: 1.1rem; } -.prompt p { - margin: 20px 0; -} - /*=== New article notification */ #new-article { background: #0084cc; diff --git a/p/themes/BlueLagoon/BlueLagoon.rtl.css b/p/themes/BlueLagoon/BlueLagoon.rtl.css index 688a0cc76..415341439 100644 --- a/p/themes/BlueLagoon/BlueLagoon.rtl.css +++ b/p/themes/BlueLagoon/BlueLagoon.rtl.css @@ -730,26 +730,6 @@ a.btn { } /*=== Prompt (centered) */ -.prompt { - max-width: 20rem; - margin-right: auto; - margin-left: auto; - padding-right: .5rem; - padding-left: .5rem; - text-align: center; - text-shadow: 0 1px rgba(255,255,255,0.08); -} - -.prompt form { - margin-top: 2rem; - margin-bottom: 3rem; - text-align: right; -} - -.prompt label { - text-align: right; -} - .prompt .form-group { margin-bottom: 1rem; } @@ -765,12 +745,6 @@ a.btn { justify-content: space-between; } -.prompt .stick, -.prompt input { - width: 100%; - box-sizing: border-box; -} - .prompt input#username,.prompt input#passwordPlain { background: #fff; border: solid 1px #ccc; @@ -788,10 +762,6 @@ a.btn { font-size: 1.1rem; } -.prompt p { - margin: 20px 0; -} - /*=== New article notification */ #new-article { background: #0084cc; diff --git a/p/themes/Dark/dark.css b/p/themes/Dark/dark.css index b93f7d7a1..c25d8acb6 100644 --- a/p/themes/Dark/dark.css +++ b/p/themes/Dark/dark.css @@ -678,21 +678,6 @@ a.btn { } /*=== Prompt (centered) */ -.prompt { - max-width: 20rem; - margin-left: auto; - margin-right: auto; - padding-left: .5rem; - padding-right: .5rem; - text-align: center; -} - -.prompt form { - margin-top: 2rem; - margin-bottom: 3rem; - text-align: left; -} - .prompt .form-group { margin-bottom: 1rem; } @@ -708,22 +693,12 @@ a.btn { justify-content: space-between; } -.prompt .stick, -.prompt input { - width: 100%; - box-sizing: border-box; -} - .prompt .btn.btn-important { padding-left: 1.5rem; padding-right: 1.5rem; font-size: 1.1rem; } -.prompt p { - margin: 20px 0; -} - /*=== New article notification */ #new-article { background: #26303f; diff --git a/p/themes/Dark/dark.rtl.css b/p/themes/Dark/dark.rtl.css index 5dbcb4d83..6c019e3db 100644 --- a/p/themes/Dark/dark.rtl.css +++ b/p/themes/Dark/dark.rtl.css @@ -678,21 +678,6 @@ a.btn { } /*=== Prompt (centered) */ -.prompt { - max-width: 20rem; - margin-right: auto; - margin-left: auto; - padding-right: .5rem; - padding-left: .5rem; - text-align: center; -} - -.prompt form { - margin-top: 2rem; - margin-bottom: 3rem; - text-align: right; -} - .prompt .form-group { margin-bottom: 1rem; } @@ -708,22 +693,12 @@ a.btn { justify-content: space-between; } -.prompt .stick, -.prompt input { - width: 100%; - box-sizing: border-box; -} - .prompt .btn.btn-important { padding-right: 1.5rem; padding-left: 1.5rem; font-size: 1.1rem; } -.prompt p { - margin: 20px 0; -} - /*=== New article notification */ #new-article { background: #26303f; diff --git a/p/themes/Flat/flat.css b/p/themes/Flat/flat.css index c25cc5d32..bb1a621ea 100644 --- a/p/themes/Flat/flat.css +++ b/p/themes/Flat/flat.css @@ -669,21 +669,6 @@ a.btn { } /*=== Prompt (centered) */ -.prompt { - max-width: 20rem; - margin-left: auto; - margin-right: auto; - padding-left: .5rem; - padding-right: .5rem; - text-align: center; -} - -.prompt form { - margin-top: 2rem; - margin-bottom: 3rem; - text-align: left; -} - .prompt .form-group { margin-bottom: 1rem; } @@ -699,22 +684,12 @@ a.btn { justify-content: space-between; } -.prompt .stick, -.prompt input { - width: 100%; - box-sizing: border-box; -} - .prompt .btn.btn-important { padding-left: 1.5rem; padding-right: 1.5rem; font-size: 1.1rem; } -.prompt p { - margin: 20px 0; -} - /*=== New article notification */ #new-article { background: #3498db; diff --git a/p/themes/Flat/flat.rtl.css b/p/themes/Flat/flat.rtl.css index 92799479d..01026968a 100644 --- a/p/themes/Flat/flat.rtl.css +++ b/p/themes/Flat/flat.rtl.css @@ -669,21 +669,6 @@ a.btn { } /*=== Prompt (centered) */ -.prompt { - max-width: 20rem; - margin-right: auto; - margin-left: auto; - padding-right: .5rem; - padding-left: .5rem; - text-align: center; -} - -.prompt form { - margin-top: 2rem; - margin-bottom: 3rem; - text-align: right; -} - .prompt .form-group { margin-bottom: 1rem; } @@ -699,22 +684,12 @@ a.btn { justify-content: space-between; } -.prompt .stick, -.prompt input { - width: 100%; - box-sizing: border-box; -} - .prompt .btn.btn-important { padding-right: 1.5rem; padding-left: 1.5rem; font-size: 1.1rem; } -.prompt p { - margin: 20px 0; -} - /*=== New article notification */ #new-article { background: #3498db; diff --git a/p/themes/Mapco/_layout.scss b/p/themes/Mapco/_layout.scss index a0c901f3f..d0415b0ca 100644 --- a/p/themes/Mapco/_layout.scss +++ b/p/themes/Mapco/_layout.scss @@ -112,35 +112,10 @@ /*=== Prompt (centered) */ main.prompt { - margin: 3rem auto; - padding: 2rem; background: variables.$grey-light; - max-width: 400px; - min-width: 300px; - width: 33%; border-radius: 5px; } -.prompt { - text-align: center; -} - -.prompt label, -.prompt .help { - text-align: left; -} - -.prompt input, -.prompt select, -.prompt .stick { - width: 100%; - box-sizing: border-box; -} - -.prompt p { - margin: 20px 0; -} - /*=== New article notification */ #new-article { background: variables.$main-first; diff --git a/p/themes/Mapco/mapco.css b/p/themes/Mapco/mapco.css index eaeb00ab6..950b7593f 100644 --- a/p/themes/Mapco/mapco.css +++ b/p/themes/Mapco/mapco.css @@ -787,35 +787,10 @@ form th { /*=== Prompt (centered) */ main.prompt { - margin: 3rem auto; - padding: 2rem; background: #eff0f2; - max-width: 400px; - min-width: 300px; - width: 33%; border-radius: 5px; } -.prompt { - text-align: center; -} - -.prompt label, -.prompt .help { - text-align: left; -} - -.prompt input, -.prompt select, -.prompt .stick { - width: 100%; - box-sizing: border-box; -} - -.prompt p { - margin: 20px 0; -} - /*=== New article notification */ #new-article { background: #36c; diff --git a/p/themes/Mapco/mapco.rtl.css b/p/themes/Mapco/mapco.rtl.css index 2f0561e9e..d53234a9b 100644 --- a/p/themes/Mapco/mapco.rtl.css +++ b/p/themes/Mapco/mapco.rtl.css @@ -787,35 +787,10 @@ form th { /*=== Prompt (centered) */ main.prompt { - margin: 3rem auto; - padding: 2rem; background: #eff0f2; - max-width: 400px; - min-width: 300px; - width: 33%; border-radius: 5px; } -.prompt { - text-align: center; -} - -.prompt label, -.prompt .help { - text-align: right; -} - -.prompt input, -.prompt select, -.prompt .stick { - width: 100%; - box-sizing: border-box; -} - -.prompt p { - margin: 20px 0; -} - /*=== New article notification */ #new-article { background: #36c; diff --git a/p/themes/Nord/nord.css b/p/themes/Nord/nord.css index 1d02b618b..ebaf1a2bf 100644 --- a/p/themes/Nord/nord.css +++ b/p/themes/Nord/nord.css @@ -1076,28 +1076,11 @@ input.extend { } /*=== Prompt (centered) */ -.prompt { - text-align: center; -} - -.prompt label { - text-align: left; -} - -.prompt form { - margin: 10px auto 20px auto; - width: 180px; -} - .prompt input { margin: 5px auto; width: 100%; } -.prompt p { - margin: 20px 0; -} - /*=== Navigation menu (for articles) */ /*=== READER VIEW */ /*================*/ diff --git a/p/themes/Nord/nord.rtl.css b/p/themes/Nord/nord.rtl.css index 403e8ea7a..5b4e85dca 100644 --- a/p/themes/Nord/nord.rtl.css +++ b/p/themes/Nord/nord.rtl.css @@ -1076,28 +1076,11 @@ input.extend { } /*=== Prompt (centered) */ -.prompt { - text-align: center; -} - -.prompt label { - text-align: right; -} - -.prompt form { - margin: 10px auto 20px auto; - width: 180px; -} - .prompt input { margin: 5px auto; width: 100%; } -.prompt p { - margin: 20px 0; -} - /*=== Navigation menu (for articles) */ /*=== READER VIEW */ /*================*/ diff --git a/p/themes/Origine-compact/origine-compact.css b/p/themes/Origine-compact/origine-compact.css index 1f1b688ad..c91306ba0 100644 --- a/p/themes/Origine-compact/origine-compact.css +++ b/p/themes/Origine-compact/origine-compact.css @@ -698,21 +698,6 @@ a.btn, } /*=== Prompt (centered) */ -.prompt { - max-width: 20rem; - margin-left: auto; - margin-right: auto; - padding-left: .5rem; - padding-right: .5rem; - text-align: center; -} - -.prompt form { - margin-top: 2rem; - margin-bottom: 3rem; - text-align: left; -} - .prompt .form-group { margin-bottom: 1rem; } @@ -728,22 +713,12 @@ a.btn, justify-content: space-between; } -.prompt .stick, -.prompt input { - width: 100%; - box-sizing: border-box; -} - .prompt .btn.btn-important { padding-left: 1.5rem; padding-right: 1.5rem; font-size: 1.1rem; } -.prompt p { - margin: 20px 0; -} - /*=== New article notification */ #new-article { background: #0084cc; diff --git a/p/themes/Origine-compact/origine-compact.rtl.css b/p/themes/Origine-compact/origine-compact.rtl.css index 624201fd0..ed245a847 100644 --- a/p/themes/Origine-compact/origine-compact.rtl.css +++ b/p/themes/Origine-compact/origine-compact.rtl.css @@ -698,21 +698,6 @@ a.btn, } /*=== Prompt (centered) */ -.prompt { - max-width: 20rem; - margin-right: auto; - margin-left: auto; - padding-right: .5rem; - padding-left: .5rem; - text-align: center; -} - -.prompt form { - margin-top: 2rem; - margin-bottom: 3rem; - text-align: right; -} - .prompt .form-group { margin-bottom: 1rem; } @@ -728,22 +713,12 @@ a.btn, justify-content: space-between; } -.prompt .stick, -.prompt input { - width: 100%; - box-sizing: border-box; -} - .prompt .btn.btn-important { padding-right: 1.5rem; padding-left: 1.5rem; font-size: 1.1rem; } -.prompt p { - margin: 20px 0; -} - /*=== New article notification */ #new-article { background: #0084cc; diff --git a/p/themes/Origine/origine.css b/p/themes/Origine/origine.css index 0ebe00e8f..df99ed694 100644 --- a/p/themes/Origine/origine.css +++ b/p/themes/Origine/origine.css @@ -665,21 +665,6 @@ a.btn { } /*=== Prompt (centered) */ -.prompt { - max-width: 20rem; - margin-left: auto; - margin-right: auto; - padding-left: .5rem; - padding-right: .5rem; - text-align: center; -} - -.prompt form { - margin-top: 2rem; - margin-bottom: 3rem; - text-align: left; -} - .prompt .form-group { margin-bottom: 1rem; } @@ -695,22 +680,12 @@ a.btn { justify-content: space-between; } -.prompt .stick, -.prompt input { - width: 100%; - box-sizing: border-box; -} - .prompt .btn.btn-important { padding-left: 1.5rem; padding-right: 1.5rem; font-size: 1.1rem; } -.prompt p { - margin: 20px 0; -} - /*=== New article notification */ #new-article { background: #0084cc; diff --git a/p/themes/Origine/origine.rtl.css b/p/themes/Origine/origine.rtl.css index 36bcdaaa1..2b30c071c 100644 --- a/p/themes/Origine/origine.rtl.css +++ b/p/themes/Origine/origine.rtl.css @@ -665,21 +665,6 @@ a.btn { } /*=== Prompt (centered) */ -.prompt { - max-width: 20rem; - margin-right: auto; - margin-left: auto; - padding-right: .5rem; - padding-left: .5rem; - text-align: center; -} - -.prompt form { - margin-top: 2rem; - margin-bottom: 3rem; - text-align: right; -} - .prompt .form-group { margin-bottom: 1rem; } @@ -695,22 +680,12 @@ a.btn { justify-content: space-between; } -.prompt .stick, -.prompt input { - width: 100%; - box-sizing: border-box; -} - .prompt .btn.btn-important { padding-right: 1.5rem; padding-left: 1.5rem; font-size: 1.1rem; } -.prompt p { - margin: 20px 0; -} - /*=== New article notification */ #new-article { background: #0084cc; diff --git a/p/themes/Pafat/pafat.css b/p/themes/Pafat/pafat.css index f060924ec..fbbb84242 100644 --- a/p/themes/Pafat/pafat.css +++ b/p/themes/Pafat/pafat.css @@ -664,21 +664,6 @@ a.signin { } /*=== Prompt (centered) */ -.prompt { - max-width: 20rem; - margin-left: auto; - margin-right: auto; - padding-left: .5rem; - padding-right: .5rem; - text-align: center; -} - -.prompt form { - margin-top: 2rem; - margin-bottom: 3rem; - text-align: left; -} - .prompt .form-group { margin-bottom: 1rem; } @@ -694,22 +679,12 @@ a.signin { justify-content: space-between; } -.prompt .stick, -.prompt input { - width: 100%; - box-sizing: border-box; -} - .prompt .btn.btn-important { padding-left: 1.5rem; padding-right: 1.5rem; font-size: 1.1rem; } -.prompt p { - margin: 20px 0; -} - /*=== New article notification */ #new-article { background: #428bca; diff --git a/p/themes/Pafat/pafat.rtl.css b/p/themes/Pafat/pafat.rtl.css index 0ec836a16..22e0cb5f7 100644 --- a/p/themes/Pafat/pafat.rtl.css +++ b/p/themes/Pafat/pafat.rtl.css @@ -664,21 +664,6 @@ a.signin { } /*=== Prompt (centered) */ -.prompt { - max-width: 20rem; - margin-right: auto; - margin-left: auto; - padding-right: .5rem; - padding-left: .5rem; - text-align: center; -} - -.prompt form { - margin-top: 2rem; - margin-bottom: 3rem; - text-align: right; -} - .prompt .form-group { margin-bottom: 1rem; } @@ -694,22 +679,12 @@ a.signin { justify-content: space-between; } -.prompt .stick, -.prompt input { - width: 100%; - box-sizing: border-box; -} - .prompt .btn.btn-important { padding-right: 1.5rem; padding-left: 1.5rem; font-size: 1.1rem; } -.prompt p { - margin: 20px 0; -} - /*=== New article notification */ #new-article { background: #428bca; diff --git a/p/themes/Screwdriver/screwdriver.css b/p/themes/Screwdriver/screwdriver.css index 0edf73c63..541e7f8ac 100644 --- a/p/themes/Screwdriver/screwdriver.css +++ b/p/themes/Screwdriver/screwdriver.css @@ -706,21 +706,9 @@ a.btn { /*=== Prompt (centered) */ .prompt { - max-width: 20rem; - margin-left: auto; - margin-right: auto; - padding-left: .5rem; - padding-right: .5rem; - text-align: center; text-shadow: 0 1px rgba(255,255,255,0.08); } -.prompt form { - margin-top: 2rem; - margin-bottom: 3rem; - text-align: left; -} - .prompt .form-group { margin-bottom: 1rem; } @@ -736,12 +724,6 @@ a.btn { justify-content: space-between; } -.prompt .stick, -.prompt input { - width: 100%; - box-sizing: border-box; -} - .prompt input#username,.prompt input#passwordPlain { background: #fff; border: solid 1px #ccc; @@ -759,10 +741,6 @@ a.btn { font-size: 1.1rem; } -.prompt p { - margin: 20px 0; -} - /*=== New article notification */ #new-article { background: #0084cc; diff --git a/p/themes/Screwdriver/screwdriver.rtl.css b/p/themes/Screwdriver/screwdriver.rtl.css index 69850151b..0452ea902 100644 --- a/p/themes/Screwdriver/screwdriver.rtl.css +++ b/p/themes/Screwdriver/screwdriver.rtl.css @@ -706,21 +706,9 @@ a.btn { /*=== Prompt (centered) */ .prompt { - max-width: 20rem; - margin-right: auto; - margin-left: auto; - padding-right: .5rem; - padding-left: .5rem; - text-align: center; text-shadow: 0 1px rgba(255,255,255,0.08); } -.prompt form { - margin-top: 2rem; - margin-bottom: 3rem; - text-align: right; -} - .prompt .form-group { margin-bottom: 1rem; } @@ -736,12 +724,6 @@ a.btn { justify-content: space-between; } -.prompt .stick, -.prompt input { - width: 100%; - box-sizing: border-box; -} - .prompt input#username,.prompt input#passwordPlain { background: #fff; border: solid 1px #ccc; @@ -759,10 +741,6 @@ a.btn { font-size: 1.1rem; } -.prompt p { - margin: 20px 0; -} - /*=== New article notification */ #new-article { background: #0084cc; diff --git a/p/themes/Swage/swage.css b/p/themes/Swage/swage.css index 01b13596e..e04a4de04 100644 --- a/p/themes/Swage/swage.css +++ b/p/themes/Swage/swage.css @@ -642,26 +642,15 @@ form th { max-width: 550px; } -.prompt { - text-align: center; -} -.prompt label { - text-align: left; -} -.prompt form { - margin: 10px auto 20px auto; - width: 200px; -} .prompt input { margin: 5px auto; width: 100%; } -.prompt p { - margin: 20px 0; -} + #global { height: 100vh; } + #new-article { background: #0062be; font-size: 1em; diff --git a/p/themes/Swage/swage.rtl.css b/p/themes/Swage/swage.rtl.css index 6694da7bb..d87f291e9 100644 --- a/p/themes/Swage/swage.rtl.css +++ b/p/themes/Swage/swage.rtl.css @@ -642,26 +642,15 @@ form th { max-width: 550px; } -.prompt { - text-align: center; -} -.prompt label { - text-align: right; -} -.prompt form { - margin: 10px auto 20px auto; - width: 200px; -} .prompt input { margin: 5px auto; width: 100%; } -.prompt p { - margin: 20px 0; -} + #global { height: 100vh; } + #new-article { background: #0062be; font-size: 1em; diff --git a/p/themes/Swage/swage.scss b/p/themes/Swage/swage.scss index db97c06ed..7e70e96a4 100644 --- a/p/themes/Swage/swage.scss +++ b/p/themes/Swage/swage.scss @@ -814,25 +814,10 @@ form { } .prompt { - text-align: center; - - label { - text-align: left; - } - - form { - margin: 10px auto 20px auto; - width: 200px; - } - input { margin: 5px auto; width: 100%; } - - p { - margin: 20px 0; - } } #global { diff --git a/p/themes/base-theme/template.css b/p/themes/base-theme/template.css index cbf793c7e..0fa59ffb5 100644 --- a/p/themes/base-theme/template.css +++ b/p/themes/base-theme/template.css @@ -276,6 +276,38 @@ td.numeric { display: none !important; } +/* login and register form */ +.prompt { + margin: 3rem auto; + padding: 2rem; + max-width: 400px; + min-width: 300px; + width: 33%; + text-align: center; +} + +.prompt form { + margin-top: 2rem; + margin-bottom: 3rem; + text-align: left; +} + +.prompt label, +.prompt .help { + text-align: left; +} + +.prompt input, +.prompt select, +.prompt .stick { + width: 100%; + box-sizing: border-box; +} + +.prompt p { + margin: 20px 0; +} + /*=== Forms */ .form-group::after { content: ""; diff --git a/p/themes/base-theme/template.rtl.css b/p/themes/base-theme/template.rtl.css index 82261e71f..f28dcfd7b 100644 --- a/p/themes/base-theme/template.rtl.css +++ b/p/themes/base-theme/template.rtl.css @@ -276,6 +276,38 @@ td.numeric { display: none !important; } +/* login and register form */ +.prompt { + margin: 3rem auto; + padding: 2rem; + max-width: 400px; + min-width: 300px; + width: 33%; + text-align: center; +} + +.prompt form { + margin-top: 2rem; + margin-bottom: 3rem; + text-align: right; +} + +.prompt label, +.prompt .help { + text-align: right; +} + +.prompt input, +.prompt select, +.prompt .stick { + width: 100%; + box-sizing: border-box; +} + +.prompt p { + margin: 20px 0; +} + /*=== Forms */ .form-group::after { content: ""; |
