Quellcode durchsuchen

[fix] preferences button display

Adam Tauber vor 10 Jahren
Ursprung
Commit
c58e5a236a
2 geänderte Dateien mit 9 neuen und 8 gelöschten Zeilen
  1. 1
    1
      searx/static/default/css/style.css
  2. 8
    7
      searx/static/default/less/style.less

+ 1
- 1
searx/static/default/css/style.css Datei anzeigen

@@ -77,5 +77,5 @@ tr:hover{background:#ddd}
77 77
 #preferences{top:10px;padding:0;border:0;background:url('../img/preference-icon.png') no-repeat;background-size:28px 28px;opacity:.8;width:28px;height:30px;display:block}#preferences *{display:none}
78 78
 #pagination{clear:both;width:40em}
79 79
 #apis{margin-top:8px;clear:both}
80
-@media screen and (max-width:50em){#results{margin:auto;padding:0;width:90%} .github{display:none} .checkbox_container{display:block;width:90%}.checkbox_container label{border-bottom:0}}@media screen and (max-width:75em){#infoboxes{position:inherit;max-width:inherit}#infoboxes .infobox{clear:both}#infoboxes .infobox img{float:left;max-width:10em} #categories{font-size:90%;clear:both}#categories .checkbox_container{margin-top:2px;margin:auto} .right{display:none;postion:fixed !important;top:100px;right:0} #sidebar{position:static;max-width:50em;margin:0 0 2px 0;padding:0;float:none;border:none;width:auto}#sidebar input{border:0} #apis{display:none} #search_url{display:none} .result{border-top:1px solid #e8e7e6;margin:7px 0 6px 0}}.favicon{float:left;margin-right:4px;margin-top:2px}
80
+@media screen and (max-width:50em){#results{margin:auto;padding:0;width:90%} .github{display:none} .checkbox_container{display:block;width:90%}.checkbox_container label{border-bottom:0} .right{display:none;postion:fixed !important;top:100px;right:0}}@media screen and (max-width:75em){#infoboxes{position:inherit;max-width:inherit}#infoboxes .infobox{clear:both}#infoboxes .infobox img{float:left;max-width:10em} #categories{font-size:90%;clear:both}#categories .checkbox_container{margin-top:2px;margin:auto} #sidebar{position:static;max-width:50em;margin:0 0 2px 0;padding:0;float:none;border:none;width:auto}#sidebar input{border:0} #apis{display:none} #search_url{display:none} .result{border-top:1px solid #e8e7e6;margin:7px 0 6px 0}}.favicon{float:left;margin-right:4px;margin-top:2px}
81 81
 .preferences_back{background:none repeat scroll 0 0 #3498db;border:0 none;-webkit-border-radius:4px;-moz-border-radius:4px;border-radius:4px;cursor:pointer;display:inline-block;margin:2px 4px;padding:4px 6px}.preferences_back a{color:#fff}

+ 8
- 7
searx/static/default/less/style.less Datei anzeigen

@@ -529,6 +529,14 @@ tr {
529 529
 			border-bottom: 0;
530 530
 		}
531 531
 	}
532
+
533
+	.right {
534
+		display: none;
535
+		postion: fixed !important;
536
+		top: 100px;
537
+		right: 0px;
538
+	}
539
+
532 540
 }
533 541
 
534 542
 @media screen and (max-width: 75em) {
@@ -558,13 +566,6 @@ tr {
558 566
 		}
559 567
 	}
560 568
 
561
-	.right {
562
-		display: none;
563
-		postion: fixed !important;
564
-		top: 100px;
565
-		right: 0px;
566
-	}
567
-
568 569
 	#sidebar {
569 570
 		position: static;
570 571
 		max-width: @results-width;