blob: 48ee85c2d9109706c791a6fe4311d02a3cc802c6 (
plain)
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
|
.o_web_sign_name_and_signature {
// for the absolute of the font selection to work
position: relative;
}
/* Signature Dialog */
// The .card selector is important to make sure the position absolute will take
// priority over the position relative of the card.
.card.o_web_sign_auto_font_selection {
@include o-position-absolute(0, 0);
.o_web_sign_auto_font_list {
overflow: auto;
> a {
height: 100px;
> img {
height: 100%;
}
}
}
}
.o_field_widget {
.o_signature {
outline: 1px solid rgba(theme-color('secondary'), 0.3);
position: relative;
&.o_signature_empty {
display: flex;
}
> p {
position: absolute;
top: 50%;
left: 50%;
transform: translate(-50%, -50%);
}
}
}
.o_field_invalid {
.o_signature {
outline: 3px solid theme-color('danger');
cursor: pointer;
}
}
.o_form_editable {
.o_signature:hover {
outline: 3px solid $o-enterprise-primary-color;
cursor: pointer;
}
}
.o_signature_stroke {
position: absolute;
border-top: #D1D0CE solid 2px;
bottom: 16%;
width: 72%;
left: 14%;
}
|