Project

General

Profile

root / branches / sc50 / model / sources / _common / wui / form.wed @ 76

1
<?xml version="1.0"?>
2
<sm:boxWed xmlns:sm="http://www.utc.fr/ics/scenari/v3/modeling" xmlns:sc="http://www.utc.fr/ics/scenari/v3/core" code="form" name=";Form">
3
	<sm:modelRoot allPublicClasses="true"/>
4
	<sm:wedlingList>
5
		<sm:wedlingList sc:refUri="/_common/wui/wdl/_common.wdllist"/>
6
		<sm:wedlingList sc:refUri="/_common/wui/wdl/specific.wdllist"/>
7
	</sm:wedlingList>
8
	<sm:uiGuidelines>
9
		<sm:sharedCss key="box/head-body" xml:space="preserve">:host {
10
    --edit-box-focus: var(--focus-outline);
11
    --edit-input-focus: var(--focus-outline);
12
    --edit-caret-focus: var(--focus-outline);
13
}
14

    
15
:host(.sm-root)&gt;.head {
16
    background-color: var(--inv-alt1-bgcolor);
17
    margin-bottom: 0.5rem;
18
    padding: 0.2rem;
19
    min-height: 1rem;
20
    display: flex;
21
    justify-content: center;
22
    padding-left: 2rem;
23
}
24

    
25
:host(.sm-root)&gt;.head&gt;.label {
26
    color: var(--inv-alt2-color);
27
    font-weight: bold;
28
    font-size: 1rem;
29
    text-transform: uppercase;
30
    font-variant: none;
31
}
32

    
33
:host&gt;.head .label {
34
    color: var(--alt1-color);
35
    font-variant: petite-caps;
36
    font-size: 100%;
37
}
38

    
39
:host(.sm-property) {
40
    margin-bottom: 0.2rem;
41
}
42

    
43
:host(.sm-property)&gt;.head {
44
    flex: 1 1 12rem;
45
    min-width: min-content;
46
}
47

    
48
:host(.sm-property)&gt;.body,
49
:host(.sm-content[wed-name='part#'])&gt;.body {
50
    flex: 5 2 60rem;
51
}
52

    
53
:host(.sm-property)&gt;.head .label,
54
:host(.sm-content[wed-name='part#'])&gt;.head .label {
55
    font-style: italic;
56
    font-variant: none;
57
    font-size: 100%;
58
}
59

    
60
:host(.subGroup)&gt;.head {
61
    flex: 1 1 11rem;
62
}</sm:sharedCss>
63
		<sm:sharedCss key="box-create" xml:space="preserve">:host {
64
	border-radius: .3rem;
65
	padding: .2rem;
66
	margin: .3rem 0 .3rem 0;
67
	background-color: var(--alt1-bgcolor);
68
	color: var(--alt1-color);
69
	font-variant: petite-caps;
70
	font-size: 100%;
71
	opacity: .6;
72
}
73

    
74
:host(:hover) {
75
	background-color: var(--edit-select-bgcolor);
76
}
77

    
78
:host::before {
79
	content: '+ '
80
}</sm:sharedCss>
81
		<sm:sharedCss key="box/str" xml:space="preserve">:host {
82
    border: 1px solid var(--border-color);
83
    border-radius: 3px;
84
    background: var(--edit-bgcolor);
85
}</sm:sharedCss>
86
		<!--<sm:sharedCss xmlns:sm="http://www.utc.fr/ics/scenari/v3/modeling" key="box-input-enum" xml:space="preserve">:host {
87
    border: 1px solid var(-~-border-color);
88
    border-radius: 3px;
89
    background: var(-~-edit-bgcolor);
90
}</sm:sharedCss>-->
91
	</sm:uiGuidelines>
92
</sm:boxWed>
(2-2/2)