Browse Source

Adds #316 default select stylings now included in form

pull/1177/head
jlukic 10 years ago
parent
commit
ecc4d1ed27
2 changed files with 27 additions and 0 deletions
  1. 18
      src/definitions/collections/form.less
  2. 9
      src/themes/packages/default/collections/form.variables

18
src/definitions/collections/form.less

@ -154,6 +154,24 @@
width: auto; width: auto;
} }
/*--------------------
Basic Select
---------------------*/
.ui.form select {
display: block;
height: auto;
width: 100%;
background: @selectBackground;
border: @selectBorder;
border-radius: @selectBorderRadius;
box-shadow: @selectBoxShadow;
padding: @selectPadding;
color: @selectColor;
transition: @selectTransition;
}
/*-------------------- /*--------------------
Dropdown Dropdown
---------------------*/ ---------------------*/

9
src/themes/packages/default/collections/form.variables

@ -51,6 +51,15 @@
; ;
@inputBoxShadow: 0em 0em 0em 0em transparent inset; @inputBoxShadow: 0em 0em 0em 0em transparent inset;
/* Select */
@selectBackground: @white;
@selectBorderRadius: @inputBorderRadius;
@selectBorder: @inputBorder;
@selectPadding: 0.62em @inputHorizontalPadding;
@selectBoxShadow: @inputBoxShadow;
@selectTransition: @inputTransition;
@selectColor: @inputColor;
/* Text Area */ /* Text Area */
@textAreaPadding: @inputVerticalPadding @inputHorizontalPadding; @textAreaPadding: @inputVerticalPadding @inputHorizontalPadding;
@textAreaHeight: 12em; @textAreaHeight: 12em;

Loading…
Cancel
Save