Commit 27a1a9e8 by ijin08

removed unused theme variables, removed empty sections, aligned the order of sections in the files

parent 809d4b04
...@@ -6,9 +6,6 @@ $theme-name: dark; ...@@ -6,9 +6,6 @@ $theme-name: dark;
// Grays // Grays
// ------------------------- // -------------------------
$black: #000; $black: #000;
// -------------------------
$black: #000;
$dark-1: #141414; $dark-1: #141414;
$dark-2: #1f1f20; $dark-2: #1f1f20;
$dark-3: #262628; $dark-3: #262628;
...@@ -19,7 +16,6 @@ $gray-2: #8e8e8e; ...@@ -19,7 +16,6 @@ $gray-2: #8e8e8e;
$gray-3: #b3b3b3; $gray-3: #b3b3b3;
$gray-4: #d8d9da; $gray-4: #d8d9da;
$gray-5: #ececec; $gray-5: #ececec;
$gray-6: #f4f5f8;
$gray-7: #fbfbfb; $gray-7: #fbfbfb;
$gray-blue: #212327; $gray-blue: #212327;
...@@ -34,7 +30,6 @@ $blue-dark: #005f81; ...@@ -34,7 +30,6 @@ $blue-dark: #005f81;
$green: #299c46; $green: #299c46;
$red: #d44a3a; $red: #d44a3a;
$yellow: #ecbb13; $yellow: #ecbb13;
$pink: #ff4444;
$purple: #9933cc; $purple: #9933cc;
$variable: #32d1df; $variable: #32d1df;
$orange: #eb7b18; $orange: #eb7b18;
...@@ -68,7 +63,6 @@ $text-color-weak: $gray-2; ...@@ -68,7 +63,6 @@ $text-color-weak: $gray-2;
$text-color-faint: $dark-5; $text-color-faint: $dark-5;
$text-color-emphasis: $gray-5; $text-color-emphasis: $gray-5;
$text-shadow-strong: 1px 1px 4px $black;
$text-shadow-faint: 1px 1px 4px rgb(45, 45, 45); $text-shadow-faint: 1px 1px 4px rgb(45, 45, 45);
// gradients // gradients
...@@ -100,8 +94,7 @@ $hr-border-color: $dark-4; ...@@ -100,8 +94,7 @@ $hr-border-color: $dark-4;
// Panel // Panel
// ------------------------- // -------------------------
$panel-bg: #212124; $panel-bg: #212124;
$panel-border-color: $dark-1; $panel-border: solid 1px $dark-1;
$panel-border: solid 1px $panel-border-color;
$panel-header-hover-bg: $dark-4; $panel-header-hover-bg: $dark-4;
$panel-corner: $panel-bg; $panel-corner: $panel-bg;
...@@ -144,7 +137,6 @@ $scrollbarBorder: black; ...@@ -144,7 +137,6 @@ $scrollbarBorder: black;
// ------------------------- // -------------------------
$table-bg: transparent; // overall background-color $table-bg: transparent; // overall background-color
$table-bg-accent: $dark-3; // for striping $table-bg-accent: $dark-3; // for striping
$table-bg-hover: $dark-4; // for hover
$table-border: $dark-3; // table and cell border $table-border: $dark-3; // table and cell border
$table-bg-odd: $dark-2; $table-bg-odd: $dark-2;
...@@ -173,9 +165,6 @@ $btn-inverse-bg-hl: lighten($dark-3, 4%); ...@@ -173,9 +165,6 @@ $btn-inverse-bg-hl: lighten($dark-3, 4%);
$btn-inverse-text-color: $link-color; $btn-inverse-text-color: $link-color;
$btn-inverse-text-shadow: 0px 1px 0 rgba(0, 0, 0, 0.1); $btn-inverse-text-shadow: 0px 1px 0 rgba(0, 0, 0, 0.1);
$btn-active-bg: $gray-4;
$btn-active-text-color: $blue-dark;
$btn-link-color: $gray-3; $btn-link-color: $gray-3;
$iconContainerBackground: $black; $iconContainerBackground: $black;
...@@ -215,13 +204,11 @@ $dropdownBackground: $dark-3; ...@@ -215,13 +204,11 @@ $dropdownBackground: $dark-3;
$dropdownBorder: rgba(0, 0, 0, 0.2); $dropdownBorder: rgba(0, 0, 0, 0.2);
$dropdownDividerTop: transparent; $dropdownDividerTop: transparent;
$dropdownDividerBottom: #444; $dropdownDividerBottom: #444;
$dropdownDivider: $dropdownDividerBottom;
$dropdownLinkColor: $text-color; $dropdownLinkColor: $text-color;
$dropdownLinkColorHover: $white; $dropdownLinkColorHover: $white;
$dropdownLinkColorActive: $white; $dropdownLinkColorActive: $white;
$dropdownLinkBackgroundActive: $dark-4;
$dropdownLinkBackgroundHover: $dark-4; $dropdownLinkBackgroundHover: $dark-4;
// COMPONENT VARIABLES // COMPONENT VARIABLES
...@@ -264,9 +251,6 @@ $menu-dropdown-bg: $body-bg; ...@@ -264,9 +251,6 @@ $menu-dropdown-bg: $body-bg;
$menu-dropdown-hover-bg: $dark-2; $menu-dropdown-hover-bg: $dark-2;
$menu-dropdown-shadow: 5px 5px 20px -5px $black; $menu-dropdown-shadow: 5px 5px 20px -5px $black;
// Breadcrumb
// -------------------------
// Tabs // Tabs
// ------------------------- // -------------------------
$tab-border-color: $dark-4; $tab-border-color: $dark-4;
...@@ -274,9 +258,6 @@ $tab-border-color: $dark-4; ...@@ -274,9 +258,6 @@ $tab-border-color: $dark-4;
// Toolbar // Toolbar
$toolbar-bg: $input-black; $toolbar-bg: $input-black;
// Pagination
// -------------------------
// Form states and alerts // Form states and alerts
// ------------------------- // -------------------------
$warning-text-color: $warn; $warning-text-color: $warn;
...@@ -311,7 +292,6 @@ $tooltipBackground: $black; ...@@ -311,7 +292,6 @@ $tooltipBackground: $black;
$tooltipColor: $gray-4; $tooltipColor: $gray-4;
$tooltipArrowColor: $tooltipBackground; $tooltipArrowColor: $tooltipBackground;
$tooltipBackgroundError: $brand-danger; $tooltipBackgroundError: $brand-danger;
$tooltipBackgroundBrand: $brand-primary;
// images // images
$checkboxImageUrl: '../img/checkbox.png'; $checkboxImageUrl: '../img/checkbox.png';
...@@ -380,9 +360,7 @@ $checkbox-color: $dark-1; ...@@ -380,9 +360,7 @@ $checkbox-color: $dark-1;
//Panel Edit //Panel Edit
// ------------------------- // -------------------------
$panel-editor-shadow: 0 0 20px black; $panel-editor-shadow: 0 0 20px black;
$panel-editor-border: 1px solid $dark-3;
$panel-editor-side-menu-shadow: drop-shadow(0 0 10px $black); $panel-editor-side-menu-shadow: drop-shadow(0 0 10px $black);
$panel-editor-toolbar-view-bg: $input-black;
$panel-editor-viz-item-shadow: 0 0 8px $dark-5; $panel-editor-viz-item-shadow: 0 0 8px $dark-5;
$panel-editor-viz-item-border: 1px solid $dark-5; $panel-editor-viz-item-border: 1px solid $dark-5;
$panel-editor-viz-item-shadow-hover: 0 0 4px $blue; $panel-editor-viz-item-shadow-hover: 0 0 4px $blue;
...@@ -390,7 +368,6 @@ $panel-editor-viz-item-border-hover: 1px solid $blue; ...@@ -390,7 +368,6 @@ $panel-editor-viz-item-border-hover: 1px solid $blue;
$panel-editor-viz-item-bg: $input-black; $panel-editor-viz-item-bg: $input-black;
$panel-editor-tabs-line-color: #e3e3e3; $panel-editor-tabs-line-color: #e3e3e3;
$panel-editor-viz-item-bg-hover: darken($blue, 47%); $panel-editor-viz-item-bg-hover: darken($blue, 47%);
$panel-editor-viz-item-bg-hover-active: darken($orange, 45%);
$panel-options-group-border: none; $panel-options-group-border: none;
$panel-options-group-header-bg: $gray-blue; $panel-options-group-header-bg: $gray-blue;
......
// Cosmo 2.3.2
// Variables
// --------------------------------------------------
// Global values // Global values
// -------------------------------------------------- // --------------------------------------------------
...@@ -10,10 +6,6 @@ $theme-name: light; ...@@ -10,10 +6,6 @@ $theme-name: light;
// Grays // Grays
// ------------------------- // -------------------------
$black: #000; $black: #000;
// -------------------------
$black: #000;
$dark-1: #13161d;
$dark-2: #1e2028; $dark-2: #1e2028;
$dark-3: #303133; $dark-3: #303133;
$dark-4: #35373f; $dark-4: #35373f;
...@@ -31,13 +23,11 @@ $white: #fff; ...@@ -31,13 +23,11 @@ $white: #fff;
// Accent colors // Accent colors
// ------------------------- // -------------------------
$blue: #0083b3; $blue: #0083b3;
$blue-dark: #005f81;
$blue-light: #00a8e6; $blue-light: #00a8e6;
$green: #3aa655; $green: #3aa655;
$red: #d44939; $red: #d44939;
$yellow: #ff851b; $yellow: #ff851b;
$orange: #ff7941; $orange: #ff7941;
$pink: #e671b8;
$purple: #9954bb; $purple: #9954bb;
$variable: $blue; $variable: $blue;
...@@ -60,9 +50,9 @@ $critical: #ec2128; ...@@ -60,9 +50,9 @@ $critical: #ec2128;
// Scaffolding // Scaffolding
// ------------------------- // -------------------------
$body-bg: $gray-7; $body-bg: $gray-7;
$page-bg: $gray-7; $page-bg: $gray-7;
$body-color: $gray-1; $body-color: $gray-1;
$text-color: $gray-1; $text-color: $gray-1;
$text-color-strong: $dark-2; $text-color-strong: $dark-2;
...@@ -70,12 +60,17 @@ $text-color-weak: $gray-2; ...@@ -70,12 +60,17 @@ $text-color-weak: $gray-2;
$text-color-faint: $gray-4; $text-color-faint: $gray-4;
$text-color-emphasis: $dark-5; $text-color-emphasis: $dark-5;
$text-shadow-strong: none;
$text-shadow-faint: none; $text-shadow-faint: none;
$textShadow: none; $textShadow: none;
// gradients // gradients
$brand-gradient: linear-gradient(to right, rgba(255, 213, 0, 1) 0%, rgba(255, 68, 0, 1) 99%, rgba(255, 68, 0, 1) 100%); $brand-gradient: linear-gradient(
to right,
rgba(255, 213, 0, 1) 0%,
rgba(255, 68, 0, 1) 99%,
rgba(255, 68, 0, 1) 100%
);
$page-gradient: linear-gradient(180deg, $white 10px, $gray-7 100px); $page-gradient: linear-gradient(180deg, $white 10px, $gray-7 100px);
$edit-gradient: linear-gradient(-60deg, $gray-7, #f5f6f9 70%, $gray-7 98%); $edit-gradient: linear-gradient(-60deg, $gray-7, #f5f6f9 70%, $gray-7 98%);
...@@ -96,10 +91,8 @@ $hr-border-color: $dark-3 !default; ...@@ -96,10 +91,8 @@ $hr-border-color: $dark-3 !default;
// Panel // Panel
// ------------------------- // -------------------------
$panel-bg: $white; $panel-bg: $white;
$panel-border-color: $gray-5; $panel-border: solid 1px $gray-5;
$panel-border: solid 1px $panel-border-color;
$panel-header-hover-bg: $gray-6; $panel-header-hover-bg: $gray-6;
$panel-corner: $gray-4; $panel-corner: $gray-4;
...@@ -112,7 +105,6 @@ $divider-border-color: $gray-2; ...@@ -112,7 +105,6 @@ $divider-border-color: $gray-2;
// Graphite Target Editor // Graphite Target Editor
$tight-form-bg: #eaebee; $tight-form-bg: #eaebee;
$tight-form-func-bg: $gray-5; $tight-form-func-bg: $gray-5;
$tight-form-func-highlight-bg: $gray-6; $tight-form-func-highlight-bg: $gray-6;
...@@ -130,24 +122,23 @@ $list-item-bg: linear-gradient(135deg, $gray-5, $gray-6); //$card-background; ...@@ -130,24 +122,23 @@ $list-item-bg: linear-gradient(135deg, $gray-5, $gray-6); //$card-background;
$list-item-hover-bg: darken($gray-5, 5%); $list-item-hover-bg: darken($gray-5, 5%);
$list-item-link-color: $text-color; $list-item-link-color: $text-color;
$list-item-shadow: $card-shadow; $list-item-shadow: $card-shadow;
$empty-list-cta-bg: $gray-6; $empty-list-cta-bg: $gray-6;
// Scrollbars
$scrollbarBackground: $gray-5;
$scrollbarBackground2: $gray-5;
$scrollbarBorder: $gray-4;
// Tables // Tables
// ------------------------- // -------------------------
$table-bg: transparent; // overall background-color $table-bg: transparent; // overall background-color
$table-bg-accent: $gray-5; // for striping $table-bg-accent: $gray-5; // for striping
$table-bg-hover: $gray-5; // for hover
$table-bg-active: $table-bg-hover !default;
$table-border: $gray-3; // table and cell border $table-border: $gray-3; // table and cell border
$table-bg-odd: $gray-6; $table-bg-odd: $gray-6;
$table-bg-hover: $gray-5; $table-bg-hover: $gray-5;
// Scrollbars
$scrollbarBackground: $gray-5;
$scrollbarBackground2: $gray-5;
$scrollbarBorder: $gray-4;
// Buttons // Buttons
// ------------------------- // -------------------------
$btn-primary-bg: $brand-primary; $btn-primary-bg: $brand-primary;
...@@ -170,16 +161,14 @@ $btn-inverse-bg-hl: darken($gray-6, 5%); ...@@ -170,16 +161,14 @@ $btn-inverse-bg-hl: darken($gray-6, 5%);
$btn-inverse-text-color: $gray-1; $btn-inverse-text-color: $gray-1;
$btn-inverse-text-shadow: 0 1px 0 rgba(255, 255, 255, 0.4); $btn-inverse-text-shadow: 0 1px 0 rgba(255, 255, 255, 0.4);
$btn-active-bg: $white;
$btn-active-text-color: $blue;
$btn-link-color: $gray-1; $btn-link-color: $gray-1;
$iconContainerBackground: $white;
$btn-divider-left: $gray-4; $btn-divider-left: $gray-4;
$btn-divider-right: $gray-7; $btn-divider-right: $gray-7;
$btn-drag-image: '../img/grab_light.svg';
$iconContainerBackground: $white; $btn-drag-image: '../img/grab_light.svg';
// Forms // Forms
// ------------------------- // -------------------------
...@@ -196,29 +185,8 @@ $input-label-bg: $gray-5; ...@@ -196,29 +185,8 @@ $input-label-bg: $gray-5;
$input-label-border-color: $gray-5; $input-label-border-color: $gray-5;
$input-color-select-arrow: $gray-1; $input-color-select-arrow: $gray-1;
// Sidemenu // Input placeholder text color
// ------------------------- $placeholderText: $gray-2;
$side-menu-bg: $dark-2;
$side-menu-bg-mobile: rgba(0, 0, 0, 0); //$gray-6;
$side-menu-item-hover-bg: $gray-1;
$side-menu-shadow: 5px 0px 10px -5px $gray-1;
$side-menu-link-color: $gray-6;
// Menu dropdowns
// -------------------------
$menu-dropdown-bg: $gray-7;
$menu-dropdown-hover-bg: $gray-6;
$menu-dropdown-shadow: 5px 5px 10px -5px $gray-1;
// Breadcrumb
// -------------------------
// Tabs
// -------------------------
$tab-border-color: $gray-5;
// Toolbar
$toolbar-bg: white;
// search // search
$search-shadow: 0 5px 30px 0 $gray-4; $search-shadow: 0 5px 30px 0 $gray-4;
...@@ -235,52 +203,52 @@ $dropdownBackground: $white; ...@@ -235,52 +203,52 @@ $dropdownBackground: $white;
$dropdownBorder: $gray-4; $dropdownBorder: $gray-4;
$dropdownDividerTop: $gray-6; $dropdownDividerTop: $gray-6;
$dropdownDividerBottom: $white; $dropdownDividerBottom: $white;
$dropdownDivider: $dropdownDividerTop;
$dropdownLinkColor: $dark-3; $dropdownLinkColor: $dark-3;
$dropdownLinkColorHover: $link-color; $dropdownLinkColorHover: $link-color;
$dropdownLinkColorActive: $link-color; $dropdownLinkColorActive: $link-color;
$dropdownLinkBackgroundActive: $gray-6;
$dropdownLinkBackgroundHover: $gray-6; $dropdownLinkBackgroundHover: $gray-6;
// COMPONENT VARIABLES
// --------------------------------------------------
// Input placeholder text color
// -------------------------
$placeholderText: $gray-2;
// Hr border color
// -------------------------
$hrBorder: $gray-3;
// Horizontal forms & lists // Horizontal forms & lists
// ------------------------- // -------------------------
$horizontalComponentOffset: 180px; $horizontalComponentOffset: 180px;
// Wells
// -------------------------
// Navbar // Navbar
// ------------------------- // -------------------------
$navbarHeight: 52px; $navbarHeight: 52px;
$navbarBackground: $white; $navbarBackground: $white;
$navbarBorder: 1px solid $gray-4; $navbarBorder: 1px solid $gray-4;
$navbarShadow: 0 0 3px #c1c1c1; $navbarShadow: 0 0 3px #c1c1c1;
$navbarLinkColor: #444; $navbarLinkColor: #444;
$navbarBrandColor: $navbarLinkColor;
$navbarButtonBackground: lighten($navbarBackground, 3%); $navbarButtonBackground: lighten($navbarBackground, 3%);
$navbarButtonBackgroundHighlight: lighten($navbarBackground, 5%); $navbarButtonBackgroundHighlight: lighten($navbarBackground, 5%);
$navbar-button-border: $gray-4; $navbar-button-border: $gray-4;
// Pagination // Sidemenu
// ------------------------- // -------------------------
$side-menu-bg: $dark-2;
$side-menu-bg-mobile: rgba(0, 0, 0, 0); //$gray-6;
$side-menu-item-hover-bg: $gray-1;
$side-menu-shadow: 5px 0px 10px -5px $gray-1;
$side-menu-link-color: $gray-6;
// Menu dropdowns
// -------------------------
$menu-dropdown-bg: $gray-7;
$menu-dropdown-hover-bg: $gray-6;
$menu-dropdown-shadow: 5px 5px 10px -5px $gray-1;
// Tabs
// -------------------------
$tab-border-color: $gray-5;
// Toolbar
$toolbar-bg: white;
// Form states and alerts // Form states and alerts
// ------------------------- // -------------------------
...@@ -302,6 +270,7 @@ $popover-shadow: 0 0 20px $white; ...@@ -302,6 +270,7 @@ $popover-shadow: 0 0 20px $white;
$popover-help-bg: $blue; $popover-help-bg: $blue;
$popover-help-color: $gray-6; $popover-help-color: $gray-6;
$popover-error-bg: $btn-danger-bg; $popover-error-bg: $btn-danger-bg;
// Tooltips and popovers // Tooltips and popovers
...@@ -315,7 +284,6 @@ $tooltipBackground: $gray-1; ...@@ -315,7 +284,6 @@ $tooltipBackground: $gray-1;
$tooltipColor: $gray-7; $tooltipColor: $gray-7;
$tooltipArrowColor: $tooltipBackground; // Used by Angular tooltip $tooltipArrowColor: $tooltipBackground; // Used by Angular tooltip
$tooltipBackgroundError: $brand-danger; $tooltipBackgroundError: $brand-danger;
$tooltipBackgroundBrand: $brand-primary;
// images // images
$checkboxImageUrl: '../img/checkbox_white.png'; $checkboxImageUrl: '../img/checkbox_white.png';
...@@ -327,8 +295,6 @@ $info-box-border-color: lighten($blue, 20%); ...@@ -327,8 +295,6 @@ $info-box-border-color: lighten($blue, 20%);
$footer-link-color: $gray-3; $footer-link-color: $gray-3;
$footer-link-hover: $dark-5; $footer-link-hover: $dark-5;
// collapse box
// json explorer // json explorer
$json-explorer-default-color: black; $json-explorer-default-color: black;
$json-explorer-string-color: green; $json-explorer-string-color: green;
...@@ -348,9 +314,6 @@ $json-explorer-url-color: blue; ...@@ -348,9 +314,6 @@ $json-explorer-url-color: blue;
$diff-label-bg: $gray-5; $diff-label-bg: $gray-5;
$diff-label-fg: $gray-2; $diff-label-fg: $gray-2;
$diff-switch-bg: $gray-7;
$diff-switch-disabled: $gray-5;
$diff-arrow-color: $dark-3; $diff-arrow-color: $dark-3;
$diff-group-bg: $gray-7; $diff-group-bg: $gray-7;
...@@ -365,6 +328,7 @@ $diff-json-new: #664e33; ...@@ -365,6 +328,7 @@ $diff-json-new: #664e33;
$diff-json-changed-fg: $gray-6; $diff-json-changed-fg: $gray-6;
$diff-json-changed-num: $gray-4; $diff-json-changed-num: $gray-4;
$diff-json-icon: $gray-4; $diff-json-icon: $gray-4;
//Submenu //Submenu
...@@ -388,9 +352,7 @@ $checkbox-color: $gray-7; ...@@ -388,9 +352,7 @@ $checkbox-color: $gray-7;
//Panel Edit //Panel Edit
// ------------------------- // -------------------------
$panel-editor-shadow: 0px 0px 8px $gray-3; $panel-editor-shadow: 0px 0px 8px $gray-3;
$panel-editor-border: 1px solid $dark-4;
$panel-editor-side-menu-shadow: drop-shadow(0 0 2px $gray-3); $panel-editor-side-menu-shadow: drop-shadow(0 0 2px $gray-3);
$panel-editor-toolbar-view-bg: $white;
$panel-editor-viz-item-shadow: 0 0 4px $gray-3; $panel-editor-viz-item-shadow: 0 0 4px $gray-3;
$panel-editor-viz-item-border: 1px solid $gray-3; $panel-editor-viz-item-border: 1px solid $gray-3;
$panel-editor-viz-item-shadow-hover: 0 0 4px $blue-light; $panel-editor-viz-item-shadow-hover: 0 0 4px $blue-light;
...@@ -398,7 +360,6 @@ $panel-editor-viz-item-border-hover: 1px solid $blue-light; ...@@ -398,7 +360,6 @@ $panel-editor-viz-item-border-hover: 1px solid $blue-light;
$panel-editor-viz-item-bg: $white; $panel-editor-viz-item-bg: $white;
$panel-editor-tabs-line-color: $dark-5; $panel-editor-tabs-line-color: $dark-5;
$panel-editor-viz-item-bg-hover: lighten($blue, 62%); $panel-editor-viz-item-bg-hover: lighten($blue, 62%);
$panel-editor-viz-item-bg-hover-active: lighten($orange, 34%);
$panel-options-group-border: none; $panel-options-group-border: none;
$panel-options-group-header-bg: $gray-5; $panel-options-group-header-bg: $gray-5;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment