Initial Commit Rework

This commit is contained in:
Qstick 2017-09-03 22:20:56 -04:00
parent 74a4cc048c
commit 95051cbd63
2483 changed files with 101351 additions and 111396 deletions

View file

@ -0,0 +1,3 @@
.clickable {
cursor: pointer;
}

View file

@ -0,0 +1,8 @@
.cover {
position: absolute;
top: 0;
left: 0;
display: block;
width: 100%;
height: 100%;
}

View file

@ -0,0 +1,11 @@
.linkOverlay {
composes: cover from 'Styles/Mixins/cover.css';
pointer-events: none;
user-select: none;
a,
button {
pointer-events: all;
}
}

View file

@ -0,0 +1,26 @@
.scrollbar {
&::-webkit-scrollbar {
width: 6px;
height: 6px;
}
}
.scrollbarTrack {
&&::-webkit-scrollbar-track {
background-color: transparent;
}
}
.scrollbarThumb {
&::-webkit-scrollbar-thumb {
min-height: 50px;
border: 1px solid transparent;
border-radius: 5px;
background-color: $scrollbarBackgroundColor;
background-clip: padding-box;
&:hover {
background-color: $scrollbarHoverBackgroundColor;
}
}
}

View file

@ -0,0 +1,18 @@
/**
* From: https://github.com/suitcss/utils-text/blob/master/lib/text.css
*
* Text truncation
*
* Prevent text from wrapping onto multiple lines, and truncate with an
* ellipsis.
*
* 1. Ensure that the node has a maximum width after which truncation can
* occur.
*/
.truncate {
overflow: hidden !important;
max-width: 100%; /* 1 */
text-overflow: ellipsis !important;
white-space: nowrap !important;
}

View file

@ -0,0 +1,8 @@
// Use CommonJS since this is consumed by PostCSS via webpack (node.js).
module.exports = {
// Durations
defaultSpeed: '0.2s',
slowSpeed: '0.6s',
fastSpeed: '0.1s'
};

View file

@ -0,0 +1,170 @@
module.exports = {
defaultColor: '#333',
disabledColor: '#999',
black: '#000',
white: '#fff',
primaryColor: '#0b8750',
selectedColor: '#f9be03',
successColor: '#27c24c',
dangerColor: '#f05050',
warningColor: '#ffa500',
infoColor: '#00A65B',
purple: '#7a43b6',
nzbdronePurple: '#7932ea',
nzbdronePink: '#f43565',
sonarrBlue: '#00A65B',
helpTextColor: '#909293',
gray: '#adadad',
// Theme Colors
themeBlue: '#00A65B',
themeRed: '#c4273c',
themeDarkColor: '#216044',
themeLightColor: '#216044',
torrentColor: '#00853d',
usenetColor: '#17b1d9',
// Links
defaultLinkHoverColor: '#fff',
linkColor: '#0b8750',
linkHoverColor: '#1b72e2',
// Sidebar
sidebarColor: '#e1e2e3',
sidebarBackgroundColor: '#216044',
sidebarActiveBackgroundColor: '#353535',
// Toolbar
toolbarColor: '#e1e2e3',
toolbarBackgroundColor: '#216044',
toolbarMenuItemBackgroundColor: '#4D8069',
toolbarMenuItemHoverBackgroundColor: '#216044',
toolbarLabelColor: '#8895aa',
// Accents
borderColor: '#e5e5e5',
inputBorderColor: '#dde6e9',
inputBoxShadowColor: 'rgba(0, 0, 0, 0.075)',
inputFocusBorderColor: '#66afe9',
inputFocusBoxShadowColor: 'rgba(102, 175, 233, 0.6)',
inputErrorBorderColor: '#f05050',
inputErrorBoxShadowColor: 'rgba(240, 80, 80, 0.6)',
inputWarningBorderColor: '#ffa500',
inputWarningBoxShadowColor: 'rgba(255, 165, 0, 0.6)',
//
// Buttons
defaultBackgroundColor: '#fff',
defaultBorderColor: '#eaeaea',
defaultHoverBackgroundColor: '#f5f5f5',
defaultHoverBorderColor: '#d6d6d6;',
primaryBackgroundColor: '#0b8750',
primaryBorderColor: '#216044',
primaryHoverBackgroundColor: '#097948',
primaryHoverBorderColor: '#1D563D;',
successBackgroundColor: '#27c24c',
successBorderColor: '#26be4a',
successHoverBackgroundColor: '#24b145',
successHoverBorderColor: '#1f9c3d;',
warningBackgroundColor: '#ff902b',
warningBorderColor: '#ff8d26',
warningHoverBackgroundColor: '#ff8517',
warningHoverBorderColor: '#fc7800;',
dangerBackgroundColor: '#f05050',
dangerBorderColor: '#f04b4b',
dangerHoverBackgroundColor: '#ee3d3d',
dangerHoverBorderColor: '#ec2626;',
iconButtonHoverColor: '#666',
//
// Modal
modalBackdropBackgroundColor: 'rgba(0, 0, 0, 0.6)',
modalBackgroundColor: '#fff',
modalCloseButtonHoverColor: '#888',
//
// Menu
menuItemColor: '#e1e2e3',
menuItemHoverColor: '#fbfcfc',
//
// Toolbar
toobarButtonHoverColor: '#00A65B',
toobarButtonSelectedColor: '#00A65B',
//
// Scroller
scrollbarBackgroundColor: '#9ea4b9',
scrollbarHoverBackgroundColor: '#656d8c',
//
// Card
cardShadowColor: '#e1e1e1',
cardAlternateBackgroundColor: '#f5f5f5',
//
// Alert
alertDangerBorderColor: '#ebccd1',
alertDangerBackgroundColor: '#f2dede',
alertDangerColor: '#a94442',
alertInfoBorderColor: '#bce8f1',
alertInfoBackgroundColor: '#d9edf7',
alertInfoColor: '#31708f',
alertSuccessBorderColor: '#d6e9c6',
alertSuccessBackgroundColor: '#dff0d8',
alertSuccessColor: '#3c763d',
alertWarningBorderColor: '#faebcc',
alertWarningBackgroundColor: '#fcf8e3',
alertWarningColor: '#8a6d3b',
//
// Slider
sliderAccentColor: '#0b8750',
//
// Form
advancedFormLabelColor: '#ff902b',
disabledCheckInputColor: '#ddd',
//
// Popover
popoverTitleBackgroundColor: '#f7f7f7',
popoverTitleBorderColor: '#ebebeb',
popoverShadowColor: 'rgba(0, 0, 0, 0.2)',
popoverArrowBorderColor: 'rgba(0, 0, 0, 0.25)',
popoverTitleBackgroundInverseColor: '#3a3f51',
popoverTitleBorderInverseColor: '#216044',
popoverShadowInverseColor: 'rgba(0, 0, 0, 0.2)',
popoverArrowBorderInverseColor: 'rgba(58, 63, 81, 0.75)',
//
// Calendar
calendarTodayBackgroundColor: '#ddd',
//
// Table
tableRowHoverBackgroundColor: '#fafbfc'
};

View file

@ -0,0 +1,43 @@
module.exports = {
// Page
pageContentBodyPadding: '20px',
pageContentBodyPaddingSmallScreen: '10px',
// Header
headerHeight: '60px',
// Sidebar
sidebarWidth: '210px',
// Toolbar
toolbarHeight: '60px',
toolbarButtonWidth: '60px',
toolbarSeparatorMargin: '20px',
// Break Points
breakpointExtraSmall: '480px',
breakpointSmall: '768px',
breakpointMedium: '992px',
breakpointLarge: '1200px',
// Form
formGroupSmallWidth: '650px',
formGroupMediumWidth: '800px',
formGroupLargeWidth: '1200px',
formLabelWidth: '250px',
formLabelRightMarginWidth: '20px',
// Drag
dragHandleWidth: '40px',
// Progress Bar
progressBarSmallHeight: '5px',
progressBarMediumHeight: '15px',
progressBarLargeHeight: '20px',
// Jump Bar
jumpBarItemHeight: '25px'
// Series
};

View file

@ -0,0 +1,11 @@
module.exports = {
// Families
defaultFontFamily: 'Roboto, "open sans", "Helvetica Neue", Helvetica, Arial, sans-serif',
monoSpaceFontFamily: '"Ubuntu Mono", Menlo, Monaco, Consolas, "Courier New", monospace;',
// Sizes
extraSmallFontSize: '11px',
smallFontSize: '12px',
defaultFontSize: '14px',
largeFontSize: '16px'
};

View file

@ -0,0 +1,4 @@
@import '~normalize.css/normalize.css';
@import 'scaffolding.css';
@import '../Content/Fonts/fonts.css';
@import '../Content/Fonts/font-awesome.css';

View file

@ -0,0 +1,42 @@
* {
box-sizing: border-box;
}
*:before,
*:after {
box-sizing: border-box;
}
*:focus {
outline: none;
}
html,
body {
color: #515253;
font-family: "Roboto", "open sans", "Helvetica Neue", Helvetica, Arial, sans-serif;
}
body {
font-size: 14px;
line-height: 1.528571429; /* 20/14 */
}
/* Override normalize */
button,
input,
optgroup,
select,
textarea {
margin: 0;
font-size: inherit;
font-family: inherit;
line-height: 1.528571429; /* 20/14 */
}
/* Better defaults for unordererd lists */
ul {
margin: 0;
padding-left: 20px;
}