Skip to content

Commit

Permalink
New styles version
Browse files Browse the repository at this point in the history
  • Loading branch information
jorgefilipecosta committed Feb 12, 2019
1 parent 4a98d8a commit 98ee7fb
Showing 1 changed file with 18 additions and 44 deletions.
62 changes: 18 additions & 44 deletions packages/block-library/src/calendar/style.scss
Original file line number Diff line number Diff line change
@@ -1,62 +1,36 @@
.wp-block-calendar {
text-align: center;
border: 2px solid $light-gray-500;

table {
width: 100%;
border-collapse: collapse;
font-family: $default-font;
th,
tbody td {
border: 2px solid $light-gray-500;
}

table thead {
display: table-row-group;
tfoot td {
border: none;
}

table tfoot {
display: table-header-group;
border-bottom: 2px solid $light-gray-500;
table {
width: 100%;
border-collapse: collapse;
font-family: $default-font;
}

table tfoot,
caption {
font-weight: 600;
table th {
font-weight: 440;
background: $light-gray-300;
}

table tfoot tr td#prev a,
table tfoot tr td#next a {
color: transparent;
overflow: hidden;
max-height: 40px;
width: 16px;

}

table tfoot tr td#prev a::before,
table tfoot tr td#next a::after {
// Disabling lint because in this case we need dashicons and not
// a generic font.
/* stylelint-disable */
font-family: dashicons;
/* stylelint-enable */
display: inline-block;
color: $black;
}

table tfoot tr td#prev a::before {
content: "\f141";
}

table tfoot tr td#next a::after {
content: "\f139";
a {
text-decoration: underline;
}

table td,
table th {
border: none;
tfoot a {
color: #0073aa;
}

a {
text-decoration: underline;
table tbody,
table caption {
color: $dark-gray-600;
}
}

0 comments on commit 98ee7fb

Please sign in to comment.