diff options
| author | Geo Xalkis <gx23100@gmail.com> | 2023-05-02 01:02:48 +0300 |
|---|---|---|
| committer | Geo Xalkis <gx23100@gmail.com> | 2023-05-02 01:02:48 +0300 |
| commit | 931a93cd7bae092e2752064568cebe407d2bf46e (patch) | |
| tree | aa25822cc3f9a66f27e6462c7cc7c78d9cdd87fd /public/assets/css | |
| parent | 2b4ed611e7e001ad8ea93ef3e8cdce35bc56dc07 (diff) | |
| download | gyraf1gov-931a93cd7bae092e2752064568cebe407d2bf46e.tar.gz gyraf1gov-931a93cd7bae092e2752064568cebe407d2bf46e.tar.bz2 gyraf1gov-931a93cd7bae092e2752064568cebe407d2bf46e.zip | |
(almost) final structrure of forms
Diffstat (limited to 'public/assets/css')
| -rw-r--r-- | public/assets/css/overides.css | 99 |
1 files changed, 52 insertions, 47 deletions
diff --git a/public/assets/css/overides.css b/public/assets/css/overides.css index 6e577fc..3fd143f 100644 --- a/public/assets/css/overides.css +++ b/public/assets/css/overides.css @@ -2,7 +2,7 @@ --bs-heading-color: #679; } -html, body { font-family: "Roboto Slab", serif; font-weight: 400; } +html, body, select, select option, .select2-selection__choice { font-family: "Roboto Slab", serif; font-weight: 400; } .h1, .h2, .h3, .h4, .h5, .h6, h1, h2, h3, h4, h5, h6 { font-weight: 400; }; @@ -12,13 +12,8 @@ html, body { font-family: "Roboto Slab", serif; font-weight: 400; } .form-control, .form-select { border: 1px solid #7777; font-size: .857em; } .form-label { font-size: .72em; color: var(--bs-heading-color); } -.footer__listLink { - color: #bbb; -} -.footer__listLink:hover { - color: #eee; -} - +.footer__listLink { color: #bbb; } +.footer__listLink:hover { color: #eee; } .footer__title { color: #bbb7; } /* .user .dropdown button { min-width: 256px; } */ @@ -69,11 +64,6 @@ ul.select2-results__options li { font-size: 14px; padding: 4px 8px; } .admin-container .form-control { border-radius: 4px; } -.admin-container select[data-chosen='one'] { - font-weight: 700; - color: #0d6efd; - border: 1px solid #0d6efd; -} /* hack select2 caret styling * (like bootstrap5 select caret) @@ -87,53 +77,68 @@ ul.select2-results__options li { font-size: 14px; padding: 4px 8px; } height: 16 !important; width: 12px !important; margin: auto !important; - top: 9px !important; + top: 12px !important; left: auto !important; height: 14px; } .select2-container--default .select2-selection--single .select2-selection__arrow { width: 24px; } -.select2-container--default .select2-selection--single { height: 31px; } +.select2-container--default .select2-selection--single { height: 37px; } /* ------------------------------------------------------------------------- end */ -.admin-container .edit-post textarea[name=body] { - height: calc(100vh - 420px); /* almost all avialable height */ -} +/* + .admin-container .edit-post textarea[name=intro] { height: 94px ;} -.admin-container .edit-page textarea[name=body] { - height: calc(100vh - 380px); /* almost all avialable height */ -} -.admin-container .edit-post textarea[name=intro] { height: 94px ;} /* almost 3 (half-)lines */ + .admin-container .post-media button.over-bar { margin: -26px 0 0 0; float: right; } + .admin-container .post-media ul { + border: 1px solid #ccc; + border-radius: 4px; + padding: 6px; + } -.admin-container .edit-post textarea[name=body] { - height: calc(100vh - 420px); /* almost all avialable height */ -} + .admin-container .post-media ul li { + border-bottom: 1px solid #ddd; + list-style-type: none; + padding: 3px 6px; -.admin-container .post-media button.over-bar { margin: -26px 0 0 0; float: right; } -.admin-container .post-media ul { - border: 1px solid #ccc; - border-radius: 4px; - padding: 6px; -} + display: flex; + justify-content: space-between; + align-items: center; + } + .admin-container .post-media ul li:last-child { border-bottom: none ;} + .admin-container .post-media ul li:hover { background: #eee; } + + .admin-container .post-media li .btn-xs { font-size: 14px; width: 24px; height: 24px; padding:0; } + + .classroom .edit-post textarea[name=body], + .classroom .edit-page textarea[name=body] { + min-height:320px; + font-family: Consolas, 'Ubuntu Mono','Courier New', Courier, monospace; + color: #333; + } + +*/ -.admin-container .post-media ul li { - border-bottom: 1px solid #ddd; - list-style-type: none; - padding: 3px 6px; - display: flex; - justify-content: space-between; - align-items: center; +/** select2|multiple overides + * --- -- -- - - - + */ +input.select2-search__field { font-size: 15px; } +ul.select2-selection__rendered { margin-bottom: 0; } /* select2: ul */ +.select2-container--default .select2-selection--multiple .select2-selection__choice { padding: 2px; } /* select2: li */ +.select2-container--default .select2-selection--multiple .select2-selection__choice__remove { /* select2: button */ + border-right: none; + padding: 1px 4px; } -.admin-container .post-media ul li:last-child { border-bottom: none ;} -.admin-container .post-media ul li:hover { background: #eee; } +.select2-container--default .select2-selection--multiple { font-size: 15px; } + + + -.admin-container .post-media li .btn-xs { font-size: 14px; width: 24px; height: 24px; padding:0; } +/* select2.min.css | https://cdn.jsdelivr.net/npm/select2@4.1.0-rc.0/dist/css/select2.min.css */ -.classroom .edit-post textarea[name=body], -.classroom .edit-page textarea[name=body] { - min-height:320px; - font-family: Consolas, 'Ubuntu Mono','Courier New', Courier, monospace; - color: #333; - }
\ No newline at end of file +.select2-container--default .select2-selection--single .select2-selection__clear { margin-right: 32px; } + +.select2-container .select2-selection--single .select2-selection__rendered { font-size: 15px; padding: 2px 20px 2px 8px; } +
\ No newline at end of file |
