From 823344c19094680e80e2b56449a243e183db8b06 Mon Sep 17 00:00:00 2001 From: Fuwn Date: Mon, 14 Dec 2020 23:21:39 -0800 Subject: :star: --- .../themes/github/collections/breadcrumb.variables | 11 ++++ .../src/themes/github/collections/form.overrides | 16 ++++++ .../src/themes/github/collections/form.variables | 40 ++++++++++++++ .../src/themes/github/collections/grid.variables | 2 + .../src/themes/github/collections/menu.overrides | 7 +++ .../src/themes/github/collections/menu.variables | 61 ++++++++++++++++++++++ .../themes/github/collections/message.overrides | 11 ++++ .../themes/github/collections/message.variables | 29 ++++++++++ .../src/themes/github/collections/table.variables | 8 +++ 9 files changed, 185 insertions(+) create mode 100644 semantic/src/themes/github/collections/breadcrumb.variables create mode 100644 semantic/src/themes/github/collections/form.overrides create mode 100644 semantic/src/themes/github/collections/form.variables create mode 100644 semantic/src/themes/github/collections/grid.variables create mode 100644 semantic/src/themes/github/collections/menu.overrides create mode 100644 semantic/src/themes/github/collections/menu.variables create mode 100644 semantic/src/themes/github/collections/message.overrides create mode 100644 semantic/src/themes/github/collections/message.variables create mode 100644 semantic/src/themes/github/collections/table.variables (limited to 'semantic/src/themes/github/collections') diff --git a/semantic/src/themes/github/collections/breadcrumb.variables b/semantic/src/themes/github/collections/breadcrumb.variables new file mode 100644 index 0000000..e22050c --- /dev/null +++ b/semantic/src/themes/github/collections/breadcrumb.variables @@ -0,0 +1,11 @@ +/******************************* + Site Overrides +*******************************/ + +@dividerOpacity: 1; +@dividerSpacing: 0; +@dividerSize: @big; +@dividerColor: inherit; + +@huge: 1.5384em; + diff --git a/semantic/src/themes/github/collections/form.overrides b/semantic/src/themes/github/collections/form.overrides new file mode 100644 index 0000000..89df9c0 --- /dev/null +++ b/semantic/src/themes/github/collections/form.overrides @@ -0,0 +1,16 @@ +/******************************* + Overrides +*******************************/ + +.ui.selection.dropdown { + background-color: #FAFAFA; + box-shadow: 0 1px 2px rgba(0, 0, 0, 0.075) inset; + border-color: #CCCCCC; +} + +.ui.selection.dropdown:focus { + box-shadow: + 0px 1px 2px rgba(0, 0, 0, 0.075) inset, + 0px 0px 5px rgba(81, 167, 232, 0.5) + ; +} \ No newline at end of file diff --git a/semantic/src/themes/github/collections/form.variables b/semantic/src/themes/github/collections/form.variables new file mode 100644 index 0000000..e08c868 --- /dev/null +++ b/semantic/src/themes/github/collections/form.variables @@ -0,0 +1,40 @@ +/******************************* + Form +*******************************/ + +/*------------------- + Elements +--------------------*/ + +@inputBackground: #FAFAFA; +@inputBorder: 1px solid #CCCCCC; +@inputBoxShadow: 0 1px 2px rgba(0, 0, 0, 0.075) inset; +@inputBorderRadius: 3px; + +@labelFontWeight: bold; +@labelDistance: 6px; + +/*------------------- + States +--------------------*/ + +@inputFocusBackground: #FFFFFF; +@inputFocusBoxShadow: + 0px 1px 2px rgba(0, 0, 0, 0.075) inset, + 0px 0px 5px rgba(81, 167, 232, 0.5) +; +@inputFocusBorderColor: #51A7E8; +@inputFocusBorderRadius: @inputBorderRadius; + +/*------------------- + Types +--------------------*/ + + +/*------------------- + Variations +--------------------*/ + +/*------------------- + Groups +--------------------*/ diff --git a/semantic/src/themes/github/collections/grid.variables b/semantic/src/themes/github/collections/grid.variables new file mode 100644 index 0000000..7b08138 --- /dev/null +++ b/semantic/src/themes/github/collections/grid.variables @@ -0,0 +1,2 @@ + +@gutterWidth: 1.538rem; \ No newline at end of file diff --git a/semantic/src/themes/github/collections/menu.overrides b/semantic/src/themes/github/collections/menu.overrides new file mode 100644 index 0000000..06d7827 --- /dev/null +++ b/semantic/src/themes/github/collections/menu.overrides @@ -0,0 +1,7 @@ +/******************************* + Overrides +*******************************/ + +.ui.menu .item > .label { + box-shadow: 0px 0px 0px 1px rgba(0, 0, 0, 0.1) inset; +} \ No newline at end of file diff --git a/semantic/src/themes/github/collections/menu.variables b/semantic/src/themes/github/collections/menu.variables new file mode 100644 index 0000000..1479320 --- /dev/null +++ b/semantic/src/themes/github/collections/menu.variables @@ -0,0 +1,61 @@ +/*------------------- + Collection +--------------------*/ + +@itemVerticalPadding: 1em; +@itemHorizontalPadding: 1.25em; + +@background: #FFFFFF linear-gradient(rgba(255, 255, 255, 0.05), rgba(0, 0, 0, 0.05)); +@fontWeight: normal; + +@activeBorderSize: 0em; + +@hoverBackground: rgba(0, 0, 0, 0.02); +@downBackground: rgba(0, 0, 0, 0.06); + +@activeBackground: rgba(0, 0, 0, 0.04); +@activeHoverBackground: rgba(0, 0, 0, 0.04); + + +@headerBackground: rgba(0, 0, 0, 0.08); + +@subMenuMargin: 0.5em -0.6em 0; +@subMenuHorizontalPadding: 0.7em; + +@arrowHoverColor: #EEEEEE; +@arrowActiveColor: #EEEEEE; +@arrowVerticalHoverColor: #F4F4F4; +@arrowVerticalActiveColor: #F4F4F4; + +@dividerBackground: #E8E8E8; +@verticalDividerBackground: #E8E8E8; + +/*------------------- + Elements +--------------------*/ + +@buttonOffset: -0.15em; +@buttonVerticalPadding: 0.75em; + +/*------------------- + Types +--------------------*/ + +@paginationMinWidth: 3.5em; + +@tieredActiveItemBackground: #F5F5F5; +@tieredActiveMenuBackground: #F5F5F5; + +/*------------------- + Variations +--------------------*/ + +@verticalBackground: #FFFFFF; +@verticalItemBackground: linear-gradient(rgba(0, 0, 0, 0), rgba(0, 0, 0, 0.02)); + +@invertedBackground: @black linear-gradient(rgba(255, 255, 255, 0.05), rgba(0, 0, 0, 0.0)); +@invertedBoxShadow : + 0px 1px 2px 0px rgba(0, 0, 0, 0.15), + 0px 0px 0px 1px rgba(255, 255, 255, 0.15) +; +@secondaryVerticalPadding: 0.75em; \ No newline at end of file diff --git a/semantic/src/themes/github/collections/message.overrides b/semantic/src/themes/github/collections/message.overrides new file mode 100644 index 0000000..01519ed --- /dev/null +++ b/semantic/src/themes/github/collections/message.overrides @@ -0,0 +1,11 @@ +.ui.info.message { + background: linear-gradient(#D8EBF8, #D0E3EF); +} +.ui.error.message { + background: linear-gradient(#F8D8D8, #EFD0D0); +} +.ui.warning.message { + background: linear-gradient(#FFE3C8, #F5DAC0); +} +.ui.success.message { +} diff --git a/semantic/src/themes/github/collections/message.variables b/semantic/src/themes/github/collections/message.variables new file mode 100644 index 0000000..165eef6 --- /dev/null +++ b/semantic/src/themes/github/collections/message.variables @@ -0,0 +1,29 @@ +@background: linear-gradient(rgba(255, 255, 255, 0.1), rgba(0, 0, 0, 0.05)) #FEFEFE; +@boxShadow: + 0px 0px 0px 1px rgba(255, 255, 255, 0.3) inset, + 0px 0px 0px 1px rgba(0, 0, 0, 0.2) inset +; +@verticalPadding: 15px; +@horizontalPadding: 15px; + +@headerFontSize: 1.15em; + +@infoTextColor: #264C72; +@warningTextColor: #613A00; +@errorTextColor: #991111; + +@floatingBoxShadow: + 0px 0px 0px 1px rgba(0, 0, 0, 0.1) inset, + 0px 2px 3px 0px rgba(0, 0, 0, 0.1), + 0px 0px 0px 1px rgba(0, 0, 0, 0.05) inset +; + +@infoBorderColor: #97C1DA; +@errorBorderColor: #DA9797; +@warningBorderColor: #DCA874; + +@small: 12px; +@medium: 13px; +@large: 14px; +@huge: 16px; +@massive: 18px; diff --git a/semantic/src/themes/github/collections/table.variables b/semantic/src/themes/github/collections/table.variables new file mode 100644 index 0000000..0387ce6 --- /dev/null +++ b/semantic/src/themes/github/collections/table.variables @@ -0,0 +1,8 @@ +/******************************* + User Variable Overrides +*******************************/ + +@background: #F8F8F8; + +@cellVerticalPadding: @relative6px; +@cellHorizontalPadding: @relative8px; \ No newline at end of file -- cgit v1.2.3