diff --git a/classes/contributor_selector.php b/classes/contributor_selector.php index 1b3d47e..9995d19 100644 --- a/classes/contributor_selector.php +++ b/classes/contributor_selector.php @@ -64,9 +64,9 @@ public function find_users($search) { $countfields = "SELECT COUNT(*)"; $sql = " FROM {user} u - WHERE ${searchsql}"; + WHERE $searchsql"; - $order = " ORDER BY ${sortsql}"; + $order = " ORDER BY $sortsql"; if (!$this->is_validating()) { $foundcount = $DB->count_records_sql($countfields.$sql, array_merge($searchparams)); diff --git a/classes/maintainer_selector.php b/classes/maintainer_selector.php index 33aaa0b..1ceed33 100644 --- a/classes/maintainer_selector.php +++ b/classes/maintainer_selector.php @@ -67,9 +67,9 @@ public function find_users($search) { $countfields = "SELECT COUNT(*)"; $sql = " FROM {user} u - WHERE u.id ${permsql} AND ${searchsql}"; + WHERE u.id $permsql AND $searchsql"; - $order = " ORDER BY ${sortsql}"; + $order = " ORDER BY $sortsql"; if (!$this->is_validating()) { $foundcount = $DB->count_records_sql($countfields.$sql, array_merge($permparams, $searchparams)); diff --git a/classes/stats_manager.php b/classes/stats_manager.php index aacadcd..a67ff02 100644 --- a/classes/stats_manager.php +++ b/classes/stats_manager.php @@ -125,9 +125,9 @@ public function write_buffer() { $sql = "SELECT id, branch, lang, component, numofstrings FROM {amos_stats} - WHERE branch ${sqlbranches} - AND lang ${sqllangs} - AND component ${sqlcomponents}"; + WHERE branch $sqlbranches + AND lang $sqllangs + AND component $sqlcomponents"; $current = []; $rs = $DB->get_recordset_sql($sql, array_merge($parambranches, $paramlangs, $paramcomponents)); @@ -324,7 +324,7 @@ public function get_language_pack_ratio_stats(?int $vercode = null): array { $sql = "SELECT lang, SUM(numofstrings) AS totalnumofstrings FROM {amos_stats} - WHERE component ${standardsql} + WHERE component $standardsql AND branch = :vercode GROUP BY lang ORDER BY totalnumofstrings DESC, MAX(timemodified), lang"; diff --git a/renderer.php b/renderer.php index 4002ee1..8abcd4d 100644 --- a/renderer.php +++ b/renderer.php @@ -282,7 +282,7 @@ protected function collapsible_stage_tool($title, $content, $helpicon = '', $exp } $attr['aria-controls'] = html_writer::random_id('collapse_'); - $attr['data-toggle'] = 'collapse'; + $attr['data-bs-toggle'] = 'collapse'; $attr['data-target'] = '#'.$attr['aria-controls']; $output = html_writer::start_div('stagetool '.$extraclasses); diff --git a/styles.css b/styles.css index 3a0210a..f053230 100644 --- a/styles.css +++ b/styles.css @@ -1 +1,28 @@ -#page-local-amos-view #amosfilter label+.form-text{margin-top:0;margin-bottom:.25rem}#page-local-amos-view #amosfilter #amosfilter_fcmp,#page-local-amos-view #amosfilter #amosfilter_flng{resize:vertical}#page-local-amos-view #amosfilter #amosfilter_fcmp input[type=checkbox]:checked+label{font-weight:bold}#page-local-amos-view #amosfilter[data-level-showadvanced="0"] [data-level=advanced]:not([data-level-forceshow]){display:none}#page-local-amos-view #amostranslator{opacity:1;transition:opacity .2s}#page-local-amos-view #amostranslator.loading{opacity:0}#page-local-amos-view #amostranslator .amostranslatoritem .amosinfo .icon{margin-right:0}#page-local-amos-view #amostranslator .amostranslatoritem .amosinfo{margin-bottom:.25rem}#page-local-amos-view #amostranslator .amostranslatoritem .amosoriginal,#page-local-amos-view #amostranslator .amostranslatoritem .amostranslation{flex:1 1 auto;min-height:3rem}#page-local-amos-view #amostranslator .amostranslatoritem .amosoriginal,#page-local-amos-view #amostranslator .amostranslatoritem .amostranslation,#page-local-amos-view #amostranslator .amostranslatoritem .amostranslationedit textarea{border:1px solid #ccc;border-radius:4px}#page-local-amos-view #amostranslator .amostranslatoritem .amosoriginal,#page-local-amos-view #amostranslator .amostranslatoritem .amostranslationview{padding:10px;white-space:pre-wrap;word-wrap:break-word}#page-local-amos-view #amostranslator .amostranslatoritem .amostranslationedit{padding:4px}#page-local-amos-view #amostranslator .amostranslatoritem .amostranslationedit textarea{padding:5px}#page-local-amos-view #amostranslator .amostranslatoritem .amostranslationview{cursor:text}#page-local-amos-view #amostranslator .amostranslatoritem .amostranslationview,#page-local-amos-view #amostranslator .amostranslatoritem .amostranslationedit,#page-local-amos-view #amostranslator .amostranslatoritem .amostranslationedit textarea{height:100%;width:100%}#page-local-amos-view #amostranslator .amostranslatoritem.translatable .amostranslation{background-color:#d4edda}#page-local-amos-view #amostranslator .amostranslatoritem.translatable.missing .amostranslation{background-color:#f8d7da}#page-local-amos-view #amostranslator .amostranslatoritem.translatable.outdated .amostranslation{background-color:#fff3cd}#page-local-amos-view #amostranslator .amostranslatoritem.translatable.staged .amostranslation{background-color:#d1ecf1 !important}#page-local-amos-view #amostranslator .amostranslatoritem.translatable.outdated .amostranslation{background-color:#fff3cd}#page-local-amos-view #amostranslator .amostranslatoritem.nontranslatable .amostranslation{background-color:#f7f7f7;font-style:italic;color:#545454}#page-local-amos-view #amostranslator .amostranslatoritem[data-mode=view] .amostranslationedit{display:none !important}#page-local-amos-view #amostranslator .amostranslatoritem[data-mode=edit] .amostranslationview{display:none !important}#page-local-amos-view #amostranslator .amospaginator .paginatoritem.current{font-weight:bold;background-color:#eee}.path-local-amos #amosstagewrapper .stagetool{margin-bottom:10px}.path-local-amos #amosstagewrapper .stagetool.simple{margin-bottom:20px}.path-local-amos #amosstagewrapper .stagetool .stagetool-title{font-size:larger;background:url([[pix:core|t/expanded]]) no-repeat scroll 0 center;padding-left:20px;cursor:pointer;color:#007bff;text-decoration:none}.path-local-amos #amosstagewrapper .stagetool .stagetool-title:hover{color:#0056b3;text-decoration:underline}.path-local-amos #amosstagewrapper .stagetool .collapsed .stagetool-title{background-image:url([[pix:core|t/collapsed]])}.path-local-amos #amosstagewrapper .stagetool .stagetool-content{padding-left:1.3rem}.path-local-amos #amosstagewrapper .stagetool.commit label.checkbox{margin-bottom:5px}.path-local-amos #amosstagewrapper .stagetool.commit label.checkbox input[type=checkbox]{margin-top:4px;margin-right:0}.path-local-amos #amosstagewrapper .stagetool.stageactions .btn{margin:2px}.path-local-amos #amosstagewrapper #amosstagestrings{margin-top:2rem}.path-local-amos #amosstagewrapper #amosstagestrings .amosoriginal,.path-local-amos #amosstagewrapper #amosstagestrings .amostranslation{flex:1 1 auto;min-height:3rem;border:1px solid #ccc;border-radius:4px;padding:10px;white-space:pre-wrap;word-wrap:break-word}.path-local-amos #amosstagewrapper #amosstagestrings .amosstageitem.uncommittable .amostranslation{background-color:#f7f7f7}.path-local-amos #amosstagewrapper #amosstagestrings .amosstageitem.committable .amostranslation{background-color:#d4edda}.path-local-amos #amosstagewrapper #amosstagestrings .amosstageitem.committable.nodiff .amostranslation{background-color:#fff}.path-local-amos #amosstagewrapper #amosstagestrings .amosstageitem.diff[data-diffmode=chunks] .amostranslation .translation-new,.path-local-amos #amosstagewrapper #amosstagestrings .amosstageitem.diff[data-diffmode=chunks] .amostranslation .translation-current{display:none}.path-local-amos #amosstagewrapper #amosstagestrings .amosstageitem.diff[data-diffmode=blocks] .amostranslation .translation-diff{display:none}.path-local-amos #amosstagewrapper #amosstagestrings .amosstageitem.diff[data-diffmode=chunks] .amostranslation del,.path-local-amos #amosstagewrapper #amosstagestrings .amosstageitem.diff[data-diffmode=blocks] .amostranslation .translation-current{color:#6b6b6b;text-decoration:line-through double}.path-local-amos #amosstagewrapper #amosstagestrings .amosstageitem.diff[data-diffmode=chunks] .amostranslation ins,.path-local-amos #amosstagewrapper #amosstagestrings .amosstageitem.diff[data-diffmode=blocks] .amostranslation .translation-new{color:green;font-weight:bold;text-decoration:underline dotted}.path-local-amos #amosstagewrapper #amosstagestrings .amosstageitem:not([class~=diff]) [data-action=toggle-diffmode]{display:none}#page-local-amos-credits .maintainers .maintainer{max-width:200px}#page-local-amos-index h2{text-align:left}#page-local-amos-index .amostools{text-align:center;margin-bottom:30px}#page-local-amos-index .amostools .amostool{margin:5px;display:inline-block;background-image:url([[pix:core|t/edit]]);background-repeat:no-repeat;background-position:center 15px;background-size:24px 24px;padding-top:50px}#page-local-amos-index .amostools .amostool-translator{background-image:url([[pix:core|t/editstring]])}#page-local-amos-index .amostools .amostool-stage{background-image:url([[pix:core|i/scheduled]])}#page-local-amos-index .amostools .amostool-stashes{background-image:url([[pix:core|i/repository]])}#page-local-amos-index .amostools .amostool-contributions{background-image:url([[pix:core|i/export]])}#page-local-amos-index .amostools .amostool-log{background-image:url([[pix:core|i/groups]])}#page-local-amos-index .amostools .amostool-credits{background-image:url([[pix:core|i/badge]])}#page-local-amos-contrib .comment-area{max-width:100%}#page-local-amos-contrib .commentswrapper{width:100%;border:none}#page-local-amos-contrib .commentswrapper .comment-ctrl .comment-list li{color:inherit !important;background-color:inherit !important}#page-local-amos-contrib .commentswrapper .amos-comment{font-size:1rem}#page-local-amos-contrib .commentswrapper .amos-comment .comment-comment{border:1px solid #dfdfdf;border-radius:0 0 10px 10px;padding:1em}#page-local-amos-contrib .commentswrapper .amos-comment .comment-comment ul li,#page-local-amos-contrib .commentswrapper .amos-comment .comment-comment li{list-style-type:disc;padding:0}#page-local-amos-contrib .commentswrapper .amos-comment .comment-comment ol li{list-style-type:decimal;padding:0}#page-local-amos-contrib .commentswrapper .amos-comment .comment-comment .comment-delete{right:6px;top:3px}#page-local-amos-contrib .commentswrapper .amos-comment .comment-header{padding:5px;border-top:1px solid #dfdfdf;border-left:1px solid #dfdfdf;border-right:1px solid #dfdfdf;border-radius:10px 10px 0 0;background-color:#fbfbfb;display:block}#page-local-amos-contrib .commentswrapper .amos-comment .comment-userpicture,#page-local-amos-contrib .commentswrapper .amos-comment .comment-userfullname,#page-local-amos-contrib .commentswrapper .amos-comment .comment-time{display:inline-block;margin-right:1em}#page-local-amos-contrib .commentswrapper .amos-comment .comment-time{font-size:.875rem}#page-local-amos-contrib .commentswrapper .amos-comment.highlighted .comment-comment{background-color:#fbfbfb}#page-local-amos-view #region-main{overflow-x:auto}#page-local-amos-view h2{text-align:center}.path-local-amos .logrecord{border:1px solid #ddd;padding:.5em}.path-local-amos .contributionlist{margin:1em auto}.path-local-amos .contributionlist .userpicture{margin-right:5px;vertical-align:middle}.path-local-amos .contributionlist .status0 .id,.path-local-amos .contributionlist .status0 .status,.path-local-amos .contributionwrapper .details .status0 td{background-color:#d2ebff}.path-local-amos .contributionlist .status10 .id,.path-local-amos .contributionlist .status10 .status,.path-local-amos .contributionwrapper .details .status10 td,.path-local-amos .contribactions .singlebutton.review input[type=submit]{background-color:#f3f2aa}.path-local-amos .contributionlist .status20 .id,.path-local-amos .contributionlist .status20 .status,.path-local-amos .contributionwrapper .details .status20 td,.path-local-amos .contribactions .singlebutton.reject input[type=submit]{background-color:#ffd3d9}.path-local-amos .contributionlist .status30 .id,.path-local-amos .contributionlist .status30 .status,.path-local-amos .contributionwrapper .details .status30 td,.path-local-amos .contribactions .singlebutton.accept input[type=submit]{background-color:#e7f1c3}.path-local-amos .contributionwrapper .source{padding-left:60px;position:relative}.path-local-amos .contributionwrapper .source{margin-left:auto;margin-right:auto}.path-local-amos .contributionwrapper .details{max-width:100%;min-width:300px;margin-top:1em;margin-left:auto;margin-right:auto}.path-local-amos .contributionwrapper .source h3,.path-local-amos .contributionwrapper .source div{margin:0px 0px .3em}.path-local-amos .contributionwrapper .source .timecreated{font-style:italic}.path-local-amos .contributionwrapper .source .userpicture{position:absolute;top:10px;left:10px}.path-local-amos .contributionwrapper .details .userpicture{margin-right:5px;vertical-align:middle}.path-local-amos .contribactions{text-align:center;margin-bottom:1em}.path-local-amos .contribactions .singlebutton,.path-local-amos .contribactions .singlebutton form,.path-local-amos .contribactions .singlebutton form div{display:inline}.path-local-amos .contribactions .singlebutton{margin:0px 2px}.path-local-amos .commentswrapper{width:440px;margin-left:auto;margin-right:auto;padding:10px;border:1px solid #eee;background-color:#fff}.path-local-amos .commentswrapper .comment-link{margin-bottom:5px}.path-local-amos .commentswrapper .comment-area{margin:0px auto} \ No newline at end of file +#page-local-amos-view #amosfilter label+.form-text{margin-top:0;margin-bottom:.25rem}#page-local-amos-view #amosfilter #amosfilter_fcmp,#page-local-amos-view #amosfilter #amosfilter_flng{resize:vertical}#page-local-amos-view #amosfilter #amosfilter_fcmp input[type=checkbox]:checked+label{font-weight:bold}#page-local-amos-view #amosfilter[data-level-showadvanced="0"] [data-level=advanced]:not([data-level-forceshow]){display:none}#page-local-amos-view #amostranslator{opacity:1;transition:opacity .2s}#page-local-amos-view #amostranslator.loading{opacity:0}#page-local-amos-view #amostranslator .amostranslatoritem .amosinfo .icon{margin-right:0}#page-local-amos-view #amostranslator .amostranslatoritem .amosinfo{margin-bottom:.25rem}#page-local-amos-view #amostranslator .amostranslatoritem .amosoriginal,#page-local-amos-view #amostranslator .amostranslatoritem .amostranslation{flex:1 1 auto;min-height:3rem}#page-local-amos-view #amostranslator .amostranslatoritem .amosoriginal,#page-local-amos-view #amostranslator .amostranslatoritem .amostranslation,#page-local-amos-view #amostranslator .amostranslatoritem .amostranslationedit textarea{border:1px solid #ccc;border-radius:4px}#page-local-amos-view #amostranslator .amostranslatoritem .amosoriginal,#page-local-amos-view #amostranslator .amostranslatoritem .amostranslationview{padding:10px;white-space:pre-wrap;word-wrap:break-word}#page-local-amos-view #amostranslator .amostranslatoritem .amostranslationedit{padding:4px}#page-local-amos-view #amostranslator .amostranslatoritem .amostranslationedit textarea{padding:5px}#page-local-amos-view #amostranslator .amostranslatoritem .amostranslationview{cursor:text}#page-local-amos-view #amostranslator .amostranslatoritem .amostranslationview,#page-local-amos-view #amostranslator .amostranslatoritem .amostranslationedit,#page-local-amos-view #amostranslator .amostranslatoritem .amostranslationedit textarea{height:100%;width:100%}#page-local-amos-view #amostranslator .amostranslatoritem.translatable .amostranslation{background-color:#d4edda}#page-local-amos-view #amostranslator .amostranslatoritem.translatable.missing .amostranslation{background-color:#f8d7da}#page-local-amos-view #amostranslator .amostranslatoritem.translatable.outdated .amostranslation{background-color:#fff3cd}#page-local-amos-view #amostranslator .amostranslatoritem.translatable.staged .amostranslation{background-color:#d1ecf1 !important}#page-local-amos-view #amostranslator .amostranslatoritem.translatable.outdated .amostranslation{background-color:#fff3cd}#page-local-amos-view #amostranslator .amostranslatoritem.nontranslatable .amostranslation{background-color:#f7f7f7;font-style:italic;color:#545454}#page-local-amos-view #amostranslator .amostranslatoritem[data-mode=view] .amostranslationedit{display:none !important}#page-local-amos-view #amostranslator .amostranslatoritem[data-mode=edit] .amostranslationview{display:none !important}#page-local-amos-view #amostranslator .amospaginator .paginatoritem.current{font-weight:bold;background-color:#eee}.path-local-amos #amosstagewrapper .stagetool{margin-bottom:10px}.path-local-amos #amosstagewrapper .stagetool.simple{margin-bottom:20px}.path-local-amos #amosstagewrapper .stagetool .stagetool-title{font-size:larger;background:url([[pix:core|t/expanded]]) no-repeat scroll 0 center;padding-left:20px;cursor:pointer;color:#007bff;text-decoration:none}.path-local-amos #amosstagewrapper .stagetool .stagetool-title:hover{color:#0056b3;text-decoration:underline}.path-local-amos #amosstagewrapper .stagetool .collapsed .stagetool-title{background-image:url([[pix:core|t/collapsed]])}.path-local-amos #amosstagewrapper .stagetool .stagetool-content{padding-left:1.3rem}.path-local-amos #amosstagewrapper .stagetool.commit label.checkbox{margin-bottom:5px}.path-local-amos #amosstagewrapper .stagetool.commit label.checkbox input[type=checkbox]{margin-top:4px;margin-right:0}.path-local-amos #amosstagewrapper .stagetool.stageactions .btn{margin:2px}.path-local-amos #amosstagewrapper #amosstagestrings{margin-top:2rem}.path-local-amos #amosstagewrapper #amosstagestrings .amosoriginal,.path-local-amos #amosstagewrapper #amosstagestrings .amostranslation{flex:1 1 auto;min-height:3rem;border:1px solid #ccc;border-radius:4px;padding:10px;white-space:pre-wrap;word-wrap:break-word}.path-local-amos #amosstagewrapper #amosstagestrings .amosstageitem.uncommittable .amostranslation{background-color:#f7f7f7}.path-local-amos #amosstagewrapper #amosstagestrings .amosstageitem.committable .amostranslation{background-color:#d4edda}.path-local-amos #amosstagewrapper #amosstagestrings .amosstageitem.committable.nodiff .amostranslation{background-color:#fff}.path-local-amos #amosstagewrapper #amosstagestrings .amosstageitem.diff[data-diffmode=chunks] .amostranslation .translation-new,.path-local-amos #amosstagewrapper #amosstagestrings .amosstageitem.diff[data-diffmode=chunks] .amostranslation .translation-current{display:none}.path-local-amos #amosstagewrapper #amosstagestrings .amosstageitem.diff[data-diffmode=blocks] .amostranslation .translation-diff{display:none}.path-local-amos #amosstagewrapper #amosstagestrings .amosstageitem.diff[data-diffmode=chunks] .amostranslation del,.path-local-amos #amosstagewrapper #amosstagestrings .amosstageitem.diff[data-diffmode=blocks] .amostranslation .translation-current{color:#6b6b6b;text-decoration:line-through double}.path-local-amos #amosstagewrapper #amosstagestrings .amosstageitem.diff[data-diffmode=chunks] .amostranslation ins,.path-local-amos #amosstagewrapper #amosstagestrings .amosstageitem.diff[data-diffmode=blocks] .amostranslation .translation-new{color:green;font-weight:bold;text-decoration:underline dotted}.path-local-amos #amosstagewrapper #amosstagestrings .amosstageitem:not([class~=diff]) [data-action=toggle-diffmode]{display:none}#page-local-amos-credits .maintainers .maintainer{max-width:200px}#page-local-amos-index h2{text-align:left}#page-local-amos-index .amostools{text-align:center;margin-bottom:30px}#page-local-amos-index .amostools .amostool{margin:5px;display:inline-block;background-image:url([[pix:core|t/edit]]);background-repeat:no-repeat;background-position:center 15px;background-size:24px 24px;padding-top:50px}#page-local-amos-index .amostools .amostool-translator{background-image:url([[pix:core|t/editstring]])}#page-local-amos-index .amostools .amostool-stage{background-image:url([[pix:core|i/scheduled]])}#page-local-amos-index .amostools .amostool-stashes{background-image:url([[pix:core|i/repository]])}#page-local-amos-index .amostools .amostool-contributions{background-image:url([[pix:core|i/export]])}#page-local-amos-index .amostools .amostool-log{background-image:url([[pix:core|i/groups]])}#page-local-amos-index .amostools .amostool-credits{background-image:url([[pix:core|i/badge]])}#page-local-amos-contrib .comment-area{max-width:100%}#page-local-amos-contrib .commentswrapper{width:100%;border:none}#page-local-amos-contrib .commentswrapper .comment-ctrl .comment-list li{color:inherit !important;background-color:inherit !important}#page-local-amos-contrib .commentswrapper .amos-comment{font-size:1rem}#page-local-amos-contrib .commentswrapper .amos-comment .comment-comment{border:1px solid #dfdfdf;border-radius:0 0 10px 10px;padding:1em}#page-local-amos-contrib .commentswrapper .amos-comment .comment-comment ul li,#page-local-amos-contrib .commentswrapper .amos-comment .comment-comment li{list-style-type:disc;padding:0}#page-local-amos-contrib .commentswrapper .amos-comment .comment-comment ol li{list-style-type:decimal;padding:0}#page-local-amos-contrib .commentswrapper .amos-comment .comment-comment .comment-delete{right:6px;top:3px}#page-local-amos-contrib .commentswrapper .amos-comment .comment-header{padding:5px;border-top:1px solid #dfdfdf;border-left:1px solid #dfdfdf;border-right:1px solid #dfdfdf;border-radius:10px 10px 0 0;background-color:#fbfbfb;display:block}#page-local-amos-contrib .commentswrapper .amos-comment .comment-userpicture,#page-local-amos-contrib .commentswrapper .amos-comment .comment-userfullname,#page-local-amos-contrib .commentswrapper .amos-comment .comment-time{display:inline-block;margin-right:1em}#page-local-amos-contrib .commentswrapper .amos-comment .comment-time{font-size:.875rem}#page-local-amos-contrib .commentswrapper .amos-comment.highlighted .comment-comment{background-color:#fbfbfb}#page-local-amos-view #region-main{overflow-x:auto}#page-local-amos-view h2{text-align:center}.path-local-amos .logrecord{border:1px solid #ddd;padding:.5em}.path-local-amos .contributionlist{margin:1em auto}.path-local-amos .contributionlist .userpicture{margin-right:5px;vertical-align:middle}.path-local-amos .contributionlist .status0 .id,.path-local-amos .contributionlist .status0 .status,.path-local-amos .contributionwrapper .details .status0 td{background-color:#d2ebff}.path-local-amos .contributionlist .status10 .id,.path-local-amos .contributionlist .status10 .status,.path-local-amos .contributionwrapper .details .status10 td,.path-local-amos .contribactions .singlebutton.review input[type=submit]{background-color:#f3f2aa}.path-local-amos .contributionlist .status20 .id,.path-local-amos .contributionlist .status20 .status,.path-local-amos .contributionwrapper .details .status20 td,.path-local-amos .contribactions .singlebutton.reject input[type=submit]{background-color:#ffd3d9}.path-local-amos .contributionlist .status30 .id,.path-local-amos .contributionlist .status30 .status,.path-local-amos .contributionwrapper .details .status30 td,.path-local-amos .contribactions .singlebutton.accept input[type=submit]{background-color:#e7f1c3}.path-local-amos .contributionwrapper .source{padding-left:60px;position:relative}.path-local-amos .contributionwrapper .source{margin-left:auto;margin-right:auto}.path-local-amos .contributionwrapper .details{max-width:100%;min-width:300px;margin-top:1em;margin-left:auto;margin-right:auto}.path-local-amos .contributionwrapper .source h3,.path-local-amos .contributionwrapper .source div{margin:0px 0px .3em}.path-local-amos .contributionwrapper .source .timecreated{font-style:italic}.path-local-amos .contributionwrapper .source .userpicture{position:absolute;top:10px;left:10px}.path-local-amos .contributionwrapper .details .userpicture{margin-right:5px;vertical-align:middle}.path-local-amos .contribactions{text-align:center;margin-bottom:1em}.path-local-amos .contribactions .singlebutton,.path-local-amos .contribactions .singlebutton form,.path-local-amos .contribactions .singlebutton form div{display:inline}.path-local-amos .contribactions .singlebutton{margin:0px 2px}.path-local-amos .commentswrapper{width:440px;margin-left:auto;margin-right:auto;padding:10px;border:1px solid #eee;background-color:#fff}.path-local-amos .commentswrapper .comment-link{margin-bottom:5px}.path-local-amos .commentswrapper .comment-area{margin:0px auto} +#page-local-amos-view { + .badge-light { + color: #1d2125; + background-color: #f8f9fa; + } + .form-text { + display: block; + } + .btn-group-toggle>.btn input[type="radio"] { + position: absolute; + clip: rect(0, 0, 0, 0); + pointer-events: none; + } + .btn-light { + color: #1d2125; + background-color: #f8f9fa; + border-color: #f8f9fa; + } + + .btn-light:not(:disabled):not(.disabled):active, + .btn-light:not(:disabled):not(.disabled).active, + .show>.btn-light.dropdown-toggle { + color: #1d2125; + background-color: #dae0e5; + border-color: #d3d9df; + } +} \ No newline at end of file