drugflow-molstar 0.2.0 → 0.2.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/LICENSE +201 -201
- package/README.md +15 -15
- package/build/drugflow-molstar-component-0.2.2.js +25 -0
- package/build/drugflow-molstar-light.css +1 -1
- package/build/{drugflow-molstar-plugin-0.2.0.js → drugflow-molstar-plugin-0.2.2.js} +2 -2
- package/lib/alphafold-transparency.d.ts +6 -6
- package/lib/alphafold-transparency.js +153 -153
- package/lib/app/molstar/lib/apps/docking-viewer/index.html +37 -0
- package/lib/app/molstar/lib/apps/viewer/embedded.html +44 -0
- package/lib/app/molstar/lib/apps/viewer/favicon.ico +0 -0
- package/lib/app/molstar/lib/apps/viewer/index.html +110 -0
- package/lib/app/molstar/lib/examples/alpha-orbitals/index.html +73 -0
- package/lib/app/molstar/lib/examples/basic-wrapper/index.html +138 -0
- package/lib/app/molstar/lib/examples/lighting/index.html +89 -0
- package/lib/app/molstar/lib/examples/proteopedia-wrapper/index.html +237 -0
- package/lib/app/molstar/lib/mol-plugin-ui/skin/base/base.scss +33 -0
- package/lib/app/molstar/lib/mol-plugin-ui/skin/base/components/controls-base.scss +334 -0
- package/lib/app/molstar/lib/mol-plugin-ui/skin/base/components/controls.scss +419 -0
- package/lib/app/molstar/lib/mol-plugin-ui/skin/base/components/help.scss +27 -0
- package/lib/app/molstar/lib/mol-plugin-ui/skin/base/components/line-graph.scss +68 -0
- package/lib/app/molstar/lib/mol-plugin-ui/skin/base/components/log.scss +100 -0
- package/lib/app/molstar/lib/mol-plugin-ui/skin/base/components/misc.scss +644 -0
- package/lib/app/molstar/lib/mol-plugin-ui/skin/base/components/sequence.scss +126 -0
- package/lib/app/molstar/lib/mol-plugin-ui/skin/base/components/slider.scss +166 -0
- package/lib/app/molstar/lib/mol-plugin-ui/skin/base/components/tasks.scss +99 -0
- package/lib/app/molstar/lib/mol-plugin-ui/skin/base/components/toast.scss +84 -0
- package/lib/app/molstar/lib/mol-plugin-ui/skin/base/components/transformer.scss +164 -0
- package/lib/app/molstar/lib/mol-plugin-ui/skin/base/components/viewport.scss +128 -0
- package/lib/app/molstar/lib/mol-plugin-ui/skin/base/layout/common.scss +72 -0
- package/lib/app/molstar/lib/mol-plugin-ui/skin/base/layout/controls-landscape.scss +90 -0
- package/lib/app/molstar/lib/mol-plugin-ui/skin/base/layout/controls-outside.scss +99 -0
- package/lib/app/molstar/lib/mol-plugin-ui/skin/base/layout/controls-portrait.scss +109 -0
- package/lib/app/molstar/lib/mol-plugin-ui/skin/base/layout.scss +41 -0
- package/lib/app/molstar/lib/mol-plugin-ui/skin/base/logo.scss +13 -0
- package/lib/app/molstar/lib/mol-plugin-ui/skin/base/normalize.scss +210 -0
- package/lib/app/molstar/lib/mol-plugin-ui/skin/base/ui.scss +41 -0
- package/lib/app/molstar/lib/mol-plugin-ui/skin/base/variables.scss +86 -0
- package/lib/app/molstar/lib/mol-plugin-ui/skin/blue.scss +2 -0
- package/lib/app/molstar/lib/mol-plugin-ui/skin/colors/blue.scss +24 -0
- package/lib/app/molstar/lib/mol-plugin-ui/skin/colors/dark.scss +24 -0
- package/lib/app/molstar/lib/mol-plugin-ui/skin/colors/light.scss +30 -0
- package/lib/app/molstar/lib/mol-plugin-ui/skin/dark.scss +2 -0
- package/lib/app/molstar/lib/mol-plugin-ui/skin/light.scss +2 -0
- package/lib/custom-events.d.ts +4 -4
- package/lib/custom-events.js +56 -56
- package/lib/domain-annotations/behavior.d.ts +5 -5
- package/lib/domain-annotations/behavior.js +49 -49
- package/lib/domain-annotations/color.d.ts +10 -10
- package/lib/domain-annotations/color.js +78 -78
- package/lib/domain-annotations/prop.d.ts +35 -35
- package/lib/domain-annotations/prop.js +160 -160
- package/lib/drugflow-molstar-component-build-0.1.2.js +4268 -0
- package/lib/drugflow-molstar-component-build-0.1.2.js.LICENSE.txt +24 -0
- package/lib/drugflow-molstar-component-build-0.1.2.js.map +1 -0
- package/lib/drugflow-molstar-component-build-0.1.3.js +2 -0
- package/lib/drugflow-molstar-component-build-0.1.3.js.LICENSE.txt +24 -0
- package/lib/drugflow-molstar-component-build-0.1.4.js +2 -0
- package/lib/drugflow-molstar-component-build-0.1.4.js.LICENSE.txt +24 -0
- package/lib/drugflow-molstar-component-build-0.1.6.js +2 -0
- package/lib/drugflow-molstar-component-build-0.1.6.js.LICENSE.txt +24 -0
- package/lib/drugflow-molstar-component-build-0.2.2.js +2 -0
- package/lib/drugflow-molstar-component-build-0.2.2.js.LICENSE.txt +24 -0
- package/lib/helpers.d.ts +82 -81
- package/lib/helpers.js +278 -278
- package/lib/index.d.ts +1 -1
- package/lib/index.js +1274 -1239
- package/lib/labels.d.ts +2 -2
- package/lib/labels.js +42 -42
- package/lib/loci-details.d.ts +27 -27
- package/lib/loci-details.js +128 -128
- package/lib/pdbe-molstar-component-build-3.1.2.js +2 -0
- package/lib/pdbe-molstar-component-build-3.1.2.js.LICENSE.txt +24 -0
- package/lib/sifts-mapping.d.ts +16 -16
- package/lib/sifts-mapping.js +83 -83
- package/lib/sifts-mappings-behaviour.d.ts +5 -5
- package/lib/sifts-mappings-behaviour.js +64 -64
- package/lib/spec.d.ts +76 -76
- package/lib/spec.js +105 -105
- package/lib/subscribe-events.d.ts +1 -1
- package/lib/subscribe-events.js +194 -194
- package/lib/superposition-export.d.ts +4 -4
- package/lib/superposition-export.js +152 -152
- package/lib/superposition-focus-representation.d.ts +16 -16
- package/lib/superposition-focus-representation.js +153 -153
- package/lib/superposition-sifts-mapping.d.ts +22 -22
- package/lib/superposition-sifts-mapping.js +159 -159
- package/lib/superposition.d.ts +18 -18
- package/lib/superposition.js +794 -794
- package/lib/ui/alphafold-superposition.d.ts +56 -56
- package/lib/ui/alphafold-superposition.js +178 -178
- package/lib/ui/alphafold-tranparency.d.ts +22 -22
- package/lib/ui/alphafold-tranparency.js +65 -65
- package/lib/ui/annotation-controls.d.ts +24 -24
- package/lib/ui/annotation-controls.js +166 -166
- package/lib/ui/export-superposition.d.ts +6 -6
- package/lib/ui/export-superposition.js +71 -71
- package/lib/ui/pdbe-left-panel.d.ts +18 -18
- package/lib/ui/pdbe-left-panel.js +167 -167
- package/lib/ui/pdbe-screenshot-controls.d.ts +20 -20
- package/lib/ui/pdbe-screenshot-controls.js +101 -101
- package/lib/ui/pdbe-structure-controls.d.ts +17 -17
- package/lib/ui/pdbe-structure-controls.js +70 -70
- package/lib/ui/pdbe-viewport-controls.d.ts +6 -6
- package/lib/ui/pdbe-viewport-controls.js +56 -56
- package/lib/ui/segment-tree.d.ts +18 -18
- package/lib/ui/segment-tree.js +804 -804
- package/lib/ui/superposition-components.d.ts +10 -10
- package/lib/ui/superposition-components.js +435 -435
- package/lib/ui/superposition-viewport.d.ts +5 -5
- package/lib/ui/superposition-viewport.js +23 -23
- package/package.json +79 -79
- /package/build/{drugflow-molstar-0.2.0.css → drugflow-molstar-0.2.2.css} +0 -0
- /package/build/{drugflow-molstar-plugin-0.2.0.js.LICENSE.txt → drugflow-molstar-plugin-0.2.2.js.LICENSE.txt} +0 -0
|
@@ -0,0 +1,126 @@
|
|
|
1
|
+
.msp-sequence {
|
|
2
|
+
position: absolute;
|
|
3
|
+
right: 0;
|
|
4
|
+
top: 0;
|
|
5
|
+
left: 0;
|
|
6
|
+
bottom: 0;
|
|
7
|
+
background: $sequence-background;
|
|
8
|
+
}
|
|
9
|
+
|
|
10
|
+
$sequence-select-height: 24px;
|
|
11
|
+
.msp-sequence-select {
|
|
12
|
+
position: relative;
|
|
13
|
+
height: $sequence-select-height;
|
|
14
|
+
width: 100%;
|
|
15
|
+
margin-bottom: 1px;
|
|
16
|
+
background: $control-background;
|
|
17
|
+
text-align: left;
|
|
18
|
+
|
|
19
|
+
> span {
|
|
20
|
+
display: inline-block;
|
|
21
|
+
line-height: $sequence-select-height;
|
|
22
|
+
padding: 0 $control-spacing;
|
|
23
|
+
font-size: 85%;
|
|
24
|
+
font-weight: bold;
|
|
25
|
+
cursor: default;
|
|
26
|
+
}
|
|
27
|
+
|
|
28
|
+
> select {
|
|
29
|
+
display: inline-block;
|
|
30
|
+
max-width: 120px;
|
|
31
|
+
width: auto;
|
|
32
|
+
text-overflow: ellipsis;
|
|
33
|
+
font-size: 85%;
|
|
34
|
+
height: $sequence-select-height;
|
|
35
|
+
line-height: $sequence-select-height;
|
|
36
|
+
background-size: 6px 8px;
|
|
37
|
+
background-color: $control-background;
|
|
38
|
+
}
|
|
39
|
+
}
|
|
40
|
+
|
|
41
|
+
.msp-sequence-wrapper {
|
|
42
|
+
word-break: break-word;
|
|
43
|
+
// use $control-spacing for top to have space for sequence numebrs
|
|
44
|
+
padding: $control-spacing $control-spacing $info-vertical-padding $control-spacing;
|
|
45
|
+
user-select: none;
|
|
46
|
+
}
|
|
47
|
+
|
|
48
|
+
.msp-sequence-wrapper-non-empty {
|
|
49
|
+
font-size: 85%;
|
|
50
|
+
line-height: 180%;
|
|
51
|
+
font-family: "Courier New", monospace;
|
|
52
|
+
background: $msp-form-control-background;
|
|
53
|
+
|
|
54
|
+
width: 100%;
|
|
55
|
+
overflow-y: auto;
|
|
56
|
+
overflow-x: hidden;
|
|
57
|
+
position: absolute;
|
|
58
|
+
top: $sequence-select-height + 1px;
|
|
59
|
+
left: 0;
|
|
60
|
+
bottom: 0;
|
|
61
|
+
right: 0;
|
|
62
|
+
}
|
|
63
|
+
|
|
64
|
+
.msp-sequence-chain-label {
|
|
65
|
+
margin-left: $control-spacing;
|
|
66
|
+
margin-top: $control-spacing;
|
|
67
|
+
user-select: none;
|
|
68
|
+
color: $sequence-number-color;
|
|
69
|
+
font-size: 90%;
|
|
70
|
+
line-height: 90%;
|
|
71
|
+
padding-left: 0.2em;
|
|
72
|
+
}
|
|
73
|
+
|
|
74
|
+
.msp-sequence-wrapper {
|
|
75
|
+
span {
|
|
76
|
+
cursor: pointer;
|
|
77
|
+
}
|
|
78
|
+
|
|
79
|
+
.msp-sequence-residue-long {
|
|
80
|
+
margin: 0em 0.2em 0em 0.2em;
|
|
81
|
+
}
|
|
82
|
+
|
|
83
|
+
.msp-sequence-residue-long-begin {
|
|
84
|
+
margin: 0em 0.2em 0em 0em;
|
|
85
|
+
}
|
|
86
|
+
|
|
87
|
+
.msp-sequence-label {
|
|
88
|
+
color: $sequence-number-color;
|
|
89
|
+
font-size: 90%;
|
|
90
|
+
line-height: 90%;
|
|
91
|
+
padding-bottom: 1em;
|
|
92
|
+
padding-left: 0.2em;
|
|
93
|
+
}
|
|
94
|
+
|
|
95
|
+
.msp-sequence-number {
|
|
96
|
+
color: $sequence-number-color;
|
|
97
|
+
word-break: keep-all;
|
|
98
|
+
cursor: default;
|
|
99
|
+
position: relative;
|
|
100
|
+
top: -1.1em;
|
|
101
|
+
left: 3.1em;
|
|
102
|
+
padding: 0px;
|
|
103
|
+
margin-left: -3em;
|
|
104
|
+
font-size: 80%;
|
|
105
|
+
}
|
|
106
|
+
|
|
107
|
+
.msp-sequence-number-long {
|
|
108
|
+
left: 3.3em;
|
|
109
|
+
}
|
|
110
|
+
|
|
111
|
+
.msp-sequence-number-long-negative {
|
|
112
|
+
left: 2.7em;
|
|
113
|
+
}
|
|
114
|
+
|
|
115
|
+
.msp-sequence-number-negative {
|
|
116
|
+
left: 2.5em;
|
|
117
|
+
}
|
|
118
|
+
|
|
119
|
+
.msp-sequence-present {
|
|
120
|
+
color: $font-color;
|
|
121
|
+
}
|
|
122
|
+
|
|
123
|
+
.msp-sequence-missing {
|
|
124
|
+
color: color-lower-contrast($font-color, 33%);
|
|
125
|
+
}
|
|
126
|
+
}
|
|
@@ -0,0 +1,166 @@
|
|
|
1
|
+
@mixin borderBox {
|
|
2
|
+
box-sizing: border-box;
|
|
3
|
+
-webkit-tap-highlight-color: rgba(0, 0, 0, 0); // remove tap highlight color for mobile safari
|
|
4
|
+
|
|
5
|
+
* {
|
|
6
|
+
box-sizing: border-box;
|
|
7
|
+
-webkit-tap-highlight-color: rgba(0, 0, 0, 0); // remove tap highlight color for mobile safari
|
|
8
|
+
}
|
|
9
|
+
}
|
|
10
|
+
|
|
11
|
+
.msp-slider-base {
|
|
12
|
+
position: relative;
|
|
13
|
+
height: 14px;
|
|
14
|
+
padding: 5px 0;
|
|
15
|
+
width: 100%;
|
|
16
|
+
border-radius: $slider-border-radius-base;
|
|
17
|
+
align-self: center;
|
|
18
|
+
@include borderBox;
|
|
19
|
+
|
|
20
|
+
&-rail {
|
|
21
|
+
position: absolute;
|
|
22
|
+
width: 100%;
|
|
23
|
+
background-color: $control-background;
|
|
24
|
+
height: 4px;
|
|
25
|
+
border-radius: 2px;
|
|
26
|
+
}
|
|
27
|
+
|
|
28
|
+
&-track {
|
|
29
|
+
position: absolute;
|
|
30
|
+
left: 0;
|
|
31
|
+
height: 4px;
|
|
32
|
+
border-radius: $slider-border-radius-base;
|
|
33
|
+
background-color: tint($font-color, 60%);
|
|
34
|
+
}
|
|
35
|
+
|
|
36
|
+
&-handle {
|
|
37
|
+
position: absolute;
|
|
38
|
+
margin-left: -11px;
|
|
39
|
+
margin-top: -9px;
|
|
40
|
+
width: 22px;
|
|
41
|
+
height: 22px;
|
|
42
|
+
cursor: pointer;
|
|
43
|
+
border-radius: 50%;
|
|
44
|
+
background-color: $font-color;
|
|
45
|
+
border: 4px solid $control-background;
|
|
46
|
+
|
|
47
|
+
&:hover {
|
|
48
|
+
background-color: $hover-font-color;
|
|
49
|
+
}
|
|
50
|
+
}
|
|
51
|
+
|
|
52
|
+
&-mark {
|
|
53
|
+
position: absolute;
|
|
54
|
+
top: 18px;
|
|
55
|
+
left: 0;
|
|
56
|
+
width: 100%;
|
|
57
|
+
font-size: 12px;
|
|
58
|
+
}
|
|
59
|
+
|
|
60
|
+
&-mark-text {
|
|
61
|
+
position: absolute;
|
|
62
|
+
display: inline-block;
|
|
63
|
+
vertical-align: middle;
|
|
64
|
+
text-align: center;
|
|
65
|
+
cursor: pointer;
|
|
66
|
+
color: #999;
|
|
67
|
+
|
|
68
|
+
&-active {
|
|
69
|
+
color: #666;
|
|
70
|
+
}
|
|
71
|
+
}
|
|
72
|
+
|
|
73
|
+
&-step {
|
|
74
|
+
position: absolute;
|
|
75
|
+
width: 100%;
|
|
76
|
+
height: 4px;
|
|
77
|
+
background: transparent;
|
|
78
|
+
}
|
|
79
|
+
|
|
80
|
+
&-dot {
|
|
81
|
+
position: absolute;
|
|
82
|
+
bottom: -2px;
|
|
83
|
+
margin-left: -4px;
|
|
84
|
+
width: 8px;
|
|
85
|
+
height: 8px;
|
|
86
|
+
border: 2px solid #e9e9e9;
|
|
87
|
+
background-color: #fff;
|
|
88
|
+
cursor: pointer;
|
|
89
|
+
border-radius: 50%;
|
|
90
|
+
vertical-align: middle;
|
|
91
|
+
&:first-child {
|
|
92
|
+
margin-left: -4px;
|
|
93
|
+
}
|
|
94
|
+
&:last-child {
|
|
95
|
+
margin-left: -4px;
|
|
96
|
+
}
|
|
97
|
+
&-active {
|
|
98
|
+
border-color: tint($font-color, 50%);
|
|
99
|
+
}
|
|
100
|
+
}
|
|
101
|
+
|
|
102
|
+
&-disabled {
|
|
103
|
+
background: $default-background;
|
|
104
|
+
opacity: 0.35;
|
|
105
|
+
|
|
106
|
+
// .msp-slider-base-track {
|
|
107
|
+
// background-color: $slider-disabledColor;
|
|
108
|
+
// }
|
|
109
|
+
|
|
110
|
+
.msp-slider-base-handle, .msp-slider-base-dot {
|
|
111
|
+
// border-color: $slider-disabledColor;
|
|
112
|
+
// background-color: color-lower-contrast($font-color, 10%);
|
|
113
|
+
cursor: not-allowed;
|
|
114
|
+
}
|
|
115
|
+
|
|
116
|
+
.msp-slider-base-mark-text, .msp-slider-base-dot {
|
|
117
|
+
cursor: not-allowed!important;
|
|
118
|
+
}
|
|
119
|
+
}
|
|
120
|
+
}
|
|
121
|
+
|
|
122
|
+
// .msp-slider-base-vertical {
|
|
123
|
+
// width: 14px;
|
|
124
|
+
// height: 100%;
|
|
125
|
+
// padding: 0 5px;
|
|
126
|
+
|
|
127
|
+
// .msp-slider-base {
|
|
128
|
+
// &-rail {
|
|
129
|
+
// height: 100%;
|
|
130
|
+
// width: 4px;
|
|
131
|
+
// }
|
|
132
|
+
|
|
133
|
+
// &-track {
|
|
134
|
+
// left: 5px;
|
|
135
|
+
// bottom: 0;
|
|
136
|
+
// width: 4px;
|
|
137
|
+
// }
|
|
138
|
+
|
|
139
|
+
// &-handle {
|
|
140
|
+
// margin-left: -5px;
|
|
141
|
+
// margin-bottom: -7px;
|
|
142
|
+
// }
|
|
143
|
+
|
|
144
|
+
// &-mark {
|
|
145
|
+
// top: 0;
|
|
146
|
+
// left: 18px;
|
|
147
|
+
// height: 100%;
|
|
148
|
+
// }
|
|
149
|
+
|
|
150
|
+
// &-step {
|
|
151
|
+
// height: 100%;
|
|
152
|
+
// width: 4px;
|
|
153
|
+
// }
|
|
154
|
+
|
|
155
|
+
// &-dot {
|
|
156
|
+
// left: 2px;
|
|
157
|
+
// margin-bottom: -4px;
|
|
158
|
+
// &:first-child {
|
|
159
|
+
// margin-bottom: -4px;
|
|
160
|
+
// }
|
|
161
|
+
// &:last-child {
|
|
162
|
+
// margin-bottom: -4px;
|
|
163
|
+
// }
|
|
164
|
+
// }
|
|
165
|
+
// }
|
|
166
|
+
// }
|
|
@@ -0,0 +1,99 @@
|
|
|
1
|
+
.msp-task-state {
|
|
2
|
+
|
|
3
|
+
line-height: $row-height;
|
|
4
|
+
//height: $row-height;
|
|
5
|
+
//position: relative;
|
|
6
|
+
//margin-top: 1px;
|
|
7
|
+
|
|
8
|
+
> span {
|
|
9
|
+
@include non-selectable;
|
|
10
|
+
//display: inline-block;
|
|
11
|
+
//padding: 0 $control-spacing;
|
|
12
|
+
}
|
|
13
|
+
}
|
|
14
|
+
|
|
15
|
+
.msp-overlay-tasks {
|
|
16
|
+
position: absolute;
|
|
17
|
+
display: flex;
|
|
18
|
+
top: 0;
|
|
19
|
+
left: 0;
|
|
20
|
+
bottom: 0;
|
|
21
|
+
right: 0;
|
|
22
|
+
height: 100%;
|
|
23
|
+
width: 100%;
|
|
24
|
+
z-index: 1000;
|
|
25
|
+
justify-content: center;
|
|
26
|
+
align-items: center;
|
|
27
|
+
background: rgba(0, 0, 0, 0.25);
|
|
28
|
+
|
|
29
|
+
.msp-task-state {
|
|
30
|
+
$size: $row-height;
|
|
31
|
+
|
|
32
|
+
> div {
|
|
33
|
+
height: $size;
|
|
34
|
+
margin-top: 1px;
|
|
35
|
+
position: relative;
|
|
36
|
+
width: 100%;
|
|
37
|
+
background: $default-background;
|
|
38
|
+
|
|
39
|
+
> div {
|
|
40
|
+
height: $size;
|
|
41
|
+
line-height: $size;
|
|
42
|
+
display: inline-block;
|
|
43
|
+
padding: 0 ($control-spacing);
|
|
44
|
+
@include non-selectable;
|
|
45
|
+
white-space: nowrap;
|
|
46
|
+
background: $default-background;
|
|
47
|
+
position: absolute;
|
|
48
|
+
}
|
|
49
|
+
|
|
50
|
+
> button {
|
|
51
|
+
display: inline-block;
|
|
52
|
+
margin-top: -3px;
|
|
53
|
+
// font-size: 140%;
|
|
54
|
+
}
|
|
55
|
+
}
|
|
56
|
+
}
|
|
57
|
+
}
|
|
58
|
+
|
|
59
|
+
/* background */
|
|
60
|
+
|
|
61
|
+
.msp-background-tasks {
|
|
62
|
+
position: absolute;
|
|
63
|
+
left: 0;
|
|
64
|
+
bottom: 0;
|
|
65
|
+
z-index: 1000;
|
|
66
|
+
|
|
67
|
+
.msp-task-state {
|
|
68
|
+
$size: $row-height;
|
|
69
|
+
|
|
70
|
+
> div {
|
|
71
|
+
height: $size;
|
|
72
|
+
margin-top: 1px;
|
|
73
|
+
position: relative;
|
|
74
|
+
width: 100%;
|
|
75
|
+
background: $default-background;
|
|
76
|
+
|
|
77
|
+
> div {
|
|
78
|
+
height: $size;
|
|
79
|
+
line-height: $size;
|
|
80
|
+
display: inline-block;
|
|
81
|
+
padding: 0 ($control-spacing);
|
|
82
|
+
@include non-selectable;
|
|
83
|
+
white-space: nowrap;
|
|
84
|
+
background: $default-background;
|
|
85
|
+
position: absolute;
|
|
86
|
+
}
|
|
87
|
+
|
|
88
|
+
> button {
|
|
89
|
+
display: inline-block;
|
|
90
|
+
margin-top: -3px;
|
|
91
|
+
// font-size: 140%;
|
|
92
|
+
}
|
|
93
|
+
}
|
|
94
|
+
}
|
|
95
|
+
}
|
|
96
|
+
|
|
97
|
+
// .msp-background-tasks .msp-task-state {
|
|
98
|
+
// color:
|
|
99
|
+
// }
|
|
@@ -0,0 +1,84 @@
|
|
|
1
|
+
|
|
2
|
+
@use "sass:math";
|
|
3
|
+
|
|
4
|
+
.msp-toast-container {
|
|
5
|
+
position: relative;
|
|
6
|
+
// bottom: $control-spacing;
|
|
7
|
+
// right: $control-spacing;
|
|
8
|
+
// margin-left: $control-spacing;
|
|
9
|
+
z-index: 1001;
|
|
10
|
+
|
|
11
|
+
.msp-toast-entry {
|
|
12
|
+
color: $font-color;
|
|
13
|
+
background: $control-background;
|
|
14
|
+
position: relative;
|
|
15
|
+
float: right;
|
|
16
|
+
min-height: $row-height;
|
|
17
|
+
margin-top: $control-spacing;
|
|
18
|
+
border: 1px solid $border-color;
|
|
19
|
+
display: table;
|
|
20
|
+
|
|
21
|
+
.msp-toast-title {
|
|
22
|
+
height: 100%;
|
|
23
|
+
line-height: $row-height;
|
|
24
|
+
padding: 0 $control-spacing;
|
|
25
|
+
background: $default-background;
|
|
26
|
+
font-weight: bold;
|
|
27
|
+
display: table-cell;
|
|
28
|
+
|
|
29
|
+
-webkit-user-select: none; /* Chrome/Safari */
|
|
30
|
+
-moz-user-select: none; /* Firefox */
|
|
31
|
+
-ms-user-select: none; /* IE10+ */
|
|
32
|
+
|
|
33
|
+
/* Rules below not implemented in browsers yet */
|
|
34
|
+
-o-user-select: none;
|
|
35
|
+
user-select: none;
|
|
36
|
+
|
|
37
|
+
font-weight: light;
|
|
38
|
+
|
|
39
|
+
cursor: pointer;
|
|
40
|
+
}
|
|
41
|
+
|
|
42
|
+
.msp-toast-message {
|
|
43
|
+
padding: $info-vertical-padding ($control-spacing + $row-height) $info-vertical-padding $control-spacing;
|
|
44
|
+
display: table-cell;
|
|
45
|
+
|
|
46
|
+
a {
|
|
47
|
+
text-decoration: none;
|
|
48
|
+
color: $msp-btn-commit-on-font-color;
|
|
49
|
+
font-weight: bold;
|
|
50
|
+
|
|
51
|
+
&:hover {
|
|
52
|
+
text-decoration: underline;
|
|
53
|
+
color: $msp-btn-commit-on-hover-font-color;
|
|
54
|
+
}
|
|
55
|
+
|
|
56
|
+
&:active, &:focus {
|
|
57
|
+
color: $msp-btn-commit-on-font-color;
|
|
58
|
+
outline-offset: 0;
|
|
59
|
+
outline: none;
|
|
60
|
+
}
|
|
61
|
+
}
|
|
62
|
+
}
|
|
63
|
+
|
|
64
|
+
.msp-toast-hide {
|
|
65
|
+
position: absolute;
|
|
66
|
+
width: $row-height + $control-spacing;
|
|
67
|
+
right: 0;
|
|
68
|
+
top: 0;
|
|
69
|
+
bottom: 0;
|
|
70
|
+
|
|
71
|
+
.msp-btn-icon {
|
|
72
|
+
background: transparent;
|
|
73
|
+
position: absolute;
|
|
74
|
+
top: 1px;
|
|
75
|
+
right: 0;
|
|
76
|
+
left: 0;
|
|
77
|
+
bottom: 0;
|
|
78
|
+
width: 100%;
|
|
79
|
+
text-align: right;
|
|
80
|
+
padding-right: math.div($control-spacing, 2);
|
|
81
|
+
}
|
|
82
|
+
}
|
|
83
|
+
}
|
|
84
|
+
}
|
|
@@ -0,0 +1,164 @@
|
|
|
1
|
+
.msp-transformer {
|
|
2
|
+
|
|
3
|
+
.msp-entity-badge {
|
|
4
|
+
position: absolute;
|
|
5
|
+
top: 0;
|
|
6
|
+
right: 0;
|
|
7
|
+
height: $row-height;
|
|
8
|
+
line-height: $row-height;
|
|
9
|
+
width: $row-height;
|
|
10
|
+
}
|
|
11
|
+
}
|
|
12
|
+
|
|
13
|
+
.msp-layout-right, .msp-layout-left {
|
|
14
|
+
background: $control-background;
|
|
15
|
+
}
|
|
16
|
+
|
|
17
|
+
.msp-transformer-wrapper {
|
|
18
|
+
position: relative;
|
|
19
|
+
}
|
|
20
|
+
|
|
21
|
+
.msp-transformer-wrapper {
|
|
22
|
+
|
|
23
|
+
.msp-entity-badge {
|
|
24
|
+
left: 0;
|
|
25
|
+
top: 0;
|
|
26
|
+
}
|
|
27
|
+
|
|
28
|
+
&:first-child {
|
|
29
|
+
.msp-panel-description-content {
|
|
30
|
+
top: $row-height + 1;
|
|
31
|
+
}
|
|
32
|
+
}
|
|
33
|
+
|
|
34
|
+
&:not(:first-child) {
|
|
35
|
+
.msp-panel-description-content {
|
|
36
|
+
bottom: $row-height + 1;
|
|
37
|
+
}
|
|
38
|
+
}
|
|
39
|
+
}
|
|
40
|
+
|
|
41
|
+
.msp-transform-wrapper {
|
|
42
|
+
margin-bottom: $control-spacing;
|
|
43
|
+
}
|
|
44
|
+
|
|
45
|
+
.msp-transform-wrapper-collapsed {
|
|
46
|
+
margin-bottom: 1px;
|
|
47
|
+
}
|
|
48
|
+
|
|
49
|
+
.msp-transform-update-wrapper {
|
|
50
|
+
margin-bottom: 1px;
|
|
51
|
+
}
|
|
52
|
+
|
|
53
|
+
.msp-transform-update-wrapper-collapsed {
|
|
54
|
+
margin-bottom: 1px;
|
|
55
|
+
}
|
|
56
|
+
|
|
57
|
+
.msp-transform-update-wrapper, .msp-transform-update-wrapper-collapsed {
|
|
58
|
+
> .msp-transform-header > button {
|
|
59
|
+
text-align: left;
|
|
60
|
+
padding-left: $row-height;
|
|
61
|
+
line-height: 24px;
|
|
62
|
+
background: color-lower-contrast($control-background, 4%); // $control-background; // color-lower-contrast($default-background, 4%);
|
|
63
|
+
// font-weight: bold;
|
|
64
|
+
}
|
|
65
|
+
}
|
|
66
|
+
|
|
67
|
+
.msp-transform-wrapper > .msp-transform-header > button {
|
|
68
|
+
text-align: left;
|
|
69
|
+
background: $default-background; // color-lower-contrast($default-background, 4%);
|
|
70
|
+
font-weight: bold;
|
|
71
|
+
padding-right: 5px;
|
|
72
|
+
}
|
|
73
|
+
|
|
74
|
+
.msp-transform-header {
|
|
75
|
+
position: relative;
|
|
76
|
+
// border-top: 1px solid $entity-color-Behaviour; // TODO: separate color
|
|
77
|
+
|
|
78
|
+
// > button {
|
|
79
|
+
// text-align: left;
|
|
80
|
+
// padding-left: $row-height;
|
|
81
|
+
// background: $control-background; // color-lower-contrast($default-background, 4%);
|
|
82
|
+
// font-weight: bold;
|
|
83
|
+
// }
|
|
84
|
+
|
|
85
|
+
> button > small {
|
|
86
|
+
font-weight: normal;
|
|
87
|
+
float: right;
|
|
88
|
+
}
|
|
89
|
+
|
|
90
|
+
> button {
|
|
91
|
+
> span:first-child {
|
|
92
|
+
margin-right: 10px;
|
|
93
|
+
}
|
|
94
|
+
}
|
|
95
|
+
|
|
96
|
+
> button:hover {
|
|
97
|
+
color: color-lower-contrast($font-color, 15%);
|
|
98
|
+
}
|
|
99
|
+
}
|
|
100
|
+
|
|
101
|
+
.msp-transform-header-brand {
|
|
102
|
+
// padding-left: 42px;
|
|
103
|
+
margin-bottom: -1px;
|
|
104
|
+
svg {
|
|
105
|
+
fill: $font-color;
|
|
106
|
+
stroke: $font-color;
|
|
107
|
+
}
|
|
108
|
+
// > div {
|
|
109
|
+
// position: absolute;
|
|
110
|
+
// height: 32px;
|
|
111
|
+
// line-height: 32px;
|
|
112
|
+
// width: 32px;
|
|
113
|
+
// top: 0;
|
|
114
|
+
// left: 0;
|
|
115
|
+
// text-align: center;
|
|
116
|
+
// color: #eceff3;
|
|
117
|
+
// fill: #eceff3;
|
|
118
|
+
// stroke: #eceff3;
|
|
119
|
+
// font-size: 85%;
|
|
120
|
+
// }
|
|
121
|
+
}
|
|
122
|
+
|
|
123
|
+
.msp-transform-default-params {
|
|
124
|
+
background: $default-background;
|
|
125
|
+
position: absolute;
|
|
126
|
+
left: 0;
|
|
127
|
+
top: 0;
|
|
128
|
+
width: $row-height;
|
|
129
|
+
padding: 0;
|
|
130
|
+
}
|
|
131
|
+
|
|
132
|
+
.msp-transform-default-params:hover {
|
|
133
|
+
background: color-lower-contrast($default-background, 20%);
|
|
134
|
+
}
|
|
135
|
+
|
|
136
|
+
.msp-transform-apply-wrap {
|
|
137
|
+
position: relative;
|
|
138
|
+
margin-top: 1px;
|
|
139
|
+
width: 100%;
|
|
140
|
+
height: $row-height;
|
|
141
|
+
}
|
|
142
|
+
|
|
143
|
+
.msp-transform-refresh {
|
|
144
|
+
width: $control-label-width + $control-spacing - $row-height - 1;
|
|
145
|
+
margin-left: $row-height + 1;
|
|
146
|
+
background: $default-background;
|
|
147
|
+
text-align: right;
|
|
148
|
+
}
|
|
149
|
+
|
|
150
|
+
.msp-transform-apply {
|
|
151
|
+
display: block;
|
|
152
|
+
position: absolute;
|
|
153
|
+
left: $control-label-width + $control-spacing;
|
|
154
|
+
right: 0;
|
|
155
|
+
top: 0;
|
|
156
|
+
}
|
|
157
|
+
|
|
158
|
+
.msp-transform-apply-wider {
|
|
159
|
+
margin-left: $row-height + 1px;
|
|
160
|
+
}
|
|
161
|
+
|
|
162
|
+
.msp-data-beh {
|
|
163
|
+
margin: $control-spacing 0 !important;
|
|
164
|
+
}
|