Skip to content
Browse files

Merge pull request #122 from asgeo1/bootstrap_fixes

Add support for boostrap `input-sm` and `input-lg` classes
  • Loading branch information...
2 parents fad977e + f80a865 commit c4060b468c78cc8f83fcda80e88c728f02756c1a @claviska committed
Showing with 15 additions and 1 deletion.
  1. +15 −1 jquery.minicolors.css
View
16 jquery.minicolors.css
@@ -232,6 +232,9 @@
height: 28px;
border-radius: 3px;
}
+.minicolors-theme-bootstrap .minicolors-swatch-color {
+ border-radius: inherit;
+}
.minicolors-theme-bootstrap.minicolors-position-right .minicolors-swatch {
left: auto;
right: 3px;
@@ -242,4 +245,15 @@
.minicolors-theme-bootstrap.minicolors-position-right .minicolors-input {
padding-right: 44px;
padding-left: 12px;
-}
+}
+.minicolors-theme-bootstrap .minicolors-input.input-lg + .minicolors-swatch {
+ top: 4px;
+ left: 4px;
+ width: 37px;
+ height: 37px;
+ border-radius: 5px;
+}
+.minicolors-theme-bootstrap .minicolors-input.input-sm + .minicolors-swatch {
+ width: 24px;
+ height: 24px;
+}

0 comments on commit c4060b4

Please sign in to comment.
Something went wrong with that request. Please try again.