/* ---------------------------------------------------------------------------- plugins list */ .td-admin-plugins { .td-admin-columns { margin-left: -15px; margin-right: -15px; } // remove the border introduced in WP4.7 .td-demo-thumb { border: none; } max-width: none; .about-text { max-width: 1050px; } } .td-wp-admin-plugin { max-width: 300px; display: inline-block; padding: 0 15px 30px; &:hover { .td-plugin-image { .box-shadow(0 0 21px 0 rgba(0, 0, 0, 0.12)) } } } .td-plugin-image { box-shadow: 0 0 8px 0 rgba(0, 0, 0, 0.08); overflow: hidden; position: relative; height: 360px; background-color: #fff; .transition(box-shadow 0.3s ease) } .td-plugin-meta { font-size: 13px; width: 100%; text-align: center; font-family: 'Open Sans', arial, sans-serif; .theme-name { font-size: 17px; text-align: center; font-weight: bold; margin: 0; padding: 20px 10px 0; position: relative; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; } p { font-family: 'Open Sans', arial, sans-serif; font-size: 13px; line-height: 17px; display: block; margin: 12px 30px 8px; color: #999; height: 61px; overflow: hidden; a { display: inline-block; margin: 6px 6px 0; } strong { color: #888; } &.td-plugin-notice { font-size: 12px; color: red; opacity: 0.65; height: auto; } } .td-plugin-buttons { position: absolute; bottom: 0; width: 100%; } .td-plugin-button { color: #888; line-height: 1; text-decoration: none; padding: 10px 20px 9px; display: block; position: relative; margin: 0 auto 26px; text-transform: uppercase; font-size: 11px; opacity: 0.8; &:before { content: ''; position: absolute; top: 0; left: 0; border-radius: 50px; border: 1px solid #888; width: 100%; height: 100%; opacity: 0.4; z-index: -1; .transition(all 0.3s ease); } &:hover { &:before { opacity: 0.6; } } } } /* ---------------------------------------------------------------------------- buttons */ .td-wp-admin-plugin { .td-button-install-plugin { display: none; color: #fff; &:before { border-color: #0085ba; background-color: #0085ba; opacity: 0.85; } &:hover { &:before { opacity: 1; box-shadow: 0 2px 8px 0 rgba(0, 133, 186, 0.6); } } } .td-button-update-plugin { display: none; color: #fff; &:before { border-color: #0085ba; background-color: #0085ba; opacity: 0.85; } &:hover { &:before { opacity: 1; box-shadow: 0 2px 8px 0 rgba(0, 133, 186, 0.6); } } } .td-button-uninstall-plugin { display: none; } .td-button-activate-plugin { display: none; color: #fff; &:before { border-color: #40a200; background-color: #40a200; opacity: 0.85; } &:hover { &:before { opacity: 1; box-shadow: 0 2px 8px 0 rgba(64, 162, 0, 0.6); } } } } .td-plugin-active { .td-button-uninstall-plugin { display: inline-block; } } .td-plugin-inactive { .td-button-activate-plugin { display: inline-block; } } .td-plugin-not-installed { .td-button-install-plugin { display: inline-block; } } .td-plugin-update { .td-button-update-plugin { display: inline-block; } } .td-plugin-no-install { .theme-actions { display:none; } } /* ---------------------------------------------------------------------------- supported plugin list */ .td-supported-plugin-list { font-size: 14px; max-width: 800px; } .td-supported-plugin { padding-bottom: 10px; margin-top: 10px; border-bottom: 1px solid #e9e9e9; position: relative; span { position: absolute; left:400px; top:0; font-size: 13px; color: #797979; } } /* ---------------------------------------------------------------------------- wp-admin/plugins.php list */ .td-amp-plugin-warning { .transform(translateY(-1px)); .notice-warning { padding: 10px 12px; } } /* welcome panel > install plugins */ .td-wp-admin-welcome-plugin { padding: 0 !important; .td-plugin-image { display: inline-block; box-shadow: 0 0 8px 0 rgba(0, 0, 0, 0.08); overflow: hidden; position: relative; height: auto !important; max-width: 130px !important; background-color: #fff; .transition(box-shadow 0.3s ease) } .td-plugin-meta { display: inline-block; width: auto !important; } &:hover { .td-plugin-image { .box-shadow(0 0 21px 0 rgba(0, 0, 0, 0.12)) } } } .td-admin-setup-plugins { margin: 0; padding: 13px 0 75px; &:after { content: ''; position: absolute; bottom: 0; left: 0; width: 100%; height: 1px; background-color: rgba(0, 0, 0, .1); } form { .td-button-install-plugins { margin-top: 1.5em; font-weight: 600; } display: flex; margin: 0 auto; max-width: 680px; flex-direction: column; align-items: center; .about-description { margin-bottom: 1.1em; text-align: center; } .theme-plugins-setup { margin: 0 auto; li { display: flex; align-items: center; position: relative; padding-left: 30px; font-weight: bold; &:before { content: ''; position: relative; width: 6px; margin-right: 15px; border-bottom: 1px solid #000; top: 1px; } .spinner { margin-right: 0; } } } .td-button-install-wrap { margin: 0 auto; } .themes-plugin-txt, .themes-plugin-status { width: 200px; } .themes-plugin-status { display: flex; align-items: center; justify-content: flex-end; position: relative; top: 1px; font-size: 12px; font-style: italic; color: dodgerblue; } } .theme-plugins-installed { position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%); display: flex; flex-direction: column; align-items: center; visibility: hidden; opacity: 0; img { width: auto; margin-bottom: 10px; } } .theme-plugins-error-msg { margin-top: 0.8em; margin-bottom: 0.4em; text-align: center; font-size: 12px; line-height: 1.5; color: #a00; a { text-decoration: none; } } &.td-installing-plugins { background-color: #fff; opacity: 0.6; cursor: wait; .td-button-install-plugins { pointer-events: none; cursor: inherit; } } &.td-installed-plugins { form { visibility: hidden; opacity: 0; transition: opacity 0.4s ease-in-out; } .theme-plugins-installed { visibility: visible; opacity: 1; transition: opacity 0.4s ease-in-out; } } .td-button-install-plugins { &[disabled] { pointer-events: none; cursor: inherit; } } }