Skip to content

Commit 9e3c50e

Browse files
author
Alex Lende
authored
Merge pull request #80 from Automattic/polish/event
2 parents c23b545 + 2ab6482 commit 9e3c50e

File tree

11 files changed

+30
-20
lines changed

11 files changed

+30
-20
lines changed

blocks/event/editor.scss

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,11 @@
22
.wp-block-a8c-event {
33
.event__date-select {
44
display: inline;
5+
6+
.components-button {
7+
height: auto;
8+
background: white;
9+
}
510
}
611

712
// Fixes for overriding editor styles

blocks/event/src/icons.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,6 @@ export const Icon = () => (
1010
height="24"
1111
viewBox="0 0 24 24"
1212
>
13-
<Path d="M17 12h-5v5h5v-5zM16 1v2H8V1H6v2H5c-1.11 0-1.99.9-1.99 2L3 19a2 2 0 0 0 2 2h14c1.1 0 2-.9 2-2V5c0-1.1-.9-2-2-2h-1V1h-2zm3 18H5V8h14v11z" />
13+
<Path d="M19,3H5C3.9,3,3,3.9,3,5v14c0,1.1,0.9,2,2,2h14c1.1,0,2-0.9,2-2V5C21,3.9,20.1,3,19,3z M19.5,19c0,0.3-0.2,0.5-0.5,0.5H5 c-0.3,0-0.5-0.2-0.5-0.5V7h15V19z M17,13h-4v4h4V13z" />
1414
</SVG>
1515
);

blocks/event/style.scss

Lines changed: 4 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -4,22 +4,17 @@
44
flex-direction: row;
55

66
padding: 18px;
7-
font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto,
8-
Oxygen-Sans, Ubuntu, Cantarell, 'Helvetica Neue', sans-serif;
9-
10-
transition: box-shadow 0.1s ease;
11-
box-shadow: 0 0 0 rgba( 0, 0, 0, 0.2 );
7+
font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen-Sans, Ubuntu, Cantarell, 'Helvetica Neue', sans-serif;
8+
box-shadow: inset 0 0 0 4px rgba(0,0,0,.1);
129

1310
.event__datebox {
1411
float: left;
1512
width: 40px;
1613
height: 40px;
17-
box-shadow: 0 1px 2px rgba( 0, 0, 0, 0.2 );
18-
background: white;
19-
color: black;
14+
background: black;
15+
color: white;
2016
margin: 0 18px 18px 0;
2117
padding: 4px;
22-
border-radius: 4px;
2318
text-align: center;
2419

2520
> span {
@@ -74,11 +69,5 @@
7469

7570
.event__image--save {
7671
float: right;
77-
border-radius: 4px;
78-
}
79-
80-
&:hover,
81-
.is-selected & {
82-
box-shadow: 0 10px 20px rgba( 0, 0, 0, 0.2 );
8372
}
8473
}
134 KB
Loading
45.9 KB
Loading
1.85 KB
Loading
3.17 KB
Loading
Lines changed: 15 additions & 0 deletions
Loading
-1.56 MB
Loading
1.41 MB
Loading

0 commit comments

Comments
 (0)