5 changed files with 130 additions and 31 deletions
Unified View
Diff Options
-
24build/less/themes/packages/flat/collections/form.overrides
-
74build/less/themes/packages/flat/collections/form.variables
-
26server/files/javascript/semantic.js
-
22server/files/stylesheets/semantic.css
-
15server/partials/header.html.eco
@ -0,0 +1,24 @@ |
|||||
|
/******************************* |
||||
|
Overrides |
||||
|
*******************************/ |
||||
|
|
||||
|
.ui.form input[type="text"], |
||||
|
.ui.form input[type="email"], |
||||
|
.ui.form input[type="date"], |
||||
|
.ui.form input[type="password"], |
||||
|
.ui.form input[type="number"], |
||||
|
.ui.form input[type="url"], |
||||
|
.ui.form input[type="tel"] { |
||||
|
border-bottom: 1px solid #DDDDDD; |
||||
|
} |
||||
|
|
||||
|
.ui.form .selection.dropdown { |
||||
|
border: none; |
||||
|
box-shadow: none !important; |
||||
|
border-bottom: 1px solid #DDDDDD; |
||||
|
border-radius: 0em !important; |
||||
|
} |
||||
|
|
||||
|
.ui.form .ui.icon.input > .icon { |
||||
|
width: 1em; |
||||
|
} |
@ -0,0 +1,74 @@ |
|||||
|
/******************************* |
||||
|
Form |
||||
|
*******************************/ |
||||
|
|
||||
|
/*------------------- |
||||
|
Elements |
||||
|
--------------------*/ |
||||
|
|
||||
|
|
||||
|
/* Text */ |
||||
|
@paragraphMargin: 1em 0em; |
||||
|
|
||||
|
/* Field */ |
||||
|
@fieldMargin: 0em 0em 1em; |
||||
|
|
||||
|
/* Form Label */ |
||||
|
@labelFontSize: 0.8em; |
||||
|
@labelTextTransform: uppercase; |
||||
|
|
||||
|
@groupedLabelTextTransform: none; |
||||
|
|
||||
|
/* Input */ |
||||
|
@inputVerticalPadding: 0.8em; |
||||
|
@inputHorizontalPadding: 0.5em; |
||||
|
@inputBackground: transparent; |
||||
|
@inputBorder: none; |
||||
|
@inputBorderRadius: 0em; |
||||
|
@inputBoxShadow: none; |
||||
|
|
||||
|
@textAreaPadding: 1em; |
||||
|
@textAreaBackground: transparent; |
||||
|
@textAreaFocusBackground: #EEEEEE; |
||||
|
@textAreaBorder: 1px solid #DDDDDD; |
||||
|
|
||||
|
/* Divider */ |
||||
|
@dividerMargin: 1em 0em; |
||||
|
|
||||
|
/* Validation Prompt */ |
||||
|
@validationMargin: 0em 0em 0em 1em; |
||||
|
@validationArrowOffset: -0.3em; |
||||
|
|
||||
|
/*------------------- |
||||
|
States |
||||
|
--------------------*/ |
||||
|
|
||||
|
/* Disabled */ |
||||
|
|
||||
|
/* Focus */ |
||||
|
@inputFocusPointerSize: 0px; |
||||
|
@inputErrorPointerSize: 0px; |
||||
|
|
||||
|
/* Dropdown Error */ |
||||
|
@dropdownErrorHoverBackground: #FFF2F2; |
||||
|
@dropdownErrorActiveBackground: #FDCFCF; |
||||
|
|
||||
|
/* Focused Error */ |
||||
|
@inputErrorFocusBackground: @negativeBackgroundColor; |
||||
|
@inputErrorFocusColor: @negativeColorHover; |
||||
|
@inputErrorFocusBorder: @negativeBorderColor; |
||||
|
@inputErrorFocusBoxShadow: @inputErrorPointerSize 0em 0em 0em @negativeColorHover inset; |
||||
|
|
||||
|
/* Placeholder */ |
||||
|
@inputPlaceholderColor: lighten(@inputColor, 55); |
||||
|
@inputPlaceholderFocusColor: lighten(@inputColor, 35); |
||||
|
@inputErrorPlaceholderColor: lighten(@formErrorColor, 10); |
||||
|
@inputErrorPlaceholderFocusColor: lighten(@formErrorColor, 5); |
||||
|
|
||||
|
/* Loading */ |
||||
|
@formLoaderDimmerColor: rgba(255, 255, 255, 0.6); |
||||
|
@formLoaderPath: "@{imagePath}/loader-large.gif"; |
||||
|
@formLoaderPosition: 50% 50%; |
||||
|
|
||||
|
/* (x) Wide Field */ |
||||
|
@gutterWidth: 1.5em; |
Write
Preview
Loading…
Cancel
Save