Browse Source

Tweaks of color and theme

Cqoicebordel 10 years ago
parent
commit
08df681b48

File diff suppressed because it is too large
+ 0 - 86
searx/static/themes/default/css/style.css


+ 9 - 3
searx/static/themes/default/less/definitions.less

@@ -15,6 +15,9 @@
 /// General
 
 @color-font: #444;
+@color-font-light: #888;
+
+@color-red: #C0392B;
 
 @color-url-font: #1a11be;
 @color-url-visited-font: #8E44AD;
@@ -44,6 +47,9 @@
 
 @color-autocompleter-choices-font: #444;
 
+/// Answers
+@color-answers-border: @color-base-dark;
+
 // Selected
 @color-autocompleter-selected-background: #444;
 @color-autocompleter-selected-font: #FFF;
@@ -78,10 +84,10 @@
 @color-result-link-visited-font: @color-url-visited-font;
 
 // Url to result
-@color-result-url-font: #C0392B;
+@color-result-url-font: @color-red;
 
 // Publish Date
-@color-result-publishdate-font: #888;
+@color-result-publishdate-font: @color-font-light;
 
 // Images
 @color-result-image-span-background-hover: rgba(0, 0, 0, 0.6);
@@ -109,5 +115,5 @@
 
 /// Other
 
-@color-engines-font: #888;
+@color-engines-font: @color-font-light;
 @color-percentage-div-background: #444;

+ 26 - 0
searx/static/themes/default/less/style.less

@@ -342,6 +342,18 @@ a {
 		margin: 3px;
 		font-size: 0.8em;
 	}
+	
+	a { 
+		color: @color-result-link-font;
+
+		&:hover {
+			text-decoration: underline;
+		}
+
+		&:visited {
+			color: @color-result-link-visited-font;
+		}
+	}
 }
 
 .definition_result {
@@ -434,6 +446,20 @@ tr {
 
 }
 
+#suggestions-title {
+
+color: @color-font-light;
+
+	
+}
+
+#answers {
+	
+	border: 2px solid @color-answers-border;
+	padding: 20px;
+	
+}
+
 #answers, #infoboxes {
 	form {
                 min-width: 210px;

Some files were not shown because too many files changed in this diff