Skip to content

Commit 6b91767

Browse files
authored
Merge branch 'develop' into ari/fix-pro/129
2 parents 831cb11 + 3e5537a commit 6b91767

5 files changed

Lines changed: 4 additions & 39 deletions

File tree

assets/css/admin.css

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -57,12 +57,13 @@
5757
background: #fff;
5858
border: 1px solid var(--prpl-color-gray-2);
5959
border-radius: var(--prpl-border-radius);
60-
padding: calc(var(--prpl-padding) * 2);
60+
padding: var(--prpl-settings-page-gap) calc(var(--prpl-padding) * 2);
6161
max-width: var(--prpl-container-max-width);
6262
color: var(--prpl-color-text);
6363
font-size: var(--prpl-font-size-base);
6464
line-height: 1.4;
6565
position: relative;
66+
margin-top: var(--prpl-padding);
6667
}
6768

6869
/*------------------------------------*\
@@ -164,15 +165,15 @@ button.prpl-info-icon {
164165
Header & logo.
165166
\*------------------------------------*/
166167
.prpl-header {
167-
margin-bottom: 2em;
168+
margin-bottom: 2rem;
168169
display: flex;
169170
flex-wrap: wrap;
170171
justify-content: space-between;
171172
align-items: center;
172173
}
173174

174175
.prpl-header-logo svg {
175-
height: 100px;
176+
height: 88px;
176177
}
177178

178179
.prpl-header-right {

assets/css/page-widgets/challenge.css

Lines changed: 0 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -37,19 +37,4 @@
3737
}
3838
}
3939
}
40-
41-
h2.prpl-widget-title {
42-
background: var(--prpl-background-purple);
43-
padding: 0.75rem 1rem;
44-
border-radius: 0.5rem;
45-
color: var(--prpl-color-headings);
46-
display: flex;
47-
gap: 0.5rem;
48-
align-items: center;
49-
50-
img {
51-
max-width: 1em;
52-
max-height: 1em;
53-
}
54-
}
5540
}

assets/css/page-widgets/todo.css

Lines changed: 0 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -11,21 +11,6 @@
1111
padding-left: var(--prpl-padding);
1212
}
1313

14-
.prpl-widget-title {
15-
display: flex;
16-
align-items: center;
17-
gap: 0.5rem;
18-
font-size: 1.3rem;
19-
background: var(--prpl-background-red);
20-
padding: 0.5rem 1rem;
21-
border-radius: 0.5rem;
22-
23-
.icon {
24-
width: 1.25em;
25-
height: 1.25em;
26-
}
27-
}
28-
2914
.prpl-todo-golden-task-description,
3015
.prpl-todo-silver-task-description {
3116
display: none;

views/page-widgets/challenge.php

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -12,9 +12,6 @@
1212
$prpl_challenge = \progress_planner()->get_admin__widgets__challenge()->get_challenge();
1313
?>
1414
<h2 class="prpl-widget-title">
15-
<?php if ( $prpl_challenge['icon'] ) : ?>
16-
<img src="<?php echo \esc_url( $prpl_challenge['icon'] ); ?>" alt="">
17-
<?php endif; ?>
1815
<?php echo \esc_html( $prpl_challenge['name'] ); ?>
1916
</h2>
2017

views/page-widgets/todo.php

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -11,9 +11,6 @@
1111

1212
?>
1313
<h2 class="prpl-widget-title">
14-
<span class="icon">
15-
<svg baseProfile="tiny" version="1.2" viewBox="0 0 48 48" xmlns="http://www.w3.org/2000/svg"><path d="M32.1,47.9H7c-3.8,0-6.9-3.1-6.9-6.9V15.9c0-3.8,3.1-6.9,6.9-6.9h11.3c.8,0,1.5.7,1.5,1.5s-.7,1.5-1.5,1.5H7c-2.1,0-3.9,1.7-3.9,3.9v25.1c0,2.1,1.7,3.9,3.9,3.9h25.1c2.1,0,3.9-1.7,3.9-3.9v-11.3c0-.8.7-1.5,1.5-1.5s1.5.7,1.5,1.5v11.3c0,3.8-3.1,6.9-6.9,6.9ZM8.8,40.7c-.4,0-.8-.2-1.1-.4s-.5-1-.4-1.5l1.9-6.4c.6-1.9,1.6-3.7,3.1-5.2L37.7,1.9c1.1-1.1,2.6-1.7,4.2-1.7s3.1.6,4.2,1.7c1.1,1.1,1.7,2.6,1.7,4.2s-.6,3.1-1.7,4.2l-25.3,25.3c-1.4,1.4-3.2,2.5-5.2,3.1l-6.4,1.9c-.1,0-.3,0-.4,0ZM34.7,9.1L14.4,29.3c-1.1,1.1-1.9,2.4-2.3,3.9l-1.1,3.8,3.8-1.1c1.5-.4,2.8-1.2,3.9-2.3l20.3-20.3-4.2-4.2ZM36.8,7l4.2,4.2,3-3c.6-.6.9-1.3.9-2.1s-.3-1.5-.9-2.1c-1.1-1.1-3.1-1.1-4.2,0l-3,3Z" fill="#f43f5e"/><text transform="translate(3.2 -14.2)" font-family="MyriadPro-Regular, 'Myriad Pro'" font-size="12"><tspan x="0" y="0">44,75px / lijn 3px</tspan></text></svg>
16-
</span>
1714
<span><?php \esc_html_e( 'My to-do list', 'progress-planner' ); ?></span>
1815
</h2>
1916

0 commit comments

Comments
 (0)