forked from pandao/editor.md
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy patheditormd.form.scss
130 lines (107 loc) · 2.45 KB
/
editormd.form.scss
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
@charset "UTF-8";
// Form
#{$prefix}form {
color: $color;
label {
float: left;
display: block;
width: 75px;
text-align: left;
padding: 7px 0 15px 5px;
margin: 0 0 2px;
font-weight: normal;
}
br {
clear: both;
}
iframe {
display: none;
}
input:focus {
outline: 0;
}
input[type="text"], input[type="number"] {
color: #999;
padding: 8px;
border: 1px solid $borderColor;
}
input[type="number"] {
width: 40px;
display: inline-block;
padding: 6px 8px;
}
input[type="text"] {
display: inline-block;
width: 264px;
}
.fa-btns {
display: inline-block;
a {
color: #999;
padding: 7px 10px 0 0;
display: inline-block;
text-decoration: none;
text-align: center;
}
.fa {
font-size: 1.3em;
}
label {
float: none;
display: inline-block;
width: auto;
text-align: left;
padding: 0 0 0 5px;
cursor: pointer;
}
}
}
#{$prefix}form,
#{$prefix}dialog-container,
#{$prefix}dialog-footer {
input[type="submit"], #{$prefix}btn, button {
color: $color;
min-width: 75px;
cursor: pointer;
background: #fff;
padding: 7px 10px;
border: 1px solid #ddd;
@include border-radius(3px);
@include transition(background 300ms ease-out);
&:hover {
background: #eee;
}
}
#{$prefix}btn {
padding: 5px 8px 4px\0;
}
#{$prefix}btn + #{$prefix}btn {
margin-left: 8px;
}
}
#{$prefix}file-input {
width: 75px;
height: 32px;
margin-left: 8px;
position: relative;
display: inline-block;
input[type="file"] {
width: 75px;
height: 32px;
opacity: 0;
cursor: pointer;
background: #000;
display: inline-block;
position: absolute;
top: 0;
right: 0;
&::-webkit-file-upload-button {
visibility: hidden;
}
}
input[type="submit"] {
}
&:hover input[type="submit"] {
background: #eee;
}
}