You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
devdocs/assets/stylesheets/global/_variables.scss

99 lines
2.2 KiB

// TODO: convert uses of these to CSS variables
$sidebarBackground: #f9f9f9;
$headerBackground: #eee;
$contentBackground: #fff;
html:not(.dark) {
--baseFont: -apple-system, BlinkMacSystemFont, 'San Francisco', 'Segoe UI', Roboto, Ubuntu, 'Helvetica Neue', Arial, sans-serif;
--monoFont: 'SFMono-Regular', Consolas, 'Liberation Mono', Menlo, Courier, monospace;
--boldFontWeight: 500;
--bolderFontWeight: 600;
10 years ago
--absolute: black;
--maxWidth: 80rem;
--headerHeight: 3rem;
--sidebarWidth: 20rem;
--sidebarMediumWidth: 16rem;
10 years ago
--documentBackground: #f3f3f3;
--contentBackground: $contentBackground;
10 years ago
--textColor: #333;
--textColorLight: #666;
--textColorLighter: #888;
--textColorRed: #f44336;
10 years ago
--inputFocusBorder: #35b5f4;
10 years ago
--focusBackground: #e5e5e5;
--focusBorder: #d4d4d4;
--focusText: #000;
10 years ago
--loadingText: #ccc;
--splashText: #ccc;
10 years ago
--selectionBackground: #398df0;
--selectionBorder: #196fc2;
--selectionText: #fff;
--transparentSelectionText: rgba(255, 255, 255, 0.9);
11 years ago
--highlightBackground: #fffdcd;
11 years ago
--linkColor: #3377c0;
--linkColorHover: #2f6cb6;
--linkTextDecoration: none;
11 years ago
--headerBackground: $headerBackground;
--headerBorder: #d7d7d7;
10 years ago
--sidebarBackground: $sidebarBackground;
--sidebarBorder: #e1e1e1;
10 years ago
--scrollbarColor: #ccc;
--scrollbarColorHover: #999;
10 years ago
--pathBackground: var(--sidebarBackground);
--pathBorder: var(--sidebarBorder);
10 years ago
--noticeBackground: #faf9e2;
--noticeBorder: #e2e2c1;
10 years ago
--boxBackground: #fafafa;
--boxBorder: #d8d8d8;
--boxBorderLight: #e5e5e5;
--boxHeaderColor: var(--textColor);
--boxHeaderBackground: #f5f5f5;
10 years ago
--noteBackground: #f8f8dd;
--noteBorder: #d3d952;
10 years ago
--noteGreenBackground: #e7f8e1;
--noteGreenBorder: #89da70;
10 years ago
--noteBlueBackground: #d4f3fd;
--noteBlueBorder: #94bbeb;
10 years ago
--noteOrangeBackground: #fbe6d1;
--noteOrangeBorder: #ec8b01;
10 years ago
--noteRedBackground: #fed5d3;
--noteRedBorder: #dc7874;
10 years ago
--labelBackground: #f4f4f4;
11 years ago
--notifBackground: rgba(#333, .85);
--notifBorder: none;
--notifColor: #fff;
--notifColorLight: #ccc;
--tipBackground: rgba(#fffdcd, .95);
--tipBorder: 1px solid #e7dca9;
11 years ago
--contentZ: 1;
--sidebarZ: 2;
--headerZ: 3;
--noticeZ: 4;
--hoverZ: 5;
}