summaryrefslogtreecommitdiff
path: root/searx/static/themes/simple/src/less/definitions.less
blob: 14354feca70ba7b3482caa04bc5acc273fac4b07 (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
/*
 * SearXNG, A privacy-respecting, hackable metasearch engine
 *
 * To change the colors of the site, simple edit this variables
 */

html {
  /// Base Colors
  --color-base: #084999;
  --color-base-font: #444;
  --color-base-border: #ddd;
  --color-base-shadow: #ccc;
  --color-base-background: #fff;
  --color-url-font: #29314d;
  --color-url-visited-font: #684898;
  --color-header-footer-background: #f7f7f7;

  /// Button Colors
  --color-btn-background: #084999;
  --color-btn-font: #fff;

  /// Search Input Colors
  --color-search-border: #ddd;
  --color-search-background: #fff;
  --color-search-font: #222;
  --color-search-background-hover: #084999;

  /// 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%);

  /// Categories Colors
  --color-categories-item-selected-font: #084999;
  --color-categories-item-border-selected: #084999;

  /// Autocompleter Colors
  --color-autocomplete-background: #fff;
  --color-autocomplete-background-hover: #f7f7f7;

  /// Results
  --color-result-torrent-border: lightgray;
  --color-result-top-border: #e8e7e6;
  --color-result-vim-selected: #f7f7f7;
  --color-result-description-highlight-font: #000;

  // Link to result
  --color-result-link-font: #084999;
  --color-result-link-font-highlight: #084999;
  --color-result-link-visited-font: var(--color-url-visited-font);

  // Url to result
  --color-result-url-font: #000;

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

  // Publish Date
  --color-result-publishdate-font: #777;

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

  /// Settings
  --color-settings-tr-hover: #ececec;
  --color-settings-engine-description-font: darken(#dcdcdc, 30%);

  /// Other
  --color-engines-font: #888;

  /// From Toolkit
  --color-toolkit-badge-font: #fff;
  --color-toolkit-badge-background: #777;
  --color-toolkit-kbd-font: #fff;
  --color-toolkit-kbd-background: #000;
  --color-toolkit-dialog-border: #000;
  --color-toolkit-dialog-background: #fff;
  --color-toolkit-tabs-label-border: #fff;
  --color-toolkit-tabs-section-border: #000;
  --color-toolkit-select-border: #ddd;
  --color-toolkit-checkbox-onoff-background: #dcdcdc;
  --color-toolkit-checkbox-onoff-label-shadow: rgba(0, 0, 0, 0.3);
  --color-toolkit-checkbox-onoff-label-background: #084999;
  --color-toolkit-checkbox-onoff-checked-background: #dcdcdc;
  --color-toolkit-checkbox-label-background: #fff;
  --color-toolkit-checkbox-label-shadow1: #fff;
  --color-toolkit-checkbox-label-shadow2: rgba(0, 0, 0, 0.5);
  --color-toolkit-checkbox-label-border: #333;
  --color-toolkit-checkbox-input-border: #084999;
  --color-toolkit-loader-border: rgba(0, 0, 0, 0.2);
  --color-toolkit-loader-borderleft: rgba(255, 255, 255, 0);
  --color-toolkit-engine-tooltip-border: #ddd;
  --color-toolkit-engine-tooltip-shadow: rgba(0, 0, 0, 0.1);
  --color-toolkit-engine-tooltip-background: #fff;
}

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

/// From style.less
@stacked-bar-chart: rgb(0, 0, 0);

/// 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";