summaryrefslogtreecommitdiff
path: root/searx/static/themes/oscar/src/less/pointhi/search.less
diff options
context:
space:
mode:
authorAlexandre Flament <alex@al-f.net>2021-03-13 09:29:13 +0100
committerGitHub <noreply@github.com>2021-03-13 09:29:13 +0100
commit9292571304376c2c463fb26ee0db89298bb00e6c (patch)
tree8a2dba56227f67aa52b091d1674190cd40e1411e /searx/static/themes/oscar/src/less/pointhi/search.less
parent22a2e544551e87fb9ea74d2fe07b59bfa0815368 (diff)
parentcb04d4280642164bddd37e39151bf22799ef3792 (diff)
downloadsearxng-9292571304376c2c463fb26ee0db89298bb00e6c.tar.gz
searxng-9292571304376c2c463fb26ee0db89298bb00e6c.zip
Merge pull request #2346 from dalf/upgrade-oscar
[mod] oscar: upgrade dependencies
Diffstat (limited to 'searx/static/themes/oscar/src/less/pointhi/search.less')
-rw-r--r--searx/static/themes/oscar/src/less/pointhi/search.less43
1 files changed, 43 insertions, 0 deletions
diff --git a/searx/static/themes/oscar/src/less/pointhi/search.less b/searx/static/themes/oscar/src/less/pointhi/search.less
new file mode 100644
index 000000000..ac0a7a0c7
--- /dev/null
+++ b/searx/static/themes/oscar/src/less/pointhi/search.less
@@ -0,0 +1,43 @@
+.search_categories, #categories {
+ text-transform: capitalize;
+ margin-bottom: 1.5rem;
+ margin-top: 1.5rem;
+ display: flex;
+ flex-wrap: wrap;
+ align-content: stretch;
+
+ label, .input-group-addon {
+ flex-grow: 1;
+ flex-basis: auto;
+ font-size: 1.3rem;
+ font-weight: normal;
+ background-color: white;
+ border: #DDD 1px solid;
+ border-right: none;
+ color: #333;
+ padding-bottom: 0.8rem;
+ padding-top: 0.8rem;
+ text-align: center;
+ min-width: 50px;
+ }
+
+ label:last-child, .input-group-addon:last-child {
+ border-right: #DDD 1px solid;
+ }
+
+ input[type="checkbox"]:checked + label{
+ color: black;
+ font-weight: bold;
+ background-color: #EEE;
+ }
+}
+
+.visually-hidden {
+ position: absolute !important;
+ height: 1px;
+ width: 1px;
+ overflow: hidden;
+ clip: rect(1px 1px 1px 1px); /* IE6, IE7 */
+ clip: rect(1px, 1px, 1px, 1px);
+ white-space: nowrap; /* added line */
+}