File size: 1,989 Bytes
1e92f2d |
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 |
@import "calypso/assets/stylesheets/shared/mixins/breakpoints";
@import "@automattic/calypso-color-schemes";
.help-center.entry-point-button {
&.is-active {
background: #1e1e1e;
svg {
fill: var(--studio-white);
}
.edit-site-layout:not(.is-full-canvas) & {
background: var(--wp-admin-theme-color);
svg {
fill: var(--studio-white);
}
}
}
.edit-site-layout:not(.is-full-canvas) & {
// Make it the first element in the sidebar actions
order: -1;
svg {
fill: #e0e0e0;
}
}
}
// If the help center is shipped in core, we hide the black fab button
.a8c-faux-inline-help__button {
display: none;
}
.help-center__container {
h1,
h2,
h3,
h4,
h5,
h6,
caption,
figcaption,
p,
ul,
ol,
blockquote {
text-wrap: pretty;
}
&.is-mobile {
&.is-minimized {
margin-top: 0;
}
}
svg {
box-sizing: content-box;
}
}
/**
* WP-ADMIN Masterbar Styling
*/
#wpadminbar #wp-toolbar {
#wp-admin-bar-help-center {
padding: 0;
width: 43px;
#help-center-icon-with-notification {
display: none;
}
&.has-unread {
#help-center-icon {
display: none;
}
#help-center-icon-with-notification {
display: block;
}
}
svg {
position: absolute;
height: 22px;
width: 22px;
top: 1px;
left: 0;
right: 0;
bottom: 0;
padding: 4px 11px;
}
@media (max-width: 782px) {
svg {
height: 30px !important;
padding: 7px 8px !important;
width: 30px !important;
}
}
&.unseen-notification {
#help-center-icon-with-notification {
display: block;
}
#help-center-icon {
display: none;
}
}
.ab-item.ab-empty-item {
transition: 250ms ease;
}
.ab-item:hover {
cursor: pointer;
}
}
.ab-icon:hover {
color: inherit;
}
.help-center {
button.components-button {
background: transparent;
border: none;
color: currentcolor;
&.inline-help__new-releases {
text-align: left;
}
svg {
fill: currentColor;
}
}
}
}
|