summaryrefslogtreecommitdiff
path: root/cacert-theme
diff options
context:
space:
mode:
authorJan Dittberner <jandd@cacert.org>2020-05-31 18:06:14 +0200
committerJan Dittberner <jandd@cacert.org>2020-05-31 18:06:14 +0200
commit663e2de89a67d6877f95129993a73116182512f2 (patch)
tree3995d01319c28054ca083e24cb614c6dfbd42fc9 /cacert-theme
parentd2ac0c2935967ef7ef749b18675dab725722495f (diff)
downloadcacert-css-663e2de89a67d6877f95129993a73116182512f2.tar.gz
cacert-css-663e2de89a67d6877f95129993a73116182512f2.tar.xz
cacert-css-663e2de89a67d6877f95129993a73116182512f2.zip
Add CAcert theme based on fomantic-ui-less
Diffstat (limited to 'cacert-theme')
-rw-r--r--cacert-theme/semantic.less70
-rw-r--r--cacert-theme/site/globals/site.variables7
-rw-r--r--cacert-theme/theme.config100
3 files changed, 177 insertions, 0 deletions
diff --git a/cacert-theme/semantic.less b/cacert-theme/semantic.less
new file mode 100644
index 0000000..07107e0
--- /dev/null
+++ b/cacert-theme/semantic.less
@@ -0,0 +1,70 @@
+/*
+
+███████╗███████╗███╗ ███╗ █████╗ ███╗ ██╗████████╗██╗ ██████╗ ██╗ ██╗██╗
+██╔════╝██╔════╝████╗ ████║██╔══██╗████╗ ██║╚══██╔══╝██║██╔════╝ ██║ ██║██║
+███████╗█████╗ ██╔████╔██║███████║██╔██╗ ██║ ██║ ██║██║ ██║ ██║██║
+╚════██║██╔══╝ ██║╚██╔╝██║██╔══██║██║╚██╗██║ ██║ ██║██║ ██║ ██║██║
+███████║███████╗██║ ╚═╝ ██║██║ ██║██║ ╚████║ ██║ ██║╚██████╗ ╚██████╔╝██║
+╚══════╝╚══════╝╚═╝ ╚═╝╚═╝ ╚═╝╚═╝ ╚═══╝ ╚═╝ ╚═╝ ╚═════╝ ╚═════╝ ╚═╝
+
+ Import this file into your LESS project to use Fomantic-UI without build tools
+*/
+
+/* Global */
+& { @import "~fomantic-ui-less/definitions/globals/reset"; }
+& { @import "~fomantic-ui-less/definitions/globals/site"; }
+
+/* Elements */
+& { @import "~fomantic-ui-less/definitions/elements/button"; }
+& { @import "~fomantic-ui-less/definitions/elements/container"; }
+& { @import "~fomantic-ui-less/definitions/elements/divider"; }
+& { @import "~fomantic-ui-less/definitions/elements/header"; }
+& { @import "~fomantic-ui-less/definitions/elements/icon"; }
+& { @import "~fomantic-ui-less/definitions/elements/image"; }
+& { @import "~fomantic-ui-less/definitions/elements/input"; }
+& { @import "~fomantic-ui-less/definitions/elements/label"; }
+& { @import "~fomantic-ui-less/definitions/elements/list"; }
+// & { @import "~fomantic-ui-less/definitions/elements/loader"; }
+// & { @import "~fomantic-ui-less/definitions/elements/placeholder"; }
+// & { @import "~fomantic-ui-less/definitions/elements/rail"; }
+// & { @import "~fomantic-ui-less/definitions/elements/reveal"; }
+& { @import "~fomantic-ui-less/definitions/elements/segment"; }
+& { @import "~fomantic-ui-less/definitions/elements/step"; }
+& { @import "~fomantic-ui-less/definitions/elements/text"; }
+
+/* Collections */
+& { @import "~fomantic-ui-less/definitions/collections/breadcrumb"; }
+& { @import "~fomantic-ui-less/definitions/collections/form"; }
+& { @import "~fomantic-ui-less/definitions/collections/grid"; }
+& { @import "~fomantic-ui-less/definitions/collections/menu"; }
+& { @import "~fomantic-ui-less/definitions/collections/message"; }
+& { @import "~fomantic-ui-less/definitions/collections/table"; }
+
+/* Views */
+//& { @import "~fomantic-ui-less/definitions/views/ad"; }
+& { @import "~fomantic-ui-less/definitions/views/card"; }
+//& { @import "~fomantic-ui-less/definitions/views/comment"; }
+//& { @import "~fomantic-ui-less/definitions/views/feed"; }
+& { @import "~fomantic-ui-less/definitions/views/item"; }
+& { @import "~fomantic-ui-less/definitions/views/statistic"; }
+
+/* Modules */
+// & { @import "~fomantic-ui-less/definitions/modules/accordion"; }
+// & { @import "~fomantic-ui-less/definitions/modules/calendar"; }
+& { @import "~fomantic-ui-less/definitions/modules/checkbox"; }
+& { @import "~fomantic-ui-less/definitions/modules/dimmer"; }
+& { @import "~fomantic-ui-less/definitions/modules/dropdown"; }
+// & { @import "~fomantic-ui-less/definitions/modules/embed"; }
+& { @import "~fomantic-ui-less/definitions/modules/modal"; }
+// & { @import "~fomantic-ui-less/definitions/modules/nag"; }
+& { @import "~fomantic-ui-less/definitions/modules/popup"; }
+& { @import "~fomantic-ui-less/definitions/modules/progress"; }
+// & { @import "~fomantic-ui-less/definitions/modules/slider"; }
+// & { @import "~fomantic-ui-less/definitions/modules/rating"; }
+// & { @import "~fomantic-ui-less/definitions/modules/search"; }
+// & { @import "~fomantic-ui-less/definitions/modules/shape"; }
+// & { @import "~fomantic-ui-less/definitions/modules/sidebar"; }
+// & { @import "~fomantic-ui-less/definitions/modules/sticky"; }
+& { @import "~fomantic-ui-less/definitions/modules/tab"; }
+& { @import "~fomantic-ui-less/definitions/modules/toast"; }
+& { @import "~fomantic-ui-less/definitions/modules/transition"; }
diff --git a/cacert-theme/site/globals/site.variables b/cacert-theme/site/globals/site.variables
new file mode 100644
index 0000000..0138d00
--- /dev/null
+++ b/cacert-theme/site/globals/site.variables
@@ -0,0 +1,7 @@
+/*******************************
+ User Global Variables
+*******************************/
+
+@primaryColor : #11568C;
+@green : #00BE00;
+@olive : #C7FF00;
diff --git a/cacert-theme/theme.config b/cacert-theme/theme.config
new file mode 100644
index 0000000..f682571
--- /dev/null
+++ b/cacert-theme/theme.config
@@ -0,0 +1,100 @@
+/*
+
+████████╗██╗ ██╗███████╗███╗ ███╗███████╗███████╗
+╚══██╔══╝██║ ██║██╔════╝████╗ ████║██╔════╝██╔════╝
+ ██║ ███████║█████╗ ██╔████╔██║█████╗ ███████╗
+ ██║ ██╔══██║██╔══╝ ██║╚██╔╝██║██╔══╝ ╚════██║
+ ██║ ██║ ██║███████╗██║ ╚═╝ ██║███████╗███████║
+ ╚═╝ ╚═╝ ╚═╝╚══════╝╚═╝ ╚═╝╚══════╝╚══════╝
+
+*/
+
+/*******************************
+ Theme Selection
+*******************************/
+
+/* To override a theme for an individual element
+ specify theme name below
+*/
+
+/* Global */
+@site : 'default';
+@reset : 'default';
+
+/* Elements */
+@button : 'default';
+@container : 'default';
+@divider : 'default';
+@emoji : 'default';
+@flag : 'default';
+@header : 'default';
+@icon : 'default';
+@image : 'default';
+@input : 'default';
+@label : 'default';
+@list : 'default';
+@loader : 'default';
+@placeholder: 'default';
+@rail : 'default';
+@reveal : 'default';
+@segment : 'default';
+@step : 'default';
+@text : 'default';
+
+/* Collections */
+@breadcrumb : 'default';
+@form : 'default';
+@grid : 'default';
+@menu : 'default';
+@message : 'default';
+@table : 'default';
+
+/* Modules */
+@accordion : 'default';
+@calendar : 'default';
+@checkbox : 'default';
+@dimmer : 'default';
+@dropdown : 'default';
+@embed : 'default';
+@modal : 'default';
+@nag : 'default';
+@popup : 'default';
+@progress : 'default';
+@slider : 'default';
+@rating : 'default';
+@search : 'default';
+@shape : 'default';
+@sidebar : 'default';
+@sticky : 'default';
+@tab : 'default';
+@toast : 'default';
+@transition : 'default';
+
+/* Views */
+@ad : 'default';
+@card : 'default';
+@comment : 'default';
+@feed : 'default';
+@item : 'default';
+@statistic : 'default';
+
+/*******************************
+ Folders
+*******************************/
+
+/* Path to theme packages */
+@themesFolder : 'themes';
+
+/* Path to site override folder */
+@siteFolder : '../../cacert-theme/site';
+
+
+/*******************************
+ Import Theme
+*******************************/
+
+@import (multiple) "~fomantic-ui-less/theme.less";
+
+@fontPath : "../../../themes/@{theme}/assets/fonts";
+
+/* End Config */