Skip to content

Commit 9058b21

Browse files
Release OpenProject 10.6.1
2 parents 2a6fd1b + f0ae01f commit 9058b21

File tree

194 files changed

+1281
-862
lines changed

Some content is hidden

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

194 files changed

+1281
-862
lines changed

.DS_Store

-8 KB
Binary file not shown.

Gemfile.lock

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -961,7 +961,7 @@ GEM
961961
hashdiff (>= 0.4.0, < 2.0.0)
962962
websocket-driver (0.7.1)
963963
websocket-extensions (>= 0.1.0)
964-
websocket-extensions (0.1.4)
964+
websocket-extensions (0.1.5)
965965
will_paginate (3.3.0)
966966
with_advisory_lock (4.6.0)
967967
activerecord (>= 4.2)

app/assets/stylesheets/content/_forms.sass

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -181,12 +181,6 @@ hr
181181
.form--space
182182
padding-top: 1rem
183183

184-
&.-left-spacing
185-
padding-left: 1rem
186-
187-
&.-big
188-
padding-top: 20px
189-
190184
.form--row
191185
@include grid-block
192186
@include grid-visible-overflow

app/assets/stylesheets/content/_modal.lsg

Lines changed: 22 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -55,7 +55,7 @@
5555
</ul>
5656
```
5757

58-
## Modals: With footer
58+
## Modals: Highlighted and with footer
5959

6060
```
6161
<div class="op-modal--modal-container -highlight">
@@ -87,3 +87,24 @@
8787
</div>
8888
</div>
8989
```
90+
91+
## Modals: Danger zone highlighting
92+
93+
```
94+
<div class="op-modal--modal-container -highlight -danger-zone">
95+
<div class="op-modal--modal-header">
96+
<h3 class="icon-context icon-warning">Confirm deletion of Work Package</h3>
97+
<a class="op-modal--modal-close-button" title="Close popup">
98+
<i class="icon-close"></i>
99+
</a>
100+
</div>
101+
<div class="op-modal--modal-body">
102+
<p>Are you sure you want to delete the following work package?<p>
103+
<p> ... </p>
104+
</div>
105+
<div class="op-modal--modal-footer">
106+
<button name="button" type="submit" class="button -danger">Continue</button>
107+
<button name="button" type="submit" class="button">Cancel</button>
108+
</div>
109+
</div>
110+
```

app/assets/stylesheets/content/_modal.sass

Lines changed: 14 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -88,7 +88,6 @@ $modal-footer-height: $modal-header-height
8888
margin-bottom: 0px
8989

9090
.op-modal--modal-footer
91-
margin: 1em 0
9291
padding: 0 1.5rem
9392

9493
button:last-of-type
@@ -127,17 +126,29 @@ $modal-footer-height: $modal-header-height
127126
h2, h3
128127
@include text-shortener
129128
margin: 0
129+
border: none
130+
131+
.op-modal--modal-footer
132+
margin: 1em 0
130133

131134
.op-modal--modal-close-button
132135
right: 10px
133136
top: 0
134137
@include varprop(line-height, modal-header-height)
135138
@include varprop(color, header-item-font-color)
136139

137-
.avatar,
138-
.icon-context
140+
.avatar
139141
margin-right: 0.5rem
140142

143+
&.-danger-zone
144+
.op-modal--modal-header
145+
@include varprop(background-color, content-form-danger-zone-bg-color)
146+
@include varprop(border-bottom-color, content-form-danger-zone-bg-color)
147+
148+
.op-modal--modal-close-button
149+
@include varprop(color, content-form-danger-zone-font-color)
150+
151+
141152
// Specific styles for columns-modal
142153
.columns-modal--content
143154
margin-bottom: 15px

app/assets/stylesheets/content/editor/_ckeditor.sass

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -32,6 +32,15 @@ ckeditor-augmented-textarea .op-ckeditor--wrapper
3232
figure.image
3333
margin: 1em 0
3434

35+
figure.table
36+
// Ensure we break apart words in table cells that
37+
// are restricted in width (OP#33524)
38+
td[style*=";width:"],
39+
td[style^="width:"],
40+
th[style*=";width:"],
41+
th[style^="width:"]
42+
word-break: break-all
43+
3544
.ck .ck-widget.op-ckeditor--code-block
3645
// Display content as pre
3746
white-space: pre-wrap

app/assets/stylesheets/content/editor/_markdown.sass

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -55,3 +55,11 @@ div.ck-editor__preview
5555
> table
5656
height: 100%
5757
width: 100%
58+
59+
// Ensure we break apart words in table cells that
60+
// are restricted in width (OP#33524)
61+
td[style*=";width:"],
62+
td[style^="width:"],
63+
th[style*=";width:"],
64+
th[style^="width:"]
65+
word-break: break-all

app/assets/stylesheets/layout/work_packages/_print.sass

Lines changed: 29 additions & 38 deletions
Original file line numberDiff line numberDiff line change
@@ -17,19 +17,26 @@
1717
border: none
1818
overflow: visible !important
1919
position: relative
20+
grid-template-columns: auto
2021

2122
#content-wrapper,
2223
#content
2324
margin: 0
2425
width: 100%
26+
height: 100%
2527
overflow: visible !important
2628
position: relative
2729

30+
.work-packages-partitioned-page--content-right
31+
.work-packages--details-toolbar-container
32+
display: none
33+
2834
.work-packages-partitioned-query-space--container
2935
padding-left: 0
3036

3137
.work-packages-split-view--tabletimeline-side
3238
.work-packages-split-view--tabletimeline-content
39+
height: 100%
3340
.wp-table--hierarchy-aditional-row,
3441
tr.-checked,
3542
.row-hovered
@@ -60,47 +67,31 @@
6067
overflow: hidden
6168

6269
// -------------------- Sepcial Rules for FF --------------------
63-
html.-browser-firefox
70+
body.-browser-firefox
71+
#wrapper,
72+
#main,
73+
.work-packages-partitioned-query-space--container,
74+
.work-packages-partitioned-page--content-container,
75+
.work-packages-split-view--tabletimeline-side,
76+
.work-packages-split-view--tabletimeline-content
77+
display: block !important
78+
6479
.router--work-packages-partitioned-split-view,
6580
.router--work-packages-full-view,
6681
.router--work-packages-full-create
67-
#main
68-
display: block
69-
70-
#content-wrapper,
71-
#content
72-
.work-packages-partitioned-query-space--container
73-
display: block
74-
.toolbar-container
75-
display: none
76-
.work-packages-split-view
77-
display: block
78-
79-
.work-packages-split-view--tabletimeline-side
80-
display: block
81-
.work-packages-split-view--tabletimeline-content
82-
display: block
83-
.work-packages-split-view--tabletimeline-side
84-
display: none
85-
.work-packages-tabletimeline--table-side
86-
&.-timeline-visible
87-
display: initial
88-
89-
&.-timeline-visible
90-
thead
91-
// Undo that hack from above for FF
92-
display: table-header-group
93-
.work-packages-tabletimeline--timeline-side
94-
// As this print is worthless, we remove it for FF
95-
display: none !important
96-
97-
98-
html.-browser-firefox,
99-
html.-browser-edge
100-
.router--work-packages-full-view,
101-
.work-packages--show-view,
102-
.work-packages-full-view--split-container
103-
display: block
82+
.work-packages-partitioned-query-space--container
83+
.toolbar-container
84+
display: none
85+
86+
.work-packages-partitioned-page--content-right
87+
.work-packages--details-content
88+
position: relative
89+
90+
body.-browser-firefox,
91+
body.-browser-edge
92+
.work-packages--show-view,
93+
.work-packages-full-view--split-container
94+
display: block
10495

10596
// ------------------Only WP full screen view ------------------
10697
.router--work-packages-full-view

app/assets/stylesheets/openproject/_settings.scss

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -192,6 +192,7 @@ $breakpoint-classes: (tiny small medium large xlarge xxlarge xxxlarge);
192192
// $code-border-style: solid;
193193
// $code-border-color: scale-color($code-background-color, $lightness: -10%);
194194
// $code-padding: rem-calc(2) rem-calc(5) rem-calc(1);
195+
// $code-line-height: 1.75em;
195196

196197
// We use these to style anchors
197198
// $anchor-text-decoration: none;

app/assets/stylesheets/vendor/foundation-apps/scss/_settings.scss

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -192,6 +192,7 @@
192192
// $code-border-style: solid;
193193
// $code-border-color: scale-color($code-background-color, $lightness: -10%);
194194
// $code-padding: rem-calc(2) rem-calc(5) rem-calc(1);
195+
// $code-line-height: 1.75em;
195196

196197
// We use these to style anchors
197198
// $anchor-text-decoration: none;

0 commit comments

Comments
 (0)