Skip to content

Commit a3b9b63

Browse files
mcharfadisbegaudeau
authored andcommitted
[5651] Add support for undo redo on label appearance and label layout data
Bug: #5651 Signed-off-by: Michaël Charfadi <michael.charfadi@obeosoft.com>
1 parent 1b9dd51 commit a3b9b63

File tree

426 files changed

+85818
-76
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

426 files changed

+85818
-76
lines changed

CHANGELOG.adoc

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -212,6 +212,7 @@ In conjonction of the `workbenchViewContributionExtensionPoint` frontend extensi
212212
- https://github.com/eclipse-sirius/sirius-web/issues/5958[#5958] [diagram] Allow the execution of adjust size tool on a multi selection
213213
- https://github.com/eclipse-sirius/sirius-web/issues/5937[#5937] [diagram] Add support for bending points for oblique edges
214214
- https://github.com/eclipse-sirius/sirius-web/issues/5300[#5300] [diagram] Add undo redo for node layout
215+
- https://github.com/eclipse-sirius/sirius-web/issues/5651[#5651] [diagram] Add undo redo for label layout and appearance
215216

216217

217218
=== Improvements
Lines changed: 131 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,131 @@
1+
.search-result-dropdown-menu {
2+
position: absolute;
3+
z-index: 100;
4+
display: block;
5+
right: 0;
6+
left: inherit;
7+
top: 100%;
8+
border-radius: 4px;
9+
margin: 6px 0 0;
10+
padding: 0;
11+
text-align: left;
12+
height: auto;
13+
background: transparent;
14+
border: none;
15+
max-width: 600px;
16+
min-width: 500px;
17+
box-shadow: 0 1px 0 0 rgb(0 0 0 / 20%), 0 2px 3px 0 rgb(0 0 0 / 10%);
18+
}
19+
20+
@media screen and (max-width: 768px) {
21+
.search-result-dropdown-menu {
22+
min-width: calc(100vw - 3.75rem);
23+
}
24+
}
25+
26+
.search-result-dataset {
27+
position: relative;
28+
border: 1px solid #d9d9d9;
29+
background: #fff;
30+
border-radius: 4px;
31+
overflow: auto;
32+
padding: 8px;
33+
max-height: calc(100vh - 5.25rem);
34+
line-height: 1.5;
35+
}
36+
37+
.search-result-item {
38+
display: flex;
39+
margin-top: 0.5rem;
40+
}
41+
42+
.search-result-component-header {
43+
color: #1e1e1e;
44+
border-bottom: 1px solid #ddd;
45+
margin-left: 0.5em;
46+
margin-right: 0.5em;
47+
padding-top: 0.25em;
48+
padding-bottom: 0.25em;
49+
}
50+
51+
.search-result-document-title {
52+
width: 33%;
53+
border-right: 1px solid #ddd;
54+
color: #02060c;
55+
font-weight: 500;
56+
font-size: 0.8rem;
57+
padding: 0.5rem 0.5rem 0.5rem 0;
58+
text-align: right;
59+
position: relative;
60+
word-wrap: break-word;
61+
}
62+
63+
.search-result-document-hit {
64+
flex: 1;
65+
font-size: 0.75rem;
66+
color: #63676d;
67+
}
68+
69+
.search-result-document-hit > a {
70+
color: inherit;
71+
display: block;
72+
padding: 0.55rem 0.25rem 0.55rem 0.75rem;
73+
}
74+
75+
.search-result-document-hit > a:hover {
76+
background-color: rgb(69 142 225 / 5%);
77+
}
78+
79+
.search-result-document-hit .search-result-highlight {
80+
color: #174d8c;
81+
background: rgb(143 187 237 / 10%);
82+
padding: 0.1em 0.05em;
83+
font-weight: 500;
84+
}
85+
86+
.search-result-document-hit .search-result-section-title {
87+
color: #303030;
88+
font-weight: 500;
89+
font-size: 1.05em;
90+
margin-bottom: 0.25em;
91+
}
92+
93+
.search-result-document-hit .search-result-keywords {
94+
margin-top: 0.25em;
95+
}
96+
97+
.search-result-document-hit .search-result-keywords-field-label {
98+
font-weight: bold;
99+
}
100+
101+
#search-input {
102+
padding: 0.25em;
103+
}
104+
105+
#search-input:focus {
106+
outline: none;
107+
}
108+
109+
#search-field {
110+
display: flex;
111+
}
112+
113+
#search-field .filter {
114+
background: #fff linear-gradient(180deg, #e1e1e1 0, #e1e1e1) no-repeat 0 / 1px 50%;
115+
border: 1px solid #e1e1e1;
116+
border-left: none;
117+
border-radius: 0 0.1em 0.1em 0;
118+
color: #5d5d5d;
119+
cursor: pointer;
120+
font-size: 0.875em;
121+
display: flex;
122+
align-items: center;
123+
padding: 0 0.5rem;
124+
white-space: nowrap;
125+
overflow: hidden;
126+
}
127+
128+
#search-field.has-filter > input {
129+
border-right: none;
130+
border-radius: 0.1em 0 0 0.1em;
131+
}

doc/docs-site/build/site/_/css/site.css

Lines changed: 3 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

doc/docs-site/build/site/_/css/vendor/swagger-ui.css

Lines changed: 1 addition & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.
10.1 KB
Binary file not shown.
Binary file not shown.
10.4 KB
Binary file not shown.
9.61 KB
Binary file not shown.
21.5 KB
Binary file not shown.
17 KB
Binary file not shown.

0 commit comments

Comments
 (0)