From 425ec3b70738e693922755b4ee8a8a73642b7fee Mon Sep 17 00:00:00 2001 From: Thomas Pointhuber Date: Wed, 5 Mar 2014 15:20:30 +0100 Subject: Using .less instead of .css to generate the .css file from the .less file run: $make styles --- searx/static/css/definitions.less | 92 +++++++++++++++++++++++++++++++++++++++ 1 file changed, 92 insertions(+) create mode 100644 searx/static/css/definitions.less (limited to 'searx/static/css/definitions.less') diff --git a/searx/static/css/definitions.less b/searx/static/css/definitions.less new file mode 100644 index 000000000..a7d892303 --- /dev/null +++ b/searx/static/css/definitions.less @@ -0,0 +1,92 @@ +/* + * searx, A privacy-respecting, hackable metasearch engine + * + * To change the colors of the site, simple edit this variables + */ + +/// Basic Colors + +@color-base: #3498DB; +@color-base-dark: #2980B9; +@color-base-light: #ECF0F1; + + +/// General + +@color-font: #444; + +@color-url-font: #1a11be; +@color-url-visited-font: #8E44AD; + + +/// Start-Screen + +// hmarg +@color-hmarg-border: @color-base; +@color-hmarg-font: @color-base; +@color-hmarg-font-hover: @color-base; + + +/// Search-Input + +@color-search-border: @color-base; +@color-search-background: #FFF; +@color-search-font: #222; + +/// Categories + +@color-categories-item-selected: @color-base; +@font-color-categories-item-selected: #FFF; + +@color-categories-item-border-selected: @color-base-dark; +@color-categories-item-border-unselected: #E8E7E6; +@color-categories-item-border-unselected-hover: @color-base; + + +/// Results + +@color-suggestions-button-background: @color-base; +@color-suggestions-button-font: #FFF; + +@color-download-button-background: @color-base; +@color-download-button-font: #FFF; + +@color-result-search-background: @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: @color-base-dark; +@color-result-link-visited-font: @color-url-visited-font; + +// Url to result +@color-result-url-font: #C0392B; + +// 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: @color-base; +@color-settings-tr-hover: #DDD; + +// Labels +@color-settings-label-allowed-background: #E74C3C; +@color-settings-label-allowed-font: #FFF; + +@color-settings-label-deny-background: #2ECC71; +@color-settings-label-deny-font: @color-font; + + +/// Other + +@color-engines-font: #888; +@color-percentage-div-background: #444; -- cgit v1.2.3 From a6c9a571aca13bde3d93a54dafca33b29e0afcac Mon Sep 17 00:00:00 2001 From: Thomas Pointhuber Date: Wed, 5 Mar 2014 16:03:13 +0100 Subject: rewrite wrong variable name --- searx/static/css/definitions.less | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'searx/static/css/definitions.less') diff --git a/searx/static/css/definitions.less b/searx/static/css/definitions.less index a7d892303..013d24f2f 100644 --- a/searx/static/css/definitions.less +++ b/searx/static/css/definitions.less @@ -36,7 +36,7 @@ /// Categories @color-categories-item-selected: @color-base; -@font-color-categories-item-selected: #FFF; +@color-categories-item-selected-font: #FFF; @color-categories-item-border-selected: @color-base-dark; @color-categories-item-border-unselected: #E8E7E6; -- cgit v1.2.3 From 3b31c60f07dbc5b6e240295885b672e46b1583bd Mon Sep 17 00:00:00 2001 From: Thomas Pointhuber Date: Thu, 6 Mar 2014 16:25:15 +0100 Subject: fix little style errors --- searx/static/css/definitions.less | 2 ++ 1 file changed, 2 insertions(+) (limited to 'searx/static/css/definitions.less') diff --git a/searx/static/css/definitions.less b/searx/static/css/definitions.less index 013d24f2f..f71f55782 100644 --- a/searx/static/css/definitions.less +++ b/searx/static/css/definitions.less @@ -85,6 +85,8 @@ @color-settings-label-deny-background: #2ECC71; @color-settings-label-deny-font: @color-font; +@color-settings-return-background: @color-base; +@color-settings-return-font: #FFF; /// Other -- cgit v1.2.3