mirror of
https://gh.wpcy.net/https://github.com/BracketSpace/WP-Admin-Reference.git
synced 2026-07-15 11:17:15 +08:00
614 lines
8.4 KiB
CSS
614 lines
8.4 KiB
CSS
#wpadminbar .logo-wrapper {
|
|
width: 20px;
|
|
height: 32px;
|
|
}
|
|
|
|
#wpadminbar .logo-wrapper svg {
|
|
width: 20px;
|
|
height: 20px;
|
|
margin: 6px 0;
|
|
}
|
|
|
|
#wpadminbar .logo-wrapper svg path {
|
|
fill: rgba(240, 245, 250, 0.6);
|
|
}
|
|
|
|
#wpadminbar .logo-wrapper:hover svg path {
|
|
fill: #fff;
|
|
}
|
|
|
|
#adminmenuwrap {
|
|
position: fixed;
|
|
}
|
|
|
|
#wpcontent,
|
|
#wpfooter {
|
|
margin-left: 160px;
|
|
margin-right: 0;
|
|
}
|
|
|
|
#wpbody-content .metabox-holder {
|
|
padding-top: 0;
|
|
}
|
|
|
|
#dashboard-widgets .meta-box-sortables {
|
|
margin: 0;
|
|
}
|
|
|
|
.wrap {
|
|
margin: 0;
|
|
}
|
|
|
|
.wrap .notice,
|
|
.wrap div.updated,
|
|
.wrap div.error,
|
|
.media-upload-form .notice,
|
|
.media-upload-form div.error {
|
|
width: 100%;
|
|
margin: 0;
|
|
}
|
|
|
|
.wrap h1.big-title {
|
|
font-size: 8.125rem;
|
|
font-weight: 700;
|
|
line-height: 1;
|
|
color: #b1b1b1;
|
|
}
|
|
|
|
.admin-bar .menupop:hover .ab-sub-wrapper {
|
|
display: block;
|
|
}
|
|
|
|
.share-buttons-top {
|
|
float: right;
|
|
}
|
|
|
|
.section {
|
|
padding: 4rem 20px 0 0;
|
|
}
|
|
|
|
.section:first-of-type {
|
|
padding-top: 2rem;
|
|
}
|
|
|
|
.section-buttons p {
|
|
margin: 0;
|
|
}
|
|
|
|
.buttons-row {
|
|
display: grid;
|
|
grid-template-columns: calc(13% - 10px) calc(26.33% - 10px) calc(60.66% - 10px);
|
|
grid-template-rows: 1fr;
|
|
grid-gap: 20px;
|
|
margin-bottom: 40px;
|
|
}
|
|
|
|
.buttons-row > div {
|
|
display: flex;
|
|
flex-direction: row;
|
|
align-items: center;
|
|
}
|
|
|
|
.spinners-row {
|
|
display: grid;
|
|
grid-template-columns: calc(19.33% - 10px) calc(20% - 10px) calc(60.66% - 10px);
|
|
grid-template-rows: 1fr;
|
|
grid-gap: 20px;
|
|
margin-bottom: 40px;
|
|
}
|
|
|
|
.spinners-row > div {
|
|
display: flex;
|
|
flex-direction: row;
|
|
align-items: center;
|
|
}
|
|
|
|
.notices-row {
|
|
display: grid;
|
|
grid-template-columns: calc(13% - 10px) calc(37% - 10px) calc(50% - 10px);
|
|
grid-template-rows: 1fr;
|
|
grid-gap: 20px;
|
|
margin-bottom: 40px;
|
|
}
|
|
|
|
.notices-row > div {
|
|
display: flex;
|
|
flex-direction: row;
|
|
align-items: center;
|
|
}
|
|
|
|
.section-header {
|
|
margin-bottom: 60px;
|
|
}
|
|
|
|
.section-header h2 {
|
|
margin: 0 0 15px 0;
|
|
padding: 0;
|
|
font-weight: 400;
|
|
}
|
|
|
|
.section-header .button {
|
|
margin-left: 1rem;
|
|
}
|
|
|
|
.section-content::after {
|
|
content: "";
|
|
display: table;
|
|
clear: both;
|
|
}
|
|
|
|
.large-text p {
|
|
margin: 0;
|
|
font-size: 18px;
|
|
line-height: 1.8;
|
|
}
|
|
|
|
.text-light {
|
|
color: #b1b1b1;
|
|
}
|
|
|
|
.section-about {
|
|
background: url(../images/about-bg.svg) no-repeat top right/70%;
|
|
padding-left: 45px;
|
|
}
|
|
|
|
.section-about .section-content {
|
|
max-width: 745px;
|
|
}
|
|
|
|
.text-subtitle {
|
|
margin-top: 30px;
|
|
margin-bottom: 58px;
|
|
font-size: 23px;
|
|
line-height: 31px;
|
|
}
|
|
|
|
.text-description {
|
|
font-size: 18px;
|
|
line-height: 24px;
|
|
}
|
|
|
|
.section-code {
|
|
display: none;
|
|
position: relative;
|
|
}
|
|
|
|
.section.code-view .section-content {
|
|
display: none;
|
|
}
|
|
|
|
.section.code-view .section-code {
|
|
display: block;
|
|
}
|
|
|
|
.hidden {
|
|
display: none;
|
|
}
|
|
|
|
.show {
|
|
display: block;
|
|
}
|
|
|
|
.text-center {
|
|
text-align: center;
|
|
}
|
|
|
|
code[class*="language-"],
|
|
pre[class*="language-"] {
|
|
margin: 0;
|
|
tab-size: 2;
|
|
}
|
|
|
|
pre {
|
|
max-width: 100%;
|
|
max-height: 1000px;
|
|
}
|
|
|
|
code,
|
|
pre {
|
|
font-family: Consolas, Monaco, "Andale Mono", "Lucida Console", monospace;
|
|
hyphens: none;
|
|
}
|
|
|
|
kbd,
|
|
code {
|
|
padding: 0;
|
|
}
|
|
|
|
.dashicons-box {
|
|
max-width: 45rem;
|
|
margin: 3rem auto;
|
|
text-align: center;
|
|
}
|
|
|
|
.wp-core-ui .button.button-big {
|
|
height: 56px;
|
|
padding: 0 2rem;
|
|
line-height: 54px;
|
|
font-size: 1rem;
|
|
}
|
|
|
|
.wp-list-table {
|
|
margin-bottom: 60px;
|
|
}
|
|
|
|
.block {
|
|
margin-bottom: 2rem;
|
|
}
|
|
|
|
.grid-2 {
|
|
display: grid;
|
|
grid-template-columns: calc(33.33% - 10px) calc(66.66% - 10px);
|
|
grid-template-rows: 1fr;
|
|
grid-gap: 20px;
|
|
}
|
|
|
|
.grid-3 {
|
|
display: grid;
|
|
grid-template-columns: calc(33.33% - 10px) calc(33.33% - 10px) calc(33.33% - 10px);
|
|
grid-template-rows: 1fr;
|
|
grid-gap: 20px;
|
|
}
|
|
|
|
.grid-50-50 {
|
|
display: grid;
|
|
grid-template-columns: calc(50% - 10px) calc(50% - 10px);
|
|
grid-template-rows: 1fr;
|
|
grid-gap: 20px;
|
|
}
|
|
|
|
.switch-button.hidden {
|
|
display: none;
|
|
}
|
|
|
|
#dashboard-widgets-wrap {
|
|
margin: 0;
|
|
overflow: auto;
|
|
}
|
|
|
|
#dashboard-widgets .postbox-container {
|
|
width: 100%;
|
|
margin-bottom: 20px;
|
|
}
|
|
|
|
#dashboard-widgets .postbox-container:last-of-type {
|
|
margin-bottom: 0;
|
|
}
|
|
|
|
.postbox,
|
|
.stuffbox {
|
|
margin-bottom: 0;
|
|
}
|
|
|
|
.section-credits {
|
|
padding-left: 45px;
|
|
}
|
|
|
|
.logo-link {
|
|
display: block;
|
|
max-width: 215px;
|
|
margin-bottom: 100px;
|
|
padding: 1rem 0;
|
|
opacity: 0.5;
|
|
}
|
|
|
|
.logo-link:hover {
|
|
opacity: 0.9;
|
|
}
|
|
|
|
.logo-link img {
|
|
display: block;
|
|
max-width: 100%;
|
|
height: auto;
|
|
margin-left: -15px;
|
|
}
|
|
|
|
.d-flex {
|
|
display: flex;
|
|
}
|
|
|
|
.flex-column {
|
|
flex-direction: column;
|
|
}
|
|
|
|
.align-items-center {
|
|
align-items: center;
|
|
}
|
|
|
|
.justify-content-center {
|
|
justify-content: center;
|
|
}
|
|
|
|
.h-100 {
|
|
min-height: calc(100vh);
|
|
}
|
|
|
|
::-webkit-scrollbar {
|
|
position: relative;
|
|
width: 8px;
|
|
height: 8px;
|
|
border-radius: 0.25rem;
|
|
background: transparent;
|
|
}
|
|
|
|
::-webkit-scrollbar-track {
|
|
background: transparent;
|
|
border-radius: 0.25rem;
|
|
}
|
|
|
|
::-webkit-scrollbar-thumb {
|
|
background: #999;
|
|
border-radius: 0.25rem;
|
|
}
|
|
|
|
::-webkit-scrollbar-thumb:hover {
|
|
background: #777;
|
|
border-radius: 0.25rem;
|
|
}
|
|
|
|
.share-buttons {
|
|
display: flex;
|
|
flex-direction: row;
|
|
align-items: center;
|
|
margin-left: -0.5rem;
|
|
padding: 1rem 0;
|
|
}
|
|
|
|
.share-button {
|
|
margin: 0 0.5rem;
|
|
}
|
|
|
|
#wpadminbar .share-buttons-top * {
|
|
line-height: 20px;
|
|
}
|
|
|
|
a.twitter-share-button {
|
|
display: block;
|
|
width: 48px;
|
|
height: 28px;
|
|
padding: 0 12px;
|
|
color: #fff;
|
|
text-decoration: none;
|
|
background: #00acee;
|
|
font-size: 0.85rem;
|
|
font-weight: 600;
|
|
border-radius: 0.25rem;
|
|
text-align: center;
|
|
line-height: 26px;
|
|
}
|
|
|
|
a.twitter-share-button:hover {
|
|
opacity: 0.9;
|
|
}
|
|
|
|
#wpadminbar .share-buttons-top {
|
|
display: flex;
|
|
align-items: center;
|
|
height: 32px;
|
|
}
|
|
|
|
#wpadminbar .share-buttons-top a.twitter-share-button {
|
|
display: block;
|
|
width: 48px;
|
|
height: 20px;
|
|
margin-left: 5px;
|
|
padding: 0 6px;
|
|
color: #fff;
|
|
text-decoration: none;
|
|
background: #00acee;
|
|
font-size: 11px;
|
|
font-weight: 600;
|
|
border-radius: 0.25rem;
|
|
text-align: center;
|
|
line-height: 20px;
|
|
}
|
|
|
|
a.twitter-share-button.small {
|
|
height: 20px;
|
|
line-height: 1;
|
|
font-size: 11px;
|
|
}
|
|
|
|
.w-100 {
|
|
width: 100% !important;
|
|
}
|
|
|
|
.h-400 pre {
|
|
max-height: 400px;
|
|
}
|
|
|
|
.h-500 pre {
|
|
max-height: 500px;
|
|
}
|
|
|
|
.h-40 {
|
|
height: 40px;
|
|
display: flex;
|
|
align-items: center;
|
|
margin-bottom: 11px;
|
|
}
|
|
|
|
.img-fluid {
|
|
max-width: 100%;
|
|
height: auto;
|
|
}
|
|
|
|
.code-toolbar {
|
|
width: 100%;
|
|
}
|
|
|
|
.section .code-toolbar > .toolbar {
|
|
top: 0.75rem;
|
|
right: 1.5rem;
|
|
}
|
|
|
|
.section .code-toolbar > .toolbar a,
|
|
.section .code-toolbar > .toolbar button,
|
|
.section .code-toolbar > .toolbar span {
|
|
font-size: 15px;
|
|
color: #fff;
|
|
}
|
|
|
|
.section .code-toolbar > .toolbar a:hover,
|
|
.section .code-toolbar > .toolbar button:hover,
|
|
.section .code-toolbar > .toolbar span:hover {
|
|
color: #fff;
|
|
}
|
|
|
|
@media (max-width: 1440px) {
|
|
|
|
.grid-2 {
|
|
grid-template-columns: calc(50% - 10px) calc(50% - 10px);
|
|
}
|
|
}
|
|
|
|
@media (max-width: 1199px) {
|
|
|
|
.wrap h1.big-title {
|
|
font-size: 4rem;
|
|
}
|
|
|
|
.grid-2 {
|
|
grid-template-columns: 100%;
|
|
}
|
|
|
|
.switch-button {
|
|
display: block;
|
|
}
|
|
|
|
.hide-lg-down {
|
|
display: none;
|
|
}
|
|
|
|
.wrap .notice,
|
|
.wrap div.updated,
|
|
.wrap div.error,
|
|
.media-upload-form .notice,
|
|
.media-upload-form div.error {
|
|
display: block;
|
|
width: auto;
|
|
height: auto;
|
|
margin: 1rem 0 1rem 0;
|
|
}
|
|
|
|
.notices-markup-column pre {
|
|
margin-bottom: 1.5rem;
|
|
}
|
|
|
|
.section {
|
|
padding-top: 2rem;
|
|
padding-left: 15px;
|
|
padding-right: 15px;
|
|
}
|
|
|
|
.buttons-row,
|
|
.spinners-row,
|
|
.notices-row {
|
|
display: block;
|
|
}
|
|
|
|
.buttons-row > div,
|
|
.spinners-row > div,
|
|
.notices-row > div {
|
|
display: block;
|
|
margin-bottom: 15px;
|
|
}
|
|
}
|
|
|
|
@media (max-width: 782px) {
|
|
|
|
#wpadminbar img.wp-admin-icon {
|
|
width: 25px;
|
|
height: 34px;
|
|
margin: 6px 10px;
|
|
}
|
|
|
|
#wpadminbar .logo-wrapper {
|
|
width: 46px;
|
|
height: 46px;
|
|
}
|
|
|
|
#wpadminbar .logo-wrapper svg {
|
|
width: 28px;
|
|
height: 28px;
|
|
margin: 9px;
|
|
}
|
|
|
|
#wpadminbar .share-buttons-top {
|
|
height: 46px;
|
|
}
|
|
|
|
#wpadminbar .share-buttons-top a.twitter-share-button {
|
|
font-size: 14px;
|
|
height: 28px;
|
|
line-height: 26px;
|
|
}
|
|
|
|
.wrap h1.big-title {
|
|
margin-bottom: 1rem;
|
|
font-size: 3rem;
|
|
}
|
|
|
|
.h-100 {
|
|
min-height: initial;
|
|
}
|
|
|
|
.section-credits,
|
|
.section-about {
|
|
padding-left: 15px;
|
|
}
|
|
|
|
.wp-core-ui .notice.is-dismissible {
|
|
padding-right: 0;
|
|
}
|
|
|
|
#wpcontent,
|
|
#wpfooter {
|
|
padding-left: 0;
|
|
margin-right: 0;
|
|
}
|
|
|
|
.auto-fold #wpcontent {
|
|
padding-left: 0;
|
|
}
|
|
|
|
.grid-50-50 {
|
|
display: block;
|
|
}
|
|
|
|
code[class*="language-"],
|
|
pre[class*="language-"] {
|
|
tab-size: 1;
|
|
}
|
|
|
|
.wrap .notice,
|
|
.wrap div.updated,
|
|
.wrap div.error,
|
|
.media-upload-form .notice,
|
|
.media-upload-form div.error {
|
|
width: auto;
|
|
max-width: 100%;
|
|
}
|
|
|
|
.widefat th.sortable,
|
|
.widefat th.sorted {
|
|
padding: 8px 10px;
|
|
}
|
|
|
|
}
|
|
|
|
@media (max-width: 478px) {
|
|
|
|
.wrap {
|
|
padding: 0;
|
|
}
|
|
|
|
#dashboard-widgets .meta-box-sortables {
|
|
min-height: initial;
|
|
margin: 0;
|
|
}
|
|
|
|
.wp-core-ui .button-group > .button {
|
|
display: block;
|
|
}
|
|
}
|