rb-document-form-constructor 0.0.1 → 0.0.2
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.
- package/dist/scss/_variables.scss +7 -0
- package/dist/scss/components/_doc-template-constructor.scss +107 -0
- package/dist/scss/components/_doc-template-facet-list.scss +41 -0
- package/dist/scss/components/_doc-template-field-sidebar.scss +57 -0
- package/dist/scss/components.scss +2 -0
- package/package.json +3 -1
|
@@ -0,0 +1,107 @@
|
|
|
1
|
+
.rb-doc-template-constructor {
|
|
2
|
+
height: 100%;
|
|
3
|
+
|
|
4
|
+
h4 {
|
|
5
|
+
color: $rb-doc-template-constructor-title-color;
|
|
6
|
+
font-weight: bold;
|
|
7
|
+
font-size: $rb-doc-template-constructor-title-font-size;
|
|
8
|
+
}
|
|
9
|
+
|
|
10
|
+
.rb-form-constructor {
|
|
11
|
+
height: 100%;
|
|
12
|
+
overflow-y: auto;
|
|
13
|
+
background-color: white;
|
|
14
|
+
}
|
|
15
|
+
|
|
16
|
+
.rb-constructor-toolbar {
|
|
17
|
+
padding: 16px 16px 16px 16px;
|
|
18
|
+
background-color: white;
|
|
19
|
+
border-bottom: 1px solid $border-color;
|
|
20
|
+
|
|
21
|
+
h4 {
|
|
22
|
+
margin-bottom: 0;
|
|
23
|
+
line-height: 38px;
|
|
24
|
+
margin-right: 10px;
|
|
25
|
+
}
|
|
26
|
+
|
|
27
|
+
.btn {
|
|
28
|
+
margin-left: 10px;
|
|
29
|
+
}
|
|
30
|
+
}
|
|
31
|
+
|
|
32
|
+
.rb-constructor-body {
|
|
33
|
+
padding: 16px;
|
|
34
|
+
|
|
35
|
+
.card {
|
|
36
|
+
border-width: 2px;
|
|
37
|
+
border-style: dashed;
|
|
38
|
+
background-color: $rb-doc-template-section-bg;
|
|
39
|
+
|
|
40
|
+
.card-header, .card-body {
|
|
41
|
+
background-color: $rb-doc-template-section-bg;
|
|
42
|
+
border-color: $border-color;
|
|
43
|
+
|
|
44
|
+
}
|
|
45
|
+
}
|
|
46
|
+
|
|
47
|
+
.rb-form-card {
|
|
48
|
+
margin-bottom: 20px;
|
|
49
|
+
|
|
50
|
+
.rb-form-column {
|
|
51
|
+
flex: 1;
|
|
52
|
+
}
|
|
53
|
+
|
|
54
|
+
.card-header {
|
|
55
|
+
border-bottom-width: 0;
|
|
56
|
+
display: flex;
|
|
57
|
+
flex-direction: row;
|
|
58
|
+
|
|
59
|
+
.rb-text {
|
|
60
|
+
font-size: 16px;
|
|
61
|
+
line-height: 24px;
|
|
62
|
+
font-weight: bold;
|
|
63
|
+
}
|
|
64
|
+
|
|
65
|
+
.rb-icon {
|
|
66
|
+
line-height: 24px;
|
|
67
|
+
font-size: 16px;
|
|
68
|
+
}
|
|
69
|
+
}
|
|
70
|
+
}
|
|
71
|
+
|
|
72
|
+
.rb-form-column {
|
|
73
|
+
.form-group:hover {
|
|
74
|
+
legend.col-form-label .rb-actions {
|
|
75
|
+
visibility: visible;
|
|
76
|
+
}
|
|
77
|
+
}
|
|
78
|
+
|
|
79
|
+
legend.col-form-label {
|
|
80
|
+
font-size: $font-size-base;
|
|
81
|
+
font-weight: bold;
|
|
82
|
+
margin-bottom: 12px;
|
|
83
|
+
display: flex;
|
|
84
|
+
flex-direction: row;
|
|
85
|
+
color: $rb-doc-template-constructor-title-color;
|
|
86
|
+
|
|
87
|
+
.rb-text {
|
|
88
|
+
flex: 1;
|
|
89
|
+
}
|
|
90
|
+
|
|
91
|
+
.rb-actions {
|
|
92
|
+
visibility: hidden;
|
|
93
|
+
}
|
|
94
|
+
}
|
|
95
|
+
|
|
96
|
+
.form-control:disabled, .btn.disabled {
|
|
97
|
+
background-color: white;
|
|
98
|
+
}
|
|
99
|
+
}
|
|
100
|
+
|
|
101
|
+
.rb-form-column:not(.rb-single-column) {
|
|
102
|
+
padding: 10px;
|
|
103
|
+
margin: 0 10px;
|
|
104
|
+
border: 2px dashed $border-color;
|
|
105
|
+
}
|
|
106
|
+
}
|
|
107
|
+
}
|
|
@@ -0,0 +1,41 @@
|
|
|
1
|
+
.rb-facets-sidebar {
|
|
2
|
+
height: 100%;
|
|
3
|
+
width: 264px;
|
|
4
|
+
overflow-y: auto;
|
|
5
|
+
background-color: white;
|
|
6
|
+
border-right: 1px solid $rb-facet-list-border-color;
|
|
7
|
+
|
|
8
|
+
h4 {
|
|
9
|
+
padding: 24px 16px 16px 16px;
|
|
10
|
+
}
|
|
11
|
+
|
|
12
|
+
h6 {
|
|
13
|
+
padding-left: 16px;
|
|
14
|
+
padding-right: 16px;
|
|
15
|
+
font-weight: 500;
|
|
16
|
+
}
|
|
17
|
+
|
|
18
|
+
form {
|
|
19
|
+
padding-left: 16px;
|
|
20
|
+
padding-right: 16px;
|
|
21
|
+
}
|
|
22
|
+
|
|
23
|
+
.rb-facet-label {
|
|
24
|
+
font-weight: bold;
|
|
25
|
+
}
|
|
26
|
+
|
|
27
|
+
.rb-facet-list {
|
|
28
|
+
.rb-facet {
|
|
29
|
+
padding: 10px 0;
|
|
30
|
+
}
|
|
31
|
+
|
|
32
|
+
& > .rb-facet:not(:last-child) {
|
|
33
|
+
border-bottom: 1px solid $rb-facet-list-border-color;
|
|
34
|
+
}
|
|
35
|
+
|
|
36
|
+
.list-group-item {
|
|
37
|
+
border-radius: 0;
|
|
38
|
+
border: none;
|
|
39
|
+
}
|
|
40
|
+
}
|
|
41
|
+
}
|
|
@@ -0,0 +1,57 @@
|
|
|
1
|
+
.rb-doc-template-field-sidebar {
|
|
2
|
+
/*.b-sidebar-header {
|
|
3
|
+
padding-top: 24px;
|
|
4
|
+
padding-bottom: 16px;
|
|
5
|
+
}*/
|
|
6
|
+
|
|
7
|
+
.dropdown-menu.show {
|
|
8
|
+
max-width: 288px;
|
|
9
|
+
}
|
|
10
|
+
|
|
11
|
+
.b-sidebar {
|
|
12
|
+
top: 72px;
|
|
13
|
+
padding-bottom: 72px;
|
|
14
|
+
}
|
|
15
|
+
|
|
16
|
+
.rb-sidebar-close-btn {
|
|
17
|
+
opacity: 0.5;
|
|
18
|
+
position: absolute;
|
|
19
|
+
left: -46px;
|
|
20
|
+
border-radius: 0;
|
|
21
|
+
padding-left: 4px;
|
|
22
|
+
padding-right: 4px;
|
|
23
|
+
font-size: 16px;
|
|
24
|
+
|
|
25
|
+
.rb-icon {
|
|
26
|
+
font-size: 24px;
|
|
27
|
+
line-height: 24px;
|
|
28
|
+
vertical-align: middle;
|
|
29
|
+
}
|
|
30
|
+
}
|
|
31
|
+
|
|
32
|
+
form {
|
|
33
|
+
padding: 10px 16px;
|
|
34
|
+
|
|
35
|
+
.rb-form-section {
|
|
36
|
+
margin-bottom: 20px;
|
|
37
|
+
|
|
38
|
+
& > .rb-title {
|
|
39
|
+
font-size: $rb-doc-template-field-sidebar-font-size-lg;
|
|
40
|
+
font-weight: bold;
|
|
41
|
+
margin-bottom: 10px;
|
|
42
|
+
}
|
|
43
|
+
}
|
|
44
|
+
}
|
|
45
|
+
|
|
46
|
+
h4 {
|
|
47
|
+
margin-bottom: 0;
|
|
48
|
+
}
|
|
49
|
+
|
|
50
|
+
.form-group.rb-immutable .rb-text {
|
|
51
|
+
font-size: $rb-doc-template-field-sidebar-font-size-lg;
|
|
52
|
+
}
|
|
53
|
+
|
|
54
|
+
.custom-checkbox {
|
|
55
|
+
margin-bottom: 12px;
|
|
56
|
+
}
|
|
57
|
+
}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "rb-document-form-constructor",
|
|
3
|
-
"version": "0.0.
|
|
3
|
+
"version": "0.0.2",
|
|
4
4
|
"description": "",
|
|
5
5
|
"main": "dist/rb-document-form-constructor.ssr.js",
|
|
6
6
|
"browser": "dist/rb-document-form-constructor.esm.js",
|
|
@@ -42,6 +42,8 @@
|
|
|
42
42
|
"minimist": "^1.2.5",
|
|
43
43
|
"rimraf": "^3.0.2",
|
|
44
44
|
"rollup": "^2.52.8",
|
|
45
|
+
"rollup-plugin-copy-assets": "^2.0.3",
|
|
46
|
+
"rollup-plugin-sass": "^1.2.6",
|
|
45
47
|
"rollup-plugin-terser": "^7.0.2",
|
|
46
48
|
"rollup-plugin-vue": "^5.1.9",
|
|
47
49
|
"vue": "^2.6.14",
|