From 8cf40931648274466846523d3f3c76843f704acc Mon Sep 17 00:00:00 2001 From: stge9dementia Date: Wed, 30 Nov 2022 23:15:39 -0300 Subject: [PATCH] Final commit until delivery --- metadata.json | 2 +- qa-styles.css | 57 ++++++++++++++++++++++++++++++++++++--------------- qa-theme.php | 4 +--- 3 files changed, 43 insertions(+), 20 deletions(-) diff --git a/metadata.json b/metadata.json index 7218f09..9c810cc 100755 --- a/metadata.json +++ b/metadata.json @@ -1,5 +1,5 @@ { - "name": "R.O", + "name": "respostas_ocultas", "description": "Tema RTL não responsivo moderno para o Respostas Ocultas.", "version": "1.0", "date": "2022-11-25", diff --git a/qa-styles.css b/qa-styles.css index 5d95d6f..d3bfe2d 100755 --- a/qa-styles.css +++ b/qa-styles.css @@ -124,7 +124,7 @@ form, fieldset { } input[type="text"].qa-search-field { - padding: 7px 7px; + padding: 7.5px 7px; background-color: #32353C; border-color: #32353C; color: #ccc; @@ -144,8 +144,6 @@ input[type="text"], input[type="password"], textarea, select { } input[type="text"]:focus, input[type="password"]:focus, textarea:focus { - box-shadow: 0 1px 3px #aaa; - border: 1px solid #7c7c7c; transition: all .2s; background: #32353C; color: #ccc; @@ -294,7 +292,6 @@ p { margin: 0; float: right; height: 30px; - width: 100%; padding: 20px 0px; position: relative; color: #fff; @@ -382,9 +379,9 @@ input[type="submit"].qa-search-button { border: 1px solid #32353C; display: inline-block; position: relative; - top: 5.0rem; + top: 4.999rem; z-index: 1; - left: 13rem; + left: 12rem; } @@ -417,11 +414,17 @@ input[type="submit"].qa-search-button:hover { margin-right: 0.5rem; position: relative; color: #fff !important; - border-right: 2px solid #ccc; + border-right: 2px solid #333; padding-right: 5px; z-index: 1; } +.qa-theme-respostas-ocultas .qa-logo img { + position: relative; + top: -0.5rem; +} + + .qa-logged-in-pad:before { font-family: "Font Awesome 6 Free"; font-weight: 900; @@ -684,6 +687,7 @@ input[type="submit"].qa-search-button:hover { overflow: hidden; z-index: -1; font-family: 'Ubuntu', sans-serif; + border: 1px solid transparent; } @@ -699,11 +703,16 @@ input[type="submit"].qa-search-button:hover { } -.qa-nav-main-link:hover, .qa-nav-main-selected { +.qa-nav-main-link:hover { text-decoration: none; - color: #ccc !important; + color: #fff !important; -moz-transition: all ease-in-out 0.1s; overflow: hidden; + border-bottom: 1px solid #09f; +} + +.qa-nav-main-selected { + border-bottom: 1px solid #09f; } .qa-nav-main-questions .qa-nav-main-link:before { @@ -760,6 +769,11 @@ input[type="submit"].qa-search-button:hover { content: "\f1e2"; } +.qa-nav-main-página-links .qa-logo img { + position: relative; + top: -1.3rem; +} + .qa-nav-main-página-links .qa-nav-main-link:before { font-family: "Font Awesome 6 Free"; font-weight: 900; @@ -781,6 +795,8 @@ input[type="submit"].qa-search-button:hover { background-color: #181A21; clear: both; border: 1px solid #262626; + overflow: hidden; + z-index: 0; } /* IE6 since z-order goes wrong */ @@ -1158,7 +1174,6 @@ input[type="submit"].qa-search-button:hover { .qa-view-count-pad { font-size: 11px; } - .qa-template-updates .qa-logo-link{ font-size: 38px; width: 250px; @@ -1174,8 +1189,8 @@ input[type="submit"].qa-search-button:hover { } .qa-template-custom .qa-logo img { - position: relaitve; - top: -2.8rem; + position: relative; + top: -2.5rem; } .qa-template-admin .qa-logo-link { @@ -1552,7 +1567,15 @@ input[type="submit"].qa-search-button:hover { } .qa-nav-cat-list-1 .qa-nav-cat-item { - border-bottom: 1px dotted #ccc; + padding: 4px 0px; +} + +.qa-nav-cat-link:before { + font-family: "Font Awesome 6 Free"; + font-weight: 900; + padding-right: 7px; + color: gray; + content: "\f03a"; } .qa-nav-cat-list-2 .qa-nav-cat-item, @@ -1573,7 +1596,7 @@ input[type="submit"].qa-search-button:hover { } .qa-nav-cat-note { - color: #000; + color: #ddd; white-space: nowrap; } @@ -1958,7 +1981,7 @@ input[type="submit"].qa-search-button:hover { } .qa-form-light-button-answer:hover { - color: #000; + color: #fff; } .qa-form-light-button-reshow { @@ -2258,7 +2281,8 @@ a.qa-browse-cat-link:visited { .qa-q-view { padding-left: 10px; - padding-top: 10px; + padding-top: 15px; + margin-bottom: 20px; } .qa-q-view-main { @@ -2401,6 +2425,7 @@ a.qa-browse-cat-link:visited { background: transparent !important; border: 1px solid #5C7310; color: #ddd; + margin-top: 10px; padding: 25px; } diff --git a/qa-theme.php b/qa-theme.php index 21c84d9..5f5fe03 100755 --- a/qa-theme.php +++ b/qa-theme.php @@ -3,7 +3,7 @@ class qa_html_theme extends qa_html_theme_base { protected $ranking_block_layout = true; - protected $theme = 'r.o'; + protected $theme = 'respostas-ocultas'; public function nav_user_search() { @@ -62,7 +62,6 @@ class qa_html_theme extends qa_html_theme_base } } - // adds login bar, user navigation and search at top of page in place of custom header content public function body_header() { $this->output('
'); @@ -70,7 +69,6 @@ class qa_html_theme extends qa_html_theme_base $this->nav_user_search(); $this->output('
'); $this->nav_main_sub(); - } public function head_css()