mirror of
https://github.com/WordPress/WordPress.git
synced 2024-08-20 12:54:00 +02:00
This will be the final sync from GitHub before placing that repository into read-only mode. All further changes should now flow entirely through Trac.
For a full list of changes since [49633], see 1d5a895...53acd9b
.
Props poena, luminuu, kjellr, ryelle, allancole, melchoyce, felipeelia, aljullu, kebbet, chaton666, Clorith, mkaz, ingereck, paaljoachim.
See #51526.
Built from https://develop.svn.wordpress.org/trunk@49726
git-svn-id: http://core.svn.wordpress.org/trunk@49449 1a063a9b-81f0-0310-95a4-ce76da25c4cd
134 lines
2.6 KiB
SCSS
134 lines
2.6 KiB
SCSS
.widget-area {
|
|
@extend %responsive-alignwide-width;
|
|
margin-top: calc(6 * var(--global--spacing-vertical));
|
|
padding-bottom: calc(var(--global--spacing-vertical) / 3);
|
|
color: var(--footer--color-text);
|
|
font-size: var(--footer--font-size);
|
|
font-family: var(--footer--font-family);
|
|
|
|
@include media(laptop) {
|
|
display: grid;
|
|
grid-template-columns: repeat(2, 1fr);
|
|
column-gap: calc(2 * var(--global--spacing-horizontal));
|
|
}
|
|
|
|
@include media(wide) {
|
|
grid-template-columns: repeat(3, 1fr);
|
|
}
|
|
|
|
@include media(mobile-only) {
|
|
margin-top: calc(3 * var(--global--spacing-vertical));
|
|
}
|
|
|
|
ul {
|
|
list-style-type: none;
|
|
padding: 0;
|
|
|
|
li {
|
|
line-height: var(--widget--line-height-list);
|
|
}
|
|
|
|
&.sub-menu,
|
|
&.children {
|
|
margin-left: var(--widget--spacing-menu);
|
|
}
|
|
|
|
.sub-menu-toggle {
|
|
display: none;
|
|
}
|
|
}
|
|
|
|
a {
|
|
color: var(--footer--color-link);
|
|
text-decoration: underline;
|
|
text-decoration-style: solid;
|
|
text-decoration-color: currentColor;
|
|
|
|
&:link,
|
|
&:visited,
|
|
&:active {
|
|
color: var(--footer--color-link);
|
|
}
|
|
|
|
&:hover {
|
|
color: var(--footer--color-link-hover);
|
|
text-decoration-style: dotted;
|
|
}
|
|
}
|
|
|
|
.wp-block-social-links {
|
|
|
|
&.alignright {
|
|
margin-top: var(--global--spacing-vertical);
|
|
justify-content: flex-end;
|
|
}
|
|
|
|
&.alignleft {
|
|
margin-top: var(--global--spacing-vertical);
|
|
}
|
|
}
|
|
|
|
&:after {
|
|
content: "";
|
|
display: table;
|
|
clear: both;
|
|
}
|
|
}
|
|
|
|
.widget-title {
|
|
font-size: var(--global--font-size-sm);
|
|
font-weight: var(--widget--font-weight-title);
|
|
line-height: var(--widget--line-height-title);
|
|
}
|
|
|
|
// Search widget styles
|
|
.search-form {
|
|
display: flex;
|
|
flex-wrap: wrap;
|
|
margin: auto;
|
|
max-width: var(--responsive--aligndefault-width);
|
|
|
|
> label {
|
|
width: 100%;
|
|
margin-bottom: 0;
|
|
font-weight: var(--form--label-weight);
|
|
}
|
|
|
|
.search-field {
|
|
flex-grow: 1;
|
|
max-width: inherit;
|
|
margin-top: calc(var(--global--spacing-vertical) / 3);
|
|
margin-right: calc(0.66 * var(--global--spacing-horizontal));
|
|
}
|
|
|
|
.search-submit {
|
|
margin-top: calc(var(--global--spacing-vertical) / 3);
|
|
margin-left: 10px;
|
|
}
|
|
}
|
|
|
|
.widget_search > .search-form {
|
|
|
|
.search-field {
|
|
margin-right: calc(-1 * var(--button--border-width));
|
|
-webkit-appearance: none;
|
|
margin-bottom: calc(0.5 * var(--global--spacing-vertical));
|
|
}
|
|
|
|
.search-submit {
|
|
margin-left: 0;
|
|
background-color: transparent;
|
|
color: var(--button--color-text-hover);
|
|
margin-bottom: calc(0.5 * var(--global--spacing-vertical));
|
|
|
|
&:hover {
|
|
background-color: var(--button--color-background);
|
|
color: var(--button--color-text);
|
|
}
|
|
}
|
|
}
|
|
|
|
.widget_rss a.rsswidget .rss-widget-icon {
|
|
display: none;
|
|
}
|