summaryrefslogtreecommitdiff
path: root/searx/static/themes/oscar/less
diff options
context:
space:
mode:
authorNoemi Vanyi <sitbackandwait@gmail.com>2016-07-17 19:42:57 +0200
committerNoemi Vanyi <sitbackandwait@gmail.com>2016-07-25 23:28:14 +0200
commit713d30400b647c55e4ff80fd6869ab6c23134240 (patch)
tree7b537b4772fb9bffa351df44fbcb8cedfcea64f1 /searx/static/themes/oscar/less
parent074521fd8a2893c723a69941f400a0e9f4002559 (diff)
downloadsearxng-713d30400b647c55e4ff80fd6869ab6c23134240.tar.gz
searxng-713d30400b647c55e4ff80fd6869ab6c23134240.zip
add advanced settings to pointhi style
Diffstat (limited to 'searx/static/themes/oscar/less')
-rw-r--r--searx/static/themes/oscar/less/logicodev/advanced.less2
-rw-r--r--searx/static/themes/oscar/less/pointhi/advanced.less45
-rw-r--r--searx/static/themes/oscar/less/pointhi/oscar.less2
-rw-r--r--searx/static/themes/oscar/less/pointhi/search.less30
4 files changed, 74 insertions, 5 deletions
diff --git a/searx/static/themes/oscar/less/logicodev/advanced.less b/searx/static/themes/oscar/less/logicodev/advanced.less
index 30e4c9ea5..7e0469672 100644
--- a/searx/static/themes/oscar/less/logicodev/advanced.less
+++ b/searx/static/themes/oscar/less/logicodev/advanced.less
@@ -66,5 +66,3 @@ Ny0yNFQxMToxNTowMCswMjowMP7RDgQAAAAZdEVYdFNvZnR3YXJlAHd3dy5pbmtzY2FwZS5vcmeb
margin-top:1rem;
text-align:right;
}
-
-
diff --git a/searx/static/themes/oscar/less/pointhi/advanced.less b/searx/static/themes/oscar/less/pointhi/advanced.less
new file mode 100644
index 000000000..a83af4866
--- /dev/null
+++ b/searx/static/themes/oscar/less/pointhi/advanced.less
@@ -0,0 +1,45 @@
+#advanced-search-container {
+ display:none;
+ text-align:center;
+ margin-bottom:1rem;
+
+ label, .input-group-addon {
+ 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;
+ padding-left: 1.2rem;
+ padding-right: 1.2rem;
+ }
+
+ label:last-child, .input-group-addon:last-child {
+ border-right: #DDD 1px solid;
+ }
+
+ input[type="radio"] {
+ display: none;
+ }
+
+ input[type="radio"]:checked + label{
+ color: black;
+ font-weight:bold;
+ background-color: #EEE;
+ }
+}
+
+#check-advanced {
+ display: none;
+}
+
+#check-advanced:checked ~ #advanced-search-container {
+ display:block;
+}
+
+.advanced {
+ margin-top:1rem;
+ text-align:right;
+}
diff --git a/searx/static/themes/oscar/less/pointhi/oscar.less b/searx/static/themes/oscar/less/pointhi/oscar.less
index 6a8478530..0966e0ab5 100644
--- a/searx/static/themes/oscar/less/pointhi/oscar.less
+++ b/searx/static/themes/oscar/less/pointhi/oscar.less
@@ -8,6 +8,8 @@
@import "search.less";
+@import "advanced.less";
+
@import "cursor.less";
@import "code.less";
diff --git a/searx/static/themes/oscar/less/pointhi/search.less b/searx/static/themes/oscar/less/pointhi/search.less
index f95ab50d4..d12b69d31 100644
--- a/searx/static/themes/oscar/less/pointhi/search.less
+++ b/searx/static/themes/oscar/less/pointhi/search.less
@@ -1,4 +1,28 @@
-.search_categories {
- margin:10px 0;
- text-transform: capitalize;
+.search_categories, #categories {
+ text-transform: capitalize;
+ margin-bottom:1.5rem;
+ margin-top:1.5rem;
+
+ label, .input-group-addon {
+ 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;
+ padding-left: 1.2rem;
+ padding-right: 1.2rem;
+ }
+
+ 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;
+ }
}