File tree Expand file tree Collapse file tree 6 files changed +163
-131
lines changed Expand file tree Collapse file tree 6 files changed +163
-131
lines changed Original file line number Diff line number Diff line change 12
12
var $ = require ( 'jquery' ) ;
13
13
14
14
function wrapSelects ( selector ) {
15
- $ ( selector ) . each ( function ( ) {
15
+ $ ( selector ) . each ( function ( ) {
16
16
var $this = $ ( this ) ;
17
-
18
- if ( $this . parent ( '.select' ) . length == 0 ) {
17
+ if ( $this . parent ( '.select' ) . length == 0 ) {
19
18
$this . wrap ( '<div class="select">' ) ;
20
- $ ( '.select' ) . append ( '<div class="select-arrow">' )
19
+ $this . parent ( '.select' ) . append ( '<div class="select-arrow">' ) ;
21
20
}
22
21
} ) ;
23
22
}
Original file line number Diff line number Diff line change 4
4
"description" : " Easy to use forms for CastleCSS" ,
5
5
"main" : " index.js" ,
6
6
"scripts" : {
7
- "test" : " echo \" Error: no test specified\" && exit 1"
7
+ "test" : " echo \" Error: no test specified\" && exit 1" ,
8
+ "create_js" : " webpack"
8
9
},
9
10
"repository" : {
10
11
"type" : " git" ,
Original file line number Diff line number Diff line change @@ -67,13 +67,13 @@ input[type=file] {
67
67
border : $input-border ;
68
68
}
69
69
70
- /* TODO: When enabling this it breaks normal buttons in Chrome and Firefox
70
+ /* TODO: When enabling this it breaks normal buttons in Chrome and Firefox
71
71
Need a safe fix
72
72
*/
73
73
/* &::-ms-browse {
74
74
@extend .btn;
75
75
}*/
76
-
76
+
77
77
}
78
78
79
79
// -webkit fix for the label placeholder in input[type=date]
@@ -86,6 +86,7 @@ input[type=date]::-webkit-datetime-edit {
86
86
}
87
87
88
88
textarea {
89
+ padding : 12px ;
89
90
min-height : 14rem ;
90
91
line-height : 1.4 ;
91
92
}
@@ -98,7 +99,7 @@ textarea {
98
99
99
100
> * :last-child:not (:only-child ) {
100
101
101
- > * {
102
+ > * :last-child {
102
103
margin-bottom : 0 ;
103
104
104
105
> * {
Original file line number Diff line number Diff line change 61
61
/* Radio or checkbox, general styling */
62
62
.input-indicator {
63
63
position : absolute ;
64
- top : - 2px ;
64
+ top : 2px ;
65
65
left : 0 ;
66
66
width : 20px ;
67
67
height : 20px ;
You can’t perform that action at this time.
0 commit comments