@import "module/settings"; @import "module/auxiliary"; /* color -----------------------------------------*/ .diver-default-color { width: 24px; height: 15px; border-radius: 3px; display: inline-block; margin-right: 0; vertical-align: text-top; border: 1px solid #ccc; @each $key, $color in $auxiliary-color { &.#{$key} { background: map-get($color, "bg"); } } &.custom { width: auto; border: none; &:before { content: "カスタム"; } } } /* loader -----------------------------------------*/ @keyframes diver_loader_animation { 0%, 100% { box-shadow: 0 -3em 0 0.2em, 2em -2em 0 0em, 3em 0 0 -1em, 2em 2em 0 -1em, 0 3em 0 -1em, -2em 2em 0 -1em, -3em 0 0 -1em, -2em -2em 0 0; } 12.5% { box-shadow: 0 -3em 0 0, 2em -2em 0 0.2em, 3em 0 0 0, 2em 2em 0 -1em, 0 3em 0 -1em, -2em 2em 0 -1em, -3em 0 0 -1em, -2em -2em 0 -1em; } 25% { box-shadow: 0 -3em 0 -0.5em, 2em -2em 0 0, 3em 0 0 0.2em, 2em 2em 0 0, 0 3em 0 -1em, -2em 2em 0 -1em, -3em 0 0 -1em, -2em -2em 0 -1em; } 37.5% { box-shadow: 0 -3em 0 -1em, 2em -2em 0 -1em, 3em 0em 0 0, 2em 2em 0 0.2em, 0 3em 0 0em, -2em 2em 0 -1em, -3em 0em 0 -1em, -2em -2em 0 -1em; } 50% { box-shadow: 0 -3em 0 -1em, 2em -2em 0 -1em, 3em 0 0 -1em, 2em 2em 0 0em, 0 3em 0 0.2em, -2em 2em 0 0, -3em 0em 0 -1em, -2em -2em 0 -1em; } 62.5% { box-shadow: 0 -3em 0 -1em, 2em -2em 0 -1em, 3em 0 0 -1em, 2em 2em 0 -1em, 0 3em 0 0, -2em 2em 0 0.2em, -3em 0 0 0, -2em -2em 0 -1em; } 75% { box-shadow: 0em -3em 0 -1em, 2em -2em 0 -1em, 3em 0em 0 -1em, 2em 2em 0 -1em, 0 3em 0 -1em, -2em 2em 0 0, -3em 0em 0 0.2em, -2em -2em 0 0; } 87.5% { box-shadow: 0em -3em 0 0, 2em -2em 0 -1em, 3em 0 0 -1em, 2em 2em 0 -1em, 0 3em 0 -1em, -2em 2em 0 0, -3em 0em 0 0, -2em -2em 0 0.2em; } } .diver-loader { display: flex; align-items: center; justify-content: center; width: 50px; height: 50px; &:before { content: ""; display: block; color: #000; font-size: 6px; width: 6px; height: 6px; border-radius: 50%; animation: diver_loader_animation 1s infinite linear; } } /**************************************** option *****************************************/ h1.diver_option_header { font-weight: normal; padding: 10px; margin-bottom: 0; } .diver_option_desc { padding: 10px; } .diver_option_aside { padding: 1em 1.5em; background: #c5d7e0; border-radius: 3px; } .diver_option_wrap { background: #fff; padding: 1em 2em; margin-right: 20px; } .firstview_area { background: #f9f9f9; padding: 20px; border-radius: 3px; position: relative; } .diver_option_title { background: #fff; border-bottom: 1px solid #ccc; margin: 0; padding: 0.7em 1em; margin-top: 20px; margin-right: 20px; } .diver_option_firstview_simple_preview { position: absolute; right: 100px; top: 50px; } .diver_option_firstview_simple_preview div { width: 300px; height: 200px; border: 1px solid #ccc; } .widget_sep { font-size: 1.2em; border-bottom: 1px solid #ccc; line-height: 2; } .diver_option_row_desc { padding: 1em 0; font-size: 0.9em; color: #777; } #adminmenu .wp-menu-image img { width: 16px; } /**************************************** navigation *****************************************/ #add-post-type-common, #add-post-type-cta, li#add-post-type-cat-page { display: none; }