Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

asdf

  • Loading branch information...
commit c541d2200d8ae92c14f15a9bb423c202d8ef0e87 1 parent 89b5e41
Ting-Yen Lai authored
Showing with 34 additions and 6 deletions.
  1. +31 −3 less/forms.less
  2. +3 −3 less/variables.less
34 less/forms.less
View
@@ -698,6 +698,34 @@ legend + .control-group {
// Form controls
// -------------------------
+// Shared size and type resets
+select,
+textarea,
+input[type="text"],
+input[type="password"],
+input[type="datetime"],
+input[type="datetime-local"],
+input[type="date"],
+input[type="month"],
+input[type="time"],
+input[type="week"],
+input[type="number"],
+input[type="email"],
+input[type="url"],
+input[type="search"],
+input[type="tel"],
+input[type="color"],
+.uneditable-input {
+ display: inline-block;
+ height: @baseLineHeight;
+ padding: 4px 6px;
+ margin-bottom: @baseLineHeight / 2;
+ font-size: @baseFontSize;
+ line-height: @baseLineHeight;
+ color: @gray;
+ .border-radius(@inputBorderRadius);
+}
+
// Everything else
textarea,
input[type="text"],
@@ -716,13 +744,13 @@ input[type="tel"],
input[type="color"],
.uneditable-input {
background-color: @inputBackground;
- border: none;
+ border: 1px solid @grayLighter;
.box-shadow(~"0 1px 0 white, inset 0 1px 3px rgba(0, 0, 0, 0.5)");
// .transition(~"border linear .2s, box-shadow linear .2s");
- // Focus state
+ Focus state
&:focus {
- border-color: rgba(82,168,236,.8);
+ border-color: $blue;
outline: 0;
outline: thin dotted \9; /* IE6-9 */
// .box-shadow(~"inset 0 1px 1px rgba(0,0,0,.075), 0 0 8px rgba(82,168,236,.6)");
6 less/variables.less
View
@@ -331,7 +331,7 @@
@paddingExtraLarge: 16px 28px; // 44px
-
-// Forms
+// Links
// -------------------------
-// @inputBackground: @grayLighter;
+@linkColor: @blue;
+@linkColorHover: darken(@linkColor, 15%);
Please sign in to comment.
Something went wrong with that request. Please try again.