encommon 0.21.0__py3-none-any.whl → 0.22.1__py3-none-any.whl

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (54) hide show
  1. encommon/times/common.py +3 -0
  2. encommon/times/unitime.py +23 -11
  3. encommon/version.txt +1 -1
  4. encommon/webkit/__init__.py +15 -0
  5. encommon/webkit/content.py +94 -0
  6. encommon/webkit/images/enasis.svg +174 -0
  7. encommon/webkit/images/failure.svg +15 -0
  8. encommon/webkit/images/information.svg +18 -0
  9. encommon/webkit/images/success.svg +18 -0
  10. encommon/webkit/images/warning.svg +16 -0
  11. encommon/webkit/index.html +218 -0
  12. encommon/webkit/scripts/color.js +60 -0
  13. encommon/webkit/scripts/datagrid.js +105 -0
  14. encommon/webkit/scripts/datetime.js +160 -0
  15. encommon/webkit/scripts/default.js +327 -0
  16. encommon/webkit/scripts/duration.js +150 -0
  17. encommon/webkit/scripts/helpers.js +247 -0
  18. encommon/webkit/scripts/image.js +39 -0
  19. encommon/webkit/scripts/message.js +31 -0
  20. encommon/webkit/scripts/moderate.js +71 -0
  21. encommon/webkit/scripts/numeric.js +189 -0
  22. encommon/webkit/scripts/statate.js +35 -0
  23. encommon/webkit/scripts/tagues.js +34 -0
  24. encommon/webkit/styles/color.css +57 -0
  25. encommon/webkit/styles/datagrid.css +58 -0
  26. encommon/webkit/styles/datetime.css +50 -0
  27. encommon/webkit/styles/default.css +204 -0
  28. encommon/webkit/styles/duration.css +44 -0
  29. encommon/webkit/styles/image.css +60 -0
  30. encommon/webkit/styles/message.css +88 -0
  31. encommon/webkit/styles/moderate.css +64 -0
  32. encommon/webkit/styles/numeric.css +55 -0
  33. encommon/webkit/styles/statate.css +50 -0
  34. encommon/webkit/styles/tagues.css +45 -0
  35. encommon/webkit/test/__init__.py +39 -0
  36. encommon/webkit/test/conftest.py +52 -0
  37. encommon/webkit/test/test_color.py +64 -0
  38. encommon/webkit/test/test_content.py +98 -0
  39. encommon/webkit/test/test_datagrid.py +90 -0
  40. encommon/webkit/test/test_datetime.py +75 -0
  41. encommon/webkit/test/test_default.py +314 -0
  42. encommon/webkit/test/test_duration.py +74 -0
  43. encommon/webkit/test/test_helpers.py +382 -0
  44. encommon/webkit/test/test_image.py +62 -0
  45. encommon/webkit/test/test_message.py +64 -0
  46. encommon/webkit/test/test_moderate.py +75 -0
  47. encommon/webkit/test/test_numeric.py +164 -0
  48. encommon/webkit/test/test_statate.py +78 -0
  49. encommon/webkit/test/test_tagues.py +66 -0
  50. {encommon-0.21.0.dist-info → encommon-0.22.1.dist-info}/METADATA +1 -1
  51. {encommon-0.21.0.dist-info → encommon-0.22.1.dist-info}/RECORD +54 -8
  52. {encommon-0.21.0.dist-info → encommon-0.22.1.dist-info}/LICENSE +0 -0
  53. {encommon-0.21.0.dist-info → encommon-0.22.1.dist-info}/WHEEL +0 -0
  54. {encommon-0.21.0.dist-info → encommon-0.22.1.dist-info}/top_level.txt +0 -0
@@ -0,0 +1,35 @@
1
+ /*
2
+ Functions and routines associated with Enasis Network Common Library.
3
+
4
+ This file is part of Enasis Network software eco-system. Distribution
5
+ is permitted, for more information consult the project license file.
6
+ */
7
+
8
+
9
+
10
+ function statate(
11
+ status,
12
+ label=null,
13
+ small=null,
14
+ ) {
15
+ // Construct for containing the value status information.
16
+
17
+ assert(!isnull(status));
18
+
19
+
20
+ let element =
21
+ moderate(
22
+ label,
23
+ svgicon(status),
24
+ small);
25
+
26
+
27
+ element.addClass(
28
+ 'encommon_statate');
29
+
30
+ element.attr(
31
+ 'data-status',
32
+ status);
33
+
34
+
35
+ return element; }
@@ -0,0 +1,34 @@
1
+ /*
2
+ Functions and routines associated with Enasis Network Common Library.
3
+
4
+ This file is part of Enasis Network software eco-system. Distribution
5
+ is permitted, for more information consult the project license file.
6
+ */
7
+
8
+
9
+
10
+ function tagues(
11
+ values,
12
+ brafter=true,
13
+ ) {
14
+ // Construct for containing the values that are tag like.
15
+
16
+ assert(!isnull(values));
17
+
18
+
19
+ let element =
20
+ $('<div/>').addClass(
21
+ 'encommon_tagues');
22
+
23
+
24
+ if (!islist(values))
25
+ values = [values];
26
+
27
+ for (const x of values)
28
+ element.append(
29
+ $('<div/>')
30
+ .addClass('_value')
31
+ .text(x));
32
+
33
+
34
+ return element; }
@@ -0,0 +1,57 @@
1
+ /*
2
+ Functions and routines associated with Enasis Network Common Library.
3
+
4
+ This file is part of Enasis Network software eco-system. Distribution
5
+ is permitted, for more information consult the project license file.
6
+ */
7
+
8
+
9
+
10
+ /********************************************/
11
+ /* Standard structure for colordiv elements */
12
+ /********************************************/
13
+
14
+ div.encommon_colordiv {
15
+ display: inline-block; }
16
+
17
+
18
+
19
+ /********************************************/
20
+ /* Extended structure for colordiv elements */
21
+ /********************************************/
22
+
23
+ div.encommon_colordiv
24
+ >._value {
25
+ border-width: .2rem .2rem .2rem .2rem;
26
+ border-style: solid;
27
+ border-color: rgba(var(--foreground), 0.4);
28
+ display: inline-block;
29
+ border-radius: .5rem .5rem .5rem .5rem;
30
+ height: 1.8rem;
31
+ width: 1.8rem; }
32
+
33
+
34
+
35
+ /********************************************/
36
+ /* Extended structure for colordiv elements */
37
+ /********************************************/
38
+
39
+ div.encommon_colordiv
40
+ >._label {
41
+ background-color: rgba(var(--foreground), .2);
42
+ border-radius: .2rem .2rem .2rem .2rem;
43
+ display: inline-block;
44
+ font-size: 1rem;
45
+ line-height: 1rem;
46
+ margin-left: .2rem;
47
+ padding: .2rem .3rem .2rem .3rem; }
48
+
49
+
50
+
51
+ /********************************************/
52
+ /* Extended structure for datagrid elements */
53
+ /********************************************/
54
+
55
+ table.encommon_datagrid
56
+ >tbody>tr>td:has(.encommon_colordiv) {
57
+ text-align: center; }
@@ -0,0 +1,58 @@
1
+ /*
2
+ Functions and routines associated with Enasis Network Common Library.
3
+
4
+ This file is part of Enasis Network software eco-system. Distribution
5
+ is permitted, for more information consult the project license file.
6
+ */
7
+
8
+
9
+
10
+ /********************************************/
11
+ /* Standard structure for datagrid elements */
12
+ /********************************************/
13
+
14
+ table.encommon_datagrid {
15
+ border-width: .1rem .1rem .1rem .1rem;
16
+ border-style: solid;
17
+ border-color: rgba(var(--pretty), 1); }
18
+
19
+
20
+
21
+ /********************************************/
22
+ /* Extended structure for datagrid elements */
23
+ /********************************************/
24
+
25
+ table.encommon_datagrid
26
+ >thead>tr>th {
27
+ background: rgba(var(--gritty), .5);
28
+ border-width: .1rem .1rem .1rem .1rem;
29
+ border-style: solid;
30
+ border-color: rgba(var(--pretty), 1);
31
+ font-size: 1rem;
32
+ font-weight: bold;
33
+ line-height: 1rem;
34
+ padding: .35rem .5rem .35rem .5rem; }
35
+
36
+ table.encommon_datagrid
37
+ >tbody>tr>td {
38
+ border-width: .1rem .1rem .1rem .1rem;
39
+ border-style: solid;
40
+ border-color: rgba(var(--pretty), 1);
41
+ font-size: 1rem;
42
+ line-height: 1rem;
43
+ padding: .35rem .5rem .35rem .5rem;
44
+ white-space: normal; }
45
+
46
+
47
+
48
+ /********************************************/
49
+ /* Extended structure for datagrid elements */
50
+ /********************************************/
51
+
52
+ table.encommon_datagrid
53
+ >tbody>tr:nth-child(even)>td {
54
+ background-color: rgba(var(--gritty), 0.125); }
55
+
56
+ table.encommon_datagrid
57
+ >tbody>tr:hover>td {
58
+ background-color: rgba(var(--pretty), 0.125); }
@@ -0,0 +1,50 @@
1
+ /*
2
+ Functions and routines associated with Enasis Network Common Library.
3
+
4
+ This file is part of Enasis Network software eco-system. Distribution
5
+ is permitted, for more information consult the project license file.
6
+ */
7
+
8
+
9
+
10
+ /*********************************************/
11
+ /* Standard structure for datestamp elements */
12
+ /*********************************************/
13
+
14
+ div.encommon_datestamp {
15
+ display: inline-block; }
16
+
17
+
18
+
19
+ /*********************************************/
20
+ /* Extended structure for datestamp elements */
21
+ /*********************************************/
22
+
23
+ div.encommon_datestamp
24
+ >._value {
25
+ font-family: monospace;
26
+ font-size: 1rem;
27
+ line-height: 1rem; }
28
+
29
+ div.encommon_datestamp
30
+ >._delim {
31
+ font-size: .9rem;
32
+ line-height: .9rem;
33
+ opacity: .75; }
34
+
35
+ div.encommon_datestamp
36
+ >._tzname {
37
+ font-family: monospace;
38
+ font-size: .9rem;
39
+ line-height: .9rem;
40
+ opacity: .75; }
41
+
42
+
43
+
44
+ /********************************************/
45
+ /* Extended structure for datagrid elements */
46
+ /********************************************/
47
+
48
+ table.encommon_datagrid
49
+ >tbody>tr>td:has(.encommon_datestamp) {
50
+ text-align: center; }
@@ -0,0 +1,204 @@
1
+ /*
2
+ Functions and routines associated with Enasis Network Common Library.
3
+
4
+ This file is part of Enasis Network software eco-system. Distribution
5
+ is permitted, for more information consult the project license file.
6
+ */
7
+
8
+
9
+
10
+ /***********************************/
11
+ /* Colors used throughout the site */
12
+ /***********************************/
13
+
14
+ :root {
15
+
16
+ --background: var(--color-teal-back);
17
+ --foreground: var(--color-text-lite);
18
+
19
+ --pretty: var(--color-teal-lite);
20
+ --gritty: var(--color-teal-dark);
21
+
22
+ --scroll: var(--color-teal-dark); }
23
+
24
+
25
+
26
+ /***********************************/
27
+ /* Colors used throughout the site */
28
+ /***********************************/
29
+
30
+ :root {
31
+
32
+
33
+ --color-text-lite: 245, 245, 245; /* f5f5f5 */
34
+ --color-text-dark: 233, 233, 233; /* e9e9e9 */
35
+
36
+ --color-gray-lite: 233, 233, 233; /* e9e9e9 */
37
+ --color-gray-dark: 136, 136, 136; /* 888888 */
38
+ --color-gray-back: 24, 24, 24; /* 181818 */
39
+
40
+ --color-red-lite: 255, 102, 102; /* ff6666 */
41
+ --color-red-dark: 153, 0, 0; /* 990000 */
42
+ --color-red-back: 26, 10, 10; /* 1a0a0a */
43
+
44
+ --color-pink-lite: 255, 0, 204; /* ff00cc */
45
+ --color-pink-dark: 143, 0, 114; /* 8f0072 */
46
+ --color-pink-back: 32, 0, 25; /* 200019 */
47
+
48
+ --color-teal-lite: 102, 255, 255; /* 66ffff */
49
+ --color-teal-dark: 0, 153, 153; /* 009999 */
50
+ --color-teal-back: 10, 26, 26; /* 0a1a1a */
51
+
52
+ --color-blue-lite: 8, 155, 216; /* 089bd8 */
53
+ --color-blue-dark: 6, 92, 129; /* 065c81 */
54
+ --color-blue-back: 2, 24, 34; /* 021822 */
55
+
56
+ --color-green-lite: 102, 255, 102; /* 66ff66 */
57
+ --color-green-dark: 0, 153, 0; /* 009900 */
58
+ --color-green-back: 10, 26, 10; /* 0a1a0a */
59
+
60
+ --color-yellow-lite: 255, 255, 102; /* ffff66 */
61
+ --color-yellow-dark: 153, 153, 0; /* 999900 */
62
+ --color-yellow-back: 26, 26, 10; } /* 1a1a0a */
63
+
64
+
65
+
66
+ /************************************/
67
+ /* Initial default for all elements */
68
+ /************************************/
69
+
70
+ * {
71
+ border-collapse: collapse;
72
+ border-spacing: 0;
73
+ border-width: 0;
74
+ box-sizing: border-box;
75
+ color: rgba(var(--foreground), 1);
76
+ font-family: arial;
77
+ font-size: 1vw;
78
+ font-style: normal;
79
+ font-weight: normal;
80
+ letter-spacing: .05rem;
81
+ line-height: 1vw;
82
+ list-style-type: none;
83
+ margin: 0;
84
+ outline: none !important;
85
+ padding: 0;
86
+ page-break-after: avoid;
87
+ page-break-before: avoid;
88
+ page-break-inside: avoid;
89
+ scroll-behavior: smooth;
90
+ text-align: left;
91
+ text-decoration: none;
92
+ vertical-align: middle;
93
+ white-space: nowrap; }
94
+
95
+
96
+
97
+ /**********************************/
98
+ /* Elements which are very common */
99
+ /**********************************/
100
+
101
+ body {
102
+ background-color: rgba(var(--background), 1); }
103
+
104
+
105
+
106
+ /**********************************/
107
+ /* Elements which are very common */
108
+ /**********************************/
109
+
110
+ a, b, i, li, p, span {
111
+ white-space: normal; }
112
+
113
+ a, b, i, span {
114
+ color: inherit;
115
+ line-height: inherit;
116
+ font-size: inherit;
117
+ white-space: inherit; }
118
+
119
+
120
+
121
+ /**********************************/
122
+ /* Elements which are very common */
123
+ /**********************************/
124
+
125
+ a {
126
+ color: rgba(var(--pretty), 0.75);
127
+ cursor: pointer;
128
+ transition: color 300ms ease-in-out; }
129
+
130
+ a:hover {
131
+ color: rgba(var(--pretty), 1); }
132
+
133
+
134
+
135
+ /**********************************/
136
+ /* Elements which are very common */
137
+ /**********************************/
138
+
139
+ b { font-weight: bold; }
140
+ i { font-style: italic; }
141
+
142
+
143
+
144
+ /**********************************/
145
+ /* Elements which are very common */
146
+ /**********************************/
147
+
148
+ p { margin: .5rem 0 .5rem 0; }
149
+
150
+ p:first-child {
151
+ margin-top: 0; }
152
+
153
+
154
+
155
+ /**********************************/
156
+ /* Elements which are very common */
157
+ /**********************************/
158
+
159
+ h1, h2, h3 {
160
+ color: rgba(var(--pretty), .75);
161
+ font-weight: bold;
162
+ margin: .5rem 0 .5rem 0; }
163
+
164
+ h1:first-child,
165
+ h2:first-child,
166
+ h3:first-child {
167
+ margin-top: 0; }
168
+
169
+ h1 {
170
+ font-size: 2rem;
171
+ line-height: 2rem; }
172
+
173
+ h2 {
174
+ font-size: 1.5rem;
175
+ line-height: 1.5rem; }
176
+
177
+ h3 {
178
+ font-size: 1rem;
179
+ line-height: 1rem; }
180
+
181
+
182
+
183
+ /************************************/
184
+ /* Styles for scroll bar and handle */
185
+ /************************************/
186
+
187
+ ::-webkit-scrollbar {
188
+ background-color: transparent;
189
+ height: 1rem;
190
+ width: .9rem; }
191
+
192
+ ::-webkit-scrollbar-thumb {
193
+ background-clip: padding-box;
194
+ background-color: rgba(var(--scroll), .8);
195
+ border-color: transparent;
196
+ border-radius: .5rem;
197
+ border-style: solid;
198
+ border-width: .2rem; }
199
+
200
+ ::-webkit-scrollbar-thumb:hover {
201
+ background-color: rgba(var(--scroll), 1); }
202
+
203
+ ::-webkit-scrollbar-corner {
204
+ background-color: transparent; }
@@ -0,0 +1,44 @@
1
+ /*
2
+ Functions and routines associated with Enasis Network Common Library.
3
+
4
+ This file is part of Enasis Network software eco-system. Distribution
5
+ is permitted, for more information consult the project license file.
6
+ */
7
+
8
+
9
+
10
+ /********************************************/
11
+ /* Standard structure for duration elements */
12
+ /********************************************/
13
+
14
+ div.encommon_duration {
15
+ display: inline-block; }
16
+
17
+
18
+
19
+ /********************************************/
20
+ /* Extended structure for duration elements */
21
+ /********************************************/
22
+
23
+ div.encommon_duration
24
+ >._value {
25
+ font-family: monospace;
26
+ font-size: 1rem;
27
+ line-height: 1rem; }
28
+
29
+ div.encommon_duration
30
+ >._unit {
31
+ font-family: monospace;
32
+ font-size: .9rem;
33
+ line-height: .9rem;
34
+ opacity: .75; }
35
+
36
+
37
+
38
+ /********************************************/
39
+ /* Extended structure for datagrid elements */
40
+ /********************************************/
41
+
42
+ table.encommon_datagrid
43
+ >tbody>tr>td:has(.encommon_duration) {
44
+ text-align: center; }
@@ -0,0 +1,60 @@
1
+ /*
2
+ Functions and routines associated with Enasis Network Common Library.
3
+
4
+ This file is part of Enasis Network software eco-system. Distribution
5
+ is permitted, for more information consult the project license file.
6
+ */
7
+
8
+
9
+
10
+ /*****************************************/
11
+ /* Standard structure for image elements */
12
+ /*****************************************/
13
+
14
+ .encommon_svgicon {
15
+ height: 5rem;
16
+ mask-repeat: no-repeat;
17
+ mask-position: center;
18
+ mask-size: contain;
19
+ width: 5rem;
20
+ -webkit-mask-repeat: no-repeat;
21
+ -webkit-mask-position: center;
22
+ -webkit-mask-size: contain; }
23
+
24
+
25
+
26
+ /*****************************************/
27
+ /* Extended structure for image elements */
28
+ /*****************************************/
29
+
30
+ :root {
31
+ --svgicon-failure: url('/images/failure');
32
+ --svgicon-information: url('/images/information');
33
+ --svgicon-success: url('/images/success');
34
+ --svgicon-warning: url('/images/warning'); }
35
+
36
+
37
+
38
+ /*****************************************/
39
+ /* Extended structure for image elements */
40
+ /*****************************************/
41
+
42
+ .encommon_svgicon[data-image='failure'] {
43
+ background-color: rgba(var(--color-red-lite), 1);
44
+ mask-image: var(--svgicon-failure);
45
+ -webkit-mask-image: var(--svgicon-failure); }
46
+
47
+ .encommon_svgicon[data-image='information'] {
48
+ background-color: rgba(var(--color-blue-lite), 1);
49
+ mask-image: var(--svgicon-information);
50
+ -webkit-mask-image: var(--svgicon-information); }
51
+
52
+ .encommon_svgicon[data-image='success'] {
53
+ background-color: rgba(var(--color-green-lite), 1);
54
+ mask-image: var(--svgicon-success);
55
+ -webkit-mask-image: var(--svgicon-success); }
56
+
57
+ .encommon_svgicon[data-image='warning'] {
58
+ background-color: rgba(var(--color-yellow-lite), 1);
59
+ mask-image: var(--svgicon-warning);
60
+ -webkit-mask-image: var(--svgicon-warning); }
@@ -0,0 +1,88 @@
1
+ /*
2
+ Functions and routines associated with Enasis Network Common Library.
3
+
4
+ This file is part of Enasis Network software eco-system. Distribution
5
+ is permitted, for more information consult the project license file.
6
+ */
7
+
8
+
9
+
10
+ /*******************************************/
11
+ /* Standard structure for message elements */
12
+ /*******************************************/
13
+
14
+ div.encommon_message {
15
+ border-radius: 0 .5rem .5rem 0;
16
+ border-style: solid;
17
+ border-width: .1rem .1rem .1rem .3rem;
18
+ display: inline-block;
19
+ font-size: 1rem;
20
+ line-height: 1rem;
21
+ padding: .4rem .6rem .4rem 1.9rem;
22
+ position: relative; }
23
+
24
+
25
+
26
+ /*******************************************/
27
+ /* Extended structure for message elements */
28
+ /*******************************************/
29
+
30
+ div.encommon_message:after {
31
+ content: '';
32
+ height: 1.5rem;
33
+ left: .2rem;
34
+ mask-repeat: no-repeat;
35
+ mask-position: center;
36
+ mask-size: contain;
37
+ position: absolute;
38
+ top: .1rem;
39
+ width: 1.5rem;
40
+ -webkit-mask-repeat: no-repeat;
41
+ -webkit-mask-position: center;
42
+ -webkit-mask-size: contain; }
43
+
44
+
45
+
46
+ /*******************************************/
47
+ /* Extended structure for message elements */
48
+ /*******************************************/
49
+
50
+
51
+ .encommon_message[data-level='failure'] {
52
+ background-color: rgba(var(--color-red-lite), .25);
53
+ border-color: rgba(var(--color-red-lite), .9); }
54
+
55
+ .encommon_message[data-level='failure']:after {
56
+ background-color: rgba(var(--color-red-lite), 1);
57
+ mask-image: var(--svgicon-failure);
58
+ -webkit-mask-image: var(--svgicon-failure); }
59
+
60
+
61
+ .encommon_message[data-level='information'] {
62
+ background-color: rgba(var(--color-blue-lite), .25);
63
+ border-color: rgba(var(--color-blue-lite), .9); }
64
+
65
+ .encommon_message[data-level='information']:after {
66
+ background-color: rgba(var(--color-blue-lite), 1);
67
+ mask-image: var(--svgicon-failure);
68
+ -webkit-mask-image: var(--svgicon-failure); }
69
+
70
+
71
+ .encommon_message[data-level='success'] {
72
+ background-color: rgba(var(--color-green-lite), .25);
73
+ border-color: rgba(var(--color-green-lite), .9); }
74
+
75
+ .encommon_message[data-level='success']:after {
76
+ background-color: rgba(var(--color-green-lite), 1);
77
+ mask-image: var(--svgicon-failure);
78
+ -webkit-mask-image: var(--svgicon-failure); }
79
+
80
+
81
+ .encommon_message[data-level='warning'] {
82
+ background-color: rgba(var(--color-yellow-lite), .25);
83
+ border-color: rgba(var(--color-yellow-lite), .9); }
84
+
85
+ .encommon_message[data-level='warning']:after {
86
+ background-color: rgba(var(--color-yellow-lite), 1);
87
+ mask-image: var(--svgicon-failure);
88
+ -webkit-mask-image: var(--svgicon-failure); }
@@ -0,0 +1,64 @@
1
+ /*
2
+ Functions and routines associated with Enasis Network Common Library.
3
+
4
+ This file is part of Enasis Network software eco-system. Distribution
5
+ is permitted, for more information consult the project license file.
6
+ */
7
+
8
+
9
+
10
+ /********************************************/
11
+ /* Standard structure for moderate elements */
12
+ /********************************************/
13
+
14
+ div.encommon_moderate {
15
+ display: inline-block; }
16
+
17
+
18
+
19
+ /********************************************/
20
+ /* Extended structure for moderate elements */
21
+ /********************************************/
22
+
23
+ div.encommon_moderate
24
+ >._icon {
25
+ display: table-cell; }
26
+
27
+
28
+ div.encommon_moderate
29
+ >._icon>* {
30
+ background-size: 1.5rem 1.5rem !important;
31
+ height: 1.5rem !important;
32
+ width: 1.5rem !important; }
33
+
34
+
35
+
36
+ /********************************************/
37
+ /* Extended structure for moderate elements */
38
+ /********************************************/
39
+
40
+ div.encommon_moderate
41
+ >._value {
42
+ display: table-cell; }
43
+
44
+ div.encommon_moderate
45
+ >._value:not(:empty) {
46
+ padding: 0 .2rem 0 .2rem; }
47
+
48
+
49
+
50
+ /********************************************/
51
+ /* Extended structure for moderate elements */
52
+ /********************************************/
53
+
54
+ div.encommon_moderate
55
+ >._value>._label {
56
+ font-size: 1rem;
57
+ line-height: 1rem; }
58
+
59
+
60
+ div.encommon_moderate
61
+ >._value>._small {
62
+ font-size: .75rem;
63
+ line-height: .75rem;
64
+ opacity: 0.85; }