jlukic
10 years ago
22 changed files with 660 additions and 322 deletions
Split View
Diff Options
-
27src/collections/menu.less
-
101src/elements/button.less
-
68src/elements/divider.less
-
106src/elements/header.less
-
6src/elements/image.less
-
169src/elements/input.less
-
61src/elements/segment.less
-
22src/themes/default/collections/menu.variables
-
55src/themes/default/elements/button.variables
-
3src/themes/default/elements/divider.overrides
-
48src/themes/default/elements/divider.variables
-
78src/themes/default/elements/header.variables
-
30src/themes/default/elements/image.variables
-
3src/themes/default/elements/input.overrides
-
102src/themes/default/elements/input.variables
-
53src/themes/default/elements/segment.variables
-
36src/themes/github/collections/menu.variables
-
2src/themes/github/elements/button.variables
-
3src/themes/user/elements/divider.overrides
-
3src/themes/user/elements/divider.variables
-
3src/themes/user/elements/input.overrides
-
3src/themes/user/elements/input.variables
@ -0,0 +1,3 @@ |
|||
/******************************* |
|||
Overrides |
|||
*******************************/ |
@ -0,0 +1,48 @@ |
|||
/******************************* |
|||
Standard |
|||
*******************************/ |
|||
|
|||
/*------------------- |
|||
Divider |
|||
--------------------*/ |
|||
|
|||
@highlightWidth: 1px; |
|||
@highlightColor: rgba(255, 255, 255, 0.8); |
|||
|
|||
@shadowWidth: 1px; |
|||
@shadowColor: rgba(0, 0, 0, 0.1); |
|||
|
|||
@dividerTextColor: @textColor; |
|||
|
|||
/*------------------- |
|||
Coupling |
|||
--------------------*/ |
|||
|
|||
/* Icon */ |
|||
|
|||
@dividerIconSize: 1rem; |
|||
@dividerIconMargin: 0rem; |
|||
|
|||
|
|||
/******************************* |
|||
Variations |
|||
*******************************/ |
|||
|
|||
/* Horizontal / Vertical */ |
|||
@directionalFontSize: 0.875rem; |
|||
@directionalTextColor: @invertedLightTextColor; |
|||
|
|||
@horizontalDividerVerticalMargin: 1rem; |
|||
@horizontalDividerHorizontalMargin: 1.5rem; |
|||
|
|||
@verticalDividerWidth: 6%; |
|||
|
|||
/* Inverted */ |
|||
@invertedTextColor: @white; |
|||
|
|||
@invertedHighlightColor: rgba(255, 255, 255, 0.15); |
|||
@invertedShadowColor: rgba(0, 0, 0, 0.15); |
|||
|
|||
/* Section */ |
|||
@sectionMargin: 2rem; |
|||
|
@ -0,0 +1,3 @@ |
|||
/******************************* |
|||
Overrides |
|||
*******************************/ |
@ -0,0 +1,102 @@ |
|||
/*------------------- |
|||
Globals Used |
|||
--------------------*/ |
|||
|
|||
// (Color Variables) |
|||
// @transitionDuration |
|||
// @transitionEasing |
|||
// @iconWidth |
|||
// @borderColor |
|||
// @textColor, @invertedTextColor |
|||
|
|||
/*------------------- |
|||
Element |
|||
--------------------*/ |
|||
|
|||
@fontFamily: "Helvetica Neue", "Helvetica", Arial; |
|||
|
|||
@verticalPadding: 0.65em; |
|||
@horizontalPadding: 1em; |
|||
@inputHeight: (@verticalPadding * 2) + 1.5; |
|||
|
|||
@background: #FFFFFF; |
|||
@borderWidth: 1px; |
|||
@border: @borderWidth solid rgba(0, 0, 0, 0.15); |
|||
@boxShadow: none; |
|||
|
|||
@borderRadius: 0.3125em; |
|||
@transition: |
|||
background-color 0.3s ease-out, |
|||
box-shadow 0.2s ease, |
|||
border-color 0.2s ease |
|||
; |
|||
|
|||
@inputColor: @textColor; |
|||
|
|||
/*------------------- |
|||
Types |
|||
--------------------*/ |
|||
|
|||
/* Icon */ |
|||
@iconOpacity: 0.5; |
|||
@iconOffset: 0.82em; |
|||
@iconFocusOpacity: 1; |
|||
@iconMargin: 2.75em; |
|||
@iconTransition: opacity 0.3s ease-out; |
|||
|
|||
/* Circular Icon Input */ |
|||
@circularIconVerticalOffset: 0.35em; |
|||
@circularIconHorizontalOffset: 0.5em; |
|||
|
|||
/* Labeled */ |
|||
@labelSize: 0.55em; |
|||
@labelIconPosition: 0.4em 0em 0em 2em; |
|||
|
|||
@labelMargin: 3.25em; |
|||
@labelIconMargin: 1.25em; |
|||
|
|||
/*------------------- |
|||
States |
|||
--------------------*/ |
|||
|
|||
/* Placeholder */ |
|||
@placeholderColor: @unselectedTextColor; |
|||
@placeholderFocusColor: @textColor; |
|||
|
|||
@placeholderErrorColor: rgba(255, 80, 80, 0.4); |
|||
@placeholderErrorFocusColor: rgba(255, 80, 80, 0.7); |
|||
|
|||
/* Down */ |
|||
@downBorderColor: rgba(0, 0, 0, 0.3); |
|||
@downBackground: #FAFAFA; |
|||
@downColor: @textColor; |
|||
@downBoxShadow: none; |
|||
|
|||
/* Focus */ |
|||
@focusBorderColor: @selectedBorderColor; |
|||
@focusBackground: ''; |
|||
@focusColor: @selectedTextColor; |
|||
@focusBoxShadow: none; |
|||
|
|||
/* Error */ |
|||
@errorBackground: #FFFAFA; |
|||
@errorBorder: #E7BEBE; |
|||
@errorColor: #D95C5C; |
|||
@errorBoxShadow: none; |
|||
|
|||
/* Loading */ |
|||
@loadingImage: "../images/loader-mini.gif"; |
|||
|
|||
/*------------------- |
|||
Variations |
|||
--------------------*/ |
|||
|
|||
/* Sizing */ |
|||
@mini: 0.8125rem; |
|||
@small: 0.875rem; |
|||
@medium: 1rem; |
|||
@large: 1.125rem; |
|||
@big: 1.25rem; |
|||
@huge: 1.375rem; |
|||
@massive: 1.5rem; |
|||
|
@ -0,0 +1,3 @@ |
|||
/******************************* |
|||
Overrides |
|||
*******************************/ |
@ -0,0 +1,3 @@ |
|||
/******************************* |
|||
User Variable Overrides |
|||
*******************************/ |
@ -0,0 +1,3 @@ |
|||
/******************************* |
|||
Overrides |
|||
*******************************/ |
@ -0,0 +1,3 @@ |
|||
/******************************* |
|||
User Variable Overrides |
|||
*******************************/ |
Write
Preview
Loading…
Cancel
Save