summaryrefslogtreecommitdiff
path: root/searx/static/themes/simple/src/less/definitions.less
blob: 4d3d652dc6e097ae7e356e2cf31d1558e2971ffa (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
/*
 * SearXNG, A privacy-respecting, hackable metasearch engine
 *
 * To change the colors of the site, simple edit this variables
 */

html {
  /// Basic Colors
  --color-base: #3498db;
  --color-base-dark: #084999;
  --color-base-light: #ecf0f1;
  --color-highlight: #094089;
  --color-black: #000;

  /// From autocomplete.less
  --background_color: white;

  /// Modal Colors
  --color-error: #db3434;
  --color-error-background: lighten(#db3434, 40%);
  --color-warning: #dbba34;
  --color-warning-background: lighten(#dbba34, 40%);
  --color-success: #42db34;
  --color-success-background: lighten(#42db34, 40%);

  /// General Colors
  --color-font: #444;
  --color-font-light: #888;
  --color-red: #25a55b;
  --color-url-font: #29314d;
  --color-url-visited-font: #684898;

  /// Link Colors
  --color-a-font: var(--color-base);
  --color-a-font-hover: var(--color-base);

  /// Header
  --color-header-background: #f7f7f7;
  --color-header-border: #d7d7d7;

  /// Footer
  --color-footer-background: #f7f7f7;
  --color-footer-border: #d7d7d7;

  /// Search-Input
  --color-search-border: var(--color-base);
  --color-search-background: #fff;
  --color-search-font: #222;

  /// Autocompleter
  --color-autocompleter-choices-background: #fff;
  --color-autocompleter-choices-border: var(--color-base);
  --color-autocompleter-choices-border-left-right: var(--color-base);
  --color-autocompleter-choices-border-bottom: var(--color-base);
  --color-autocompleter-choices-font: #444;

  /// Answers
  --color-answers-border: var(--color-base-dark);

  // Selected
  --color-autocompleter-selected-background: #444;
  --color-autocompleter-selected-font: #fff;
  --color-autocompleter-selected-queried-font: #9fcfff;

  /// Categories
  --color-categories-item-selected: var(--color-base);
  --color-categories-item-selected-font: #fff;
  --color-categories-item-border-selected: var(--color-base-dark);
  --color-categories-item-border-unselected: #e8e7e6;
  --color-categories-item-border-unselected-hover: var(--color-base);

  /// Results
  --color-suggestions-button-background: var(--color-base);
  --color-suggestions-button-font: #fff;
  --color-download-button-background: var(--color-base);
  --color-download-button-font: #fff;
  --color-result-search-background: var(--color-base-light);
  --color-result-definition-border: gray;
  --color-result-torrent-border: lightgray;
  --color-result-top-border: #e8e7e6;

  // Link to result
  --color-result-link-font: var(--color-base-dark);
  --color-result-link-visited-font: var(--color-url-visited-font);

  // Url to result
  --color-result-url-font: var(--color-red);

  // Publish Date
  --color-result-publishdate-font: var(--color-font-light);

  // Images
  --color-result-image-span-background-hover: rgba(0, 0, 0, 0.6);
  --color-result-image-span-font: #fff;

  // Search-URL
  --color-result-search-url-border: #888;
  --color-result-search-url-font: #444;

  /// Settings
  --color-settings-fieldset: var(--color-base);
  --color-settings-table-striped: #dbdbdb;
  --color-settings-tr-hover: #ececec;

  // Labels
  --color-settings-label-allowed-background: #e74c3c;
  --color-settings-label-allowed-font: #fff;
  --color-settings-label-deny-background: #2eee71;
  --color-settings-label-deny-font: var(--color-font);
  --color-settings-return-background: var(--color-base);
  --color-settings-return-font: #fff;

  /// Other
  --color-engines-font: var(--color-font-light);
  --color-percentage-div-background: #444;
}

/// General Size
@results-width: 45rem;
@results-offset: 10rem;
@results-tablet-offset: 0.5rem;
@results-gap: 5rem;
@search-width: 40rem;

/// Load fonts from this directory.
@icon-font-path:          "../../../fonts/";
//** File name for all font files.
@icon-font-name:          "glyphicons-halflings-regular";
//** Element ID within SVG icon file.
@icon-font-svg-id:        "glyphicons_halflingsregular";