-
Notifications
You must be signed in to change notification settings - Fork 2.2k
/
forms.less
59 lines (51 loc) · 1.08 KB
/
forms.less
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
// Oscar FORMS
form {
.clearfix();
&.flat {
margin:0;
}
}
// For IE: adds width for selects inside overflow hidden containers
.select-open {
width:300px!important;
}
// Additional errors
.errorlist {
margin:0;
padding:0 0 10px 0;
color:#B94A48;
li {
padding:0 0 5px 0;
list-style:none;
}
}
.error-block {
color: #b94a48;
margin-top: 6px;
}
.control-label.required span {
color: #FF0000;
}
/* weird alternative to btn-block for specific use on the product page, where btn-block would cause a vertical misalignment when product size options are shown */
.btn-add-to-basket {
width:100%;
}
/* star rating functionality for product review page */
.reviewrating {
select {
display:none;
}
.star-rating {
margin-bottom:10px;
font-size:280%;
i {
cursor:pointer;
}
}
}
.form-actions {
margin: @line-height-computed 0;
padding: @line-height-computed;
background-color: @form-actions-bg-color;
border-top: solid 1px @form-actions-border-color;
}