Skip to content

Commit 3d5cc97

Browse files
committed
Merge branch 'hotfix-18.2' into develop
2 parents 1f263b4 + ce23f14 commit 3d5cc97

File tree

5 files changed

+73
-18
lines changed

5 files changed

+73
-18
lines changed

Rock.Blocks/Tv/TvApplicationList.cs

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -194,11 +194,6 @@ public BlockActionResult Delete( string key )
194194
return ActionBadRequest( $"Not authorized to delete {Site.FriendlyTypeName}." );
195195
}
196196

197-
if ( !entityService.CanDelete( entity, out var errorMessage ) )
198-
{
199-
return ActionBadRequest( errorMessage );
200-
}
201-
202197
var sitePages = new List<int> {
203198
entity.DefaultPageId ?? -1,
204199
entity.LoginPageId ?? -1,
@@ -227,6 +222,11 @@ public BlockActionResult Delete( string key )
227222

228223
RockContext.SaveChanges( true );
229224

225+
if ( !entityService.CanDelete( entity, out var errorMessage ) )
226+
{
227+
return ActionBadRequest( errorMessage );
228+
}
229+
230230
entityService.Delete( entity );
231231
RockContext.SaveChanges();
232232

RockWeb/Blocks/Administration/SystemInfo.ascx

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,11 @@
11
<%@ Control Language="C#" AutoEventWireup="true" CodeFile="SystemInfo.ascx.cs" Inherits="RockWeb.Blocks.Administration.SystemInfo" %>
22

3+
<style>
4+
#routes table td {
5+
word-break: break-all;
6+
}
7+
</style>
8+
39
<script type="text/javascript">
410
511
function pageLoad() {
@@ -148,4 +154,4 @@
148154
</asp:LinkButton>
149155

150156
</asp:Panel>
151-
</div>
157+
</div>

RockWeb/Styles/styles-v2/rock-components/_ace-editor.scss

Lines changed: 20 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -3,28 +3,44 @@
33

44

55
// =============================================================
6-
// Table of Content
6+
// Table of Content
77
// + Base style
88
// =============================================================
99

1010

1111
// ======================== BASE STYLE ========================
12+
1213
.ace-tm, .ace-github {
1314
.ace_gutter-active-line {
14-
background: var(--color-interface-soft) !important;
15+
background: var(--color-info-tint) !important;
16+
color: var(--color-interface-strong) !important;
1517
}
1618
}
1719

1820
.ace-tm, .ace-github {
1921
.ace_marker-layer .ace_active-line {
20-
background-color: var(--color-interface-softer) !important;
22+
background: var(--color-info-soft) !important;
2123
}
2224
}
25+
26+
.ace_selected-word {
27+
background: var(--color-info-soft) !important;
28+
border: 1px solid var(--color-info-soft) !important;
29+
}
30+
31+
.ace_bracket {
32+
border: 1px solid var(--color-info-strong) !important;
33+
}
34+
2335
.ace_scroller {
2436
background-color: var(--color-interface-softest) !important;
2537
}
2638
.ace_line {
2739
color: var(--color-interface-strongest);
40+
.ace_string,
41+
.ace_text {
42+
color: var(--color-danger-strong) !important;
43+
}
2844
}
2945

3046
.ace_editor .ace_marker-layer .ace_selection {
@@ -36,4 +52,4 @@
3652
background: var(--color-interface-softer) !important;
3753
}
3854
}
39-
// ====================== END BASE STYLE ======================
55+
// ====================== END BASE STYLE ======================

RockWeb/Styles/styles-v2/rock-components/_content-section.scss

Lines changed: 12 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -329,7 +329,11 @@
329329
height: 100%;
330330
flex: 0 0 20%;
331331
position: sticky;
332-
top: 0;
332+
top: calc(var(--spacing-medium) + 80px); // offset from top to account for fixed header
333+
}
334+
335+
.full-work-surface .contentsection-container > .contentsection-nav {
336+
top: 0; // remove offset from top when in full worksurface mode
333337
}
334338

335339
.contentsection-list {
@@ -346,12 +350,18 @@
346350
flex-direction: row-reverse;
347351
}
348352

349-
@media (max-width: 767px) {
353+
@media (max-width: $screen-small) {
350354
.contentsection-container .contentsection-nav {
351355
display: none;
352356
}
353357
}
354358

359+
@media (max-width: $screen-medium) {
360+
.contentsection-container .contentsection-nav {
361+
top: var(--spacing-medium);
362+
}
363+
}
364+
355365
// ======================== END CONTENT SECTION CONTAINER ========================
356366

357367
// ======================= MOBILE ADJUSTMENTS =======================

RockWeb/Themes/RockNextGen/Styles/theme.css

Lines changed: 29 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -10710,11 +10710,21 @@ a.rock-bookmark {
1071010710
}
1071110711

1071210712
.ace-tm .ace_gutter-active-line, .ace-github .ace_gutter-active-line {
10713-
background: var(--color-interface-soft) !important;
10713+
background: var(--color-info-tint) !important;
10714+
color: var(--color-interface-strong) !important;
1071410715
}
1071510716

1071610717
.ace-tm .ace_marker-layer .ace_active-line, .ace-github .ace_marker-layer .ace_active-line {
10717-
background-color: var(--color-interface-softer) !important;
10718+
background: var(--color-info-soft) !important;
10719+
}
10720+
10721+
.ace_selected-word {
10722+
background: var(--color-info-soft) !important;
10723+
border: 1px solid var(--color-info-soft) !important;
10724+
}
10725+
10726+
.ace_bracket {
10727+
border: 1px solid var(--color-info-strong) !important;
1071810728
}
1071910729

1072010730
.ace_scroller {
@@ -10724,6 +10734,10 @@ a.rock-bookmark {
1072410734
.ace_line {
1072510735
color: var(--color-interface-strongest);
1072610736
}
10737+
.ace_line .ace_string,
10738+
.ace_line .ace_text {
10739+
color: var(--color-danger-strong) !important;
10740+
}
1072710741

1072810742
.ace_editor .ace_marker-layer .ace_selection {
1072910743
background: rgba(0, 120, 215, 0.4);
@@ -19069,6 +19083,10 @@ iframe.file-browser {
1906919083
height: 100%;
1907019084
flex: 0 0 20%;
1907119085
position: sticky;
19086+
top: calc(var(--spacing-medium) + 80px);
19087+
}
19088+
19089+
.full-work-surface .contentsection-container > .contentsection-nav {
1907219090
top: 0;
1907319091
}
1907419092

@@ -19086,11 +19104,16 @@ iframe.file-browser {
1908619104
flex-direction: row-reverse;
1908719105
}
1908819106

19089-
@media (max-width: 767px) {
19107+
@media (max-width: 768px) {
1909019108
.contentsection-container .contentsection-nav {
1909119109
display: none;
1909219110
}
1909319111
}
19112+
@media (max-width: 992px) {
19113+
.contentsection-container .contentsection-nav {
19114+
top: var(--spacing-medium);
19115+
}
19116+
}
1909419117
@media (max-width: 480px) {
1909519118
.contentsection-body {
1909619119
padding: var(--spacing-medium);
@@ -33427,11 +33450,11 @@ body.navbar-side-open {
3342733450
font-size: 24px;
3342833451
font-weight: var(--font-weight-semibold);
3342933452
line-height: 1;
33430-
color: var(--color-interface-softer);
33453+
color: var(--base-interface-softer);
3343133454
}
3343233455
.navbar-static-side .navbar-side .nav-item-top .item-title:after {
33433-
content: "\f054";
33434-
font-family: FontAwesome;
33456+
content: "\ea61";
33457+
font-family: tabler-icons;
3343533458
font-size: 12px;
3343633459
font-weight: 900;
3343733460
margin-left: 12px;

0 commit comments

Comments
 (0)