Commit cf47aff7 by aliarshad9691

Added basic WP with Pure themey

parent df226b24

Too many changes to show.

To preserve performance only 1000 of 1000+ files are displayed.

<component name="ProjectCodeStyleConfiguration">
<state>
<option name="PREFERRED_PROJECT_CODE_STYLE" value="Default" />
</state>
</component>
\ No newline at end of file
<?xml version="1.0" encoding="UTF-8"?>
<project version="4">
<component name="ProjectModuleManager">
<modules>
<module fileurl="file://$PROJECT_DIR$/.idea/portfolio.iml" filepath="$PROJECT_DIR$/.idea/portfolio.iml" />
</modules>
</component>
</project>
\ No newline at end of file
<?xml version="1.0" encoding="UTF-8"?>
<module type="WEB_MODULE" version="4">
<component name="NewModuleRootManager">
<content url="file://$MODULE_DIR$" />
<orderEntry type="inheritedJdk" />
<orderEntry type="sourceFolder" forTests="false" />
</component>
</module>
\ No newline at end of file
<?xml version="1.0" encoding="UTF-8"?>
<project version="4">
<component name="VcsDirectoryMappings">
<mapping directory="$PROJECT_DIR$" vcs="Git" />
</component>
</project>
\ No newline at end of file
This source diff could not be displayed because it is too large. You can view the blob instead.
......@@ -42,7 +42,7 @@ function isEmptyString()
fi
}
#Project name
project="wp_template"
project="wp_portfolio"
project_dir="/var/www"
#S3 info
S3KEY="AKIAISAUYAT4BMFLKVFA"
......
FROM ubuntu:16.04
#################################################### Adding new user and group ####################################################
ENV myuser=jenkins
ENV myuserid=1002
ENV mygroup=jenkins
ENV mygroupid=1002
RUN groupadd $mygroup -g $mygroupid
RUN useradd -u $myuserid -g $mygroupid $myuser
###################################################### Update APT #######################################################
RUN apt-get update -y
###################################################### Utilities #######################################################
#install git curl wget zip unzip nano
RUN apt-get install -y git curl wget zip unzip nano && \
apt-get -y clean all
######################################################### Apache #########################################################
RUN apt-get install -y apache2 && \
apt-get -y clean all
######################################################### PHP #########################################################
RUN apt-get install -y php-fpm php-mysql php-curl php-json php-cgi php libapache2-mod-fastcgi && \
apt-get -y clean all
######################################################### Apache Configs #########################################################
## Enabling Mod_Rewrite
RUN a2enmod actions fastcgi
RUN a2enmod rewrite
RUN a2enmod headers
RUN a2enmod expires
RUN a2enmod deflate
## Fixing localhost error.
RUN echo "ServerName localhost" >> /etc/apache2/conf-available/servername.conf
RUN a2enconf servername
RUN rm /etc/apache2/sites-enabled/000-default.conf
RUN echo "<VirtualHost *:80> \n\
ServerAdmin webmaster@localhost \n\
DocumentRoot /var/www/html \n\
\n\
ErrorLog ${APACHE_LOG_DIR}/error.log \n\
CustomLog ${APACHE_LOG_DIR}/access.log combined \n\
\n\
<Directory /var/www/html> \n\
Options Indexes FollowSymLinks MultiViews \n\
AllowOverride All \n\
Order allow,deny \n\
allow from all \n\
</Directory> \n\
<IfModule mod_fastcgi.c> \n\
AddHandler php7-fcgi .php \n\
Action php7-fcgi /php7-fcgi \n\
Alias /php7-fcgi /usr/lib/cgi-bin/php7-fcgi \n\
FastCgiExternalServer /usr/lib/cgi-bin/php7-fcgi -socket /run/php/php7.0-fpm.sock -pass-header Authorization \n\
<FilesMatch '.+\.ph(p[345]?|t|tml)$'> \n\
SetHandler php7-fcgi \n\
</FilesMatch> \n\
<Directory '/usr/lib/cgi-bin'> \n\
Require all granted \n\
</Directory> \n\
</IfModule> \n\
</VirtualHost>" >> /etc/apache2/sites-enabled/000-default.conf
RUN x=";clear_env = no" && y="clear_env = no" && sed -i -e "s/$x/$y/g" /etc/php/7.0/fpm/pool.d/www.conf
#################################################### php should run as my user ####################################################
RUN x="user = www-data" && y="user = $myuser" && sed -i -e "s/$x/$y/g" /etc/php/7.0/fpm/pool.d/www.conf
RUN x="group = www-data" && y="group = $mygroup" && sed -i -e "s/$x/$y/g" /etc/php/7.0/fpm/pool.d/www.conf
#################################################### allow 1gb upload size ####################################################
RUN x="upload_max_filesize = 2M" && y="upload_max_filesize = 1024M" && sed -i -e "s/$x/$y/g" /etc/php/7.0/fpm/php.ini
RUN x="post_max_size = 8M" && y="post_max_size = 1024M" && sed -i -e "s/$x/$y/g" /etc/php/7.0/fpm/php.ini
#################################################### Setting up apache ####################################################
ADD start.sh /start.sh
RUN chmod u+x /start.sh
EXPOSE 80
ENTRYPOINT ["/start.sh"]
\ No newline at end of file
MYSQL_ROOT_PASSWORD=vQodeRandom91
MYSQL_DATABASE=wordpress
MYSQL_USER=aliarshad
MYSQL_PASSWORD=aliarshad
MYSQL_ALLOW_EMPTY_PASSWORD=No
\ No newline at end of file
MYSQL_PASSWORD=Lahore@786
MYSQL_ALLOW_EMPTY_PASSWORD=No
MYSQL_HOST=db
WORDPRESS_DB_HOST=db
WORDPRESS_DB_USER=aliarshad
WORDPRESS_DB_PASSWORD=Lahore@786
WORDPRESS_DB_NAME=wordpress
\ No newline at end of file
version: '2'
services:
web:
build:
context: ./
wordpress:
image: wordpress:5.0.2-php7.1-fpm
depends_on:
- db
links:
- db
ports:
- 20010:80
volumes:
- ../WWW_DATA:/var/www/html
environment:
- MYSQL_HOST=db
- ../configs/uploads.ini:/usr/local/etc/php/conf.d/uploads.ini
env_file:
- database.env
restart: unless-stopped
mem_limit: 512M
container_name: wp_template_web
container_name: wp_portfolio_web
nginx:
image: nginx:latest
ports:
- '20010:80'
volumes:
- ../nginx:/etc/nginx/conf.d
- ../logs/nginx:/var/log/nginx
- ../WWW_DATA:/var/www/html
links:
- wordpress
restart: unless-stopped
container_name: wp_portfolio_nginx
db:
image: mariadb
volumes:
......@@ -27,24 +35,22 @@ services:
- database.env
restart: unless-stopped
mem_limit: 256M
container_name: wp_template_db
# cron:
# build:
# context: ./BACKUP
# hostname: mail.vqode.com
# depends_on:
# - db
# - web
# links:
# - db
# volumes:
# - ./WWW_DATA:/var/www/html
# environment:
# - MYSQL_HOST=db
# env_file:
# - database.env
# restart: unless-stopped
# container_name: wp_template_backup_service
container_name: wp_portfolio_db
cron:
build:
context: ../BACKUP
hostname: mail.vqode.com
depends_on:
- db
- wordpress
links:
- db
volumes:
- ./WWW_DATA:/var/www/html
env_file:
- database.env
restart: unless-stopped
container_name: wp_portfolio_backup_service
# sftp:
# image: atmoz/sftp
# volumes:
......
#!/bin/sh
SERVICE1='php7.0-fpm'
SERVICE2='apache2'
echo "env[MYSQL_DATABASE]= $MYSQL_DATABASE">> /etc/php/7.0/fpm/pool.d/www.conf
echo "env[MYSQL_USER]= $MYSQL_USER">> /etc/php/7.0/fpm/pool.d/www.conf
echo "env[MYSQL_PASSWORD]= $MYSQL_PASSWORD">> /etc/php/7.0/fpm/pool.d/www.conf
echo "env[MYSQL_HOST]= $MYSQL_HOST">> /etc/php/7.0/fpm/pool.d/www.conf
chown $myuser:$mygroup -R /var/www/html
if (( $(ps -ef | grep -v grep | grep $SERVICE1 | wc -l) > 0 ))
then
echo "$SERVICE1 is running!!!"
else
echo "starting $SERVICE1"
service $SERVICE1 start
fi
if (( $(ps -ef | grep -v grep | grep $SERVICE2 | wc -l) > 0 ))
then
echo "$SERVICE2 is running!!!"
else
echo "starting $SERVICE2"
service $SERVICE2 start
fi
tail -f /error.log
\ No newline at end of file
......@@ -7,69 +7,4 @@ RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteRule . /index.php [L]
</IfModule>
# END WordPress
# Enable Compression
<IfModule mod_deflate.c>
AddOutputFilterByType DEFLATE application/javascript
AddOutputFilterByType DEFLATE application/rss+xml
AddOutputFilterByType DEFLATE application/vnd.ms-fontobject
AddOutputFilterByType DEFLATE application/x-font
AddOutputFilterByType DEFLATE application/x-font-opentype
AddOutputFilterByType DEFLATE application/x-font-otf
AddOutputFilterByType DEFLATE application/x-font-truetype
AddOutputFilterByType DEFLATE application/x-font-ttf
AddOutputFilterByType DEFLATE application/x-javascript
AddOutputFilterByType DEFLATE application/xhtml+xml
AddOutputFilterByType DEFLATE application/xml
AddOutputFilterByType DEFLATE font/opentype
AddOutputFilterByType DEFLATE font/otf
AddOutputFilterByType DEFLATE font/ttf
AddOutputFilterByType DEFLATE image/svg+xml
AddOutputFilterByType DEFLATE image/x-icon
AddOutputFilterByType DEFLATE text/css
AddOutputFilterByType DEFLATE text/html
AddOutputFilterByType DEFLATE text/javascript
AddOutputFilterByType DEFLATE text/plain
</IfModule>
<IfModule mod_gzip.c>
mod_gzip_on Yes
mod_gzip_dechunk Yes
mod_gzip_item_include file .(html?|txt|css|js|php|pl)$
mod_gzip_item_include handler ^cgi-script$
mod_gzip_item_include mime ^text/.*
mod_gzip_item_include mime ^application/x-javascript.*
mod_gzip_item_exclude mime ^image/.*
mod_gzip_item_exclude rspheader ^Content-Encoding:.*gzip.*
</IfModule>
# Leverage Browser Caching
<IfModule mod_expires.c>
ExpiresActive On
ExpiresByType image/jpg "access 1 year"
ExpiresByType image/jpeg "access 1 year"
ExpiresByType image/gif "access 1 year"
ExpiresByType image/png "access 1 year"
ExpiresByType text/css "access 1 month"
ExpiresByType text/html "access 1 month"
ExpiresByType application/pdf "access 1 month"
ExpiresByType text/x-javascript "access 1 month"
ExpiresByType application/x-shockwave-flash "access 1 month"
ExpiresByType image/x-icon "access 1 year"
ExpiresDefault "access 1 month"
</IfModule>
<IfModule mod_headers.c>
<filesmatch "\.(ico|flv|jpg|jpeg|png|gif|css|swf)$">
Header set Cache-Control "max-age=2678400, public"
</filesmatch>
<filesmatch "\.(html|htm)$">
Header set Cache-Control "max-age=7200, private, must-revalidate"
</filesmatch>
<filesmatch "\.(pdf)$">
Header set Cache-Control "max-age=86400, public"
</filesmatch>
<filesmatch "\.(js)$">
Header set Cache-Control "max-age=2678400, private"
</filesmatch>
</IfModule>
\ No newline at end of file
<?php
phpinfo();
\ No newline at end of file
......@@ -58,7 +58,7 @@
<h3>Recommendations</h3>
<ul>
<li><a href="https://secure.php.net/">PHP</a> version <strong>7</strong> or higher.</li>
<li><a href="https://secure.php.net/">PHP</a> version <strong>7.2</strong> or higher.</li>
<li><a href="https://www.mysql.com/">MySQL</a> version <strong>5.6</strong> or higher.</li>
<li>The <a href="https://httpd.apache.org/docs/2.2/mod/mod_rewrite.html">mod_rewrite</a> Apache module.</li>
<li><a href="https://wordpress.org/news/2016/12/moving-toward-ssl/">HTTPS</a> support.</li>
......
......@@ -18,6 +18,52 @@ if ( !is_multisite() ) {
die();
}
$valid_error_codes = array( 'already_active', 'blog_taken' );
list( $activate_path ) = explode( '?', wp_unslash( $_SERVER['REQUEST_URI'] ) );
$activate_cookie = 'wp-activate-' . COOKIEHASH;
$key = '';
$result = null;
if ( isset( $_GET['key'] ) && isset( $_POST['key'] ) && $_GET['key'] !== $_POST['key'] ) {
wp_die( __( 'A key value mismatch has been detected. Please follow the link provided in your activation email.' ), __( 'An error occurred during the activation' ), 400 );
} elseif ( ! empty( $_GET['key'] ) ) {
$key = $_GET['key'];
} elseif ( ! empty( $_POST['key'] ) ) {
$key = $_POST['key'];
}
if ( $key ) {
$redirect_url = remove_query_arg( 'key' );
if ( $redirect_url !== remove_query_arg( false ) ) {
setcookie( $activate_cookie, $key, 0, $activate_path, COOKIE_DOMAIN, is_ssl(), true );
wp_safe_redirect( $redirect_url );
exit;
} else {
$result = wpmu_activate_signup( $key );
}
}
if ( $result === null && isset( $_COOKIE[ $activate_cookie ] ) ) {
$key = $_COOKIE[ $activate_cookie ];
$result = wpmu_activate_signup( $key );
setcookie( $activate_cookie, ' ', time() - YEAR_IN_SECONDS, $activate_path, COOKIE_DOMAIN, is_ssl(), true );
}
if ( $result === null || ( is_wp_error( $result ) && 'invalid_key' === $result->get_error_code() ) ) {
status_header( 404 );
} elseif ( is_wp_error( $result ) ) {
$error_code = $result->get_error_code();
if ( ! in_array( $error_code, $valid_error_codes ) ) {
status_header( 400 );
}
}
nocache_headers();
if ( is_object( $wp_object_cache ) )
$wp_object_cache->cache_enabled = false;
......@@ -36,7 +82,7 @@ do_action( 'activate_header' );
*
* Fires on {@see 'wp_head'}.
*
* @since MU
* @since MU (3.0.0)
*/
function do_activate_header() {
/**
......@@ -53,7 +99,7 @@ add_action( 'wp_head', 'do_activate_header' );
/**
* Loads styles specific to this page.
*
* @since MU
* @since MU (3.0.0)
*/
function wpmu_activate_stylesheet() {
?>
......@@ -67,13 +113,14 @@ function wpmu_activate_stylesheet() {
<?php
}
add_action( 'wp_head', 'wpmu_activate_stylesheet' );
add_action( 'wp_head', 'wp_sensitive_page_meta' );
get_header( 'wp-activate' );
?>
<div id="signup-content" class="widecolumn">
<div class="wp-activate-container">
<?php if ( empty($_GET['key']) && empty($_POST['key']) ) { ?>
<?php if ( ! $key ) { ?>
<h2><?php _e('Activation Key Required') ?></h2>
<form name="activateform" id="activateform" method="post" action="<?php echo network_site_url('wp-activate.php'); ?>">
......@@ -87,43 +134,39 @@ get_header( 'wp-activate' );
</form>
<?php } else {
$key = !empty($_GET['key']) ? $_GET['key'] : $_POST['key'];
$result = wpmu_activate_signup( $key );
if ( is_wp_error($result) ) {
if ( 'already_active' == $result->get_error_code() || 'blog_taken' == $result->get_error_code() ) {
$signup = $result->get_error_data();
?>
<h2><?php _e('Your account is now active!'); ?></h2>
<?php
echo '<p class="lead-in">';
if ( $signup->domain . $signup->path == '' ) {
printf(
/* translators: 1: login URL, 2: username, 3: user email, 4: lost password URL */
__( 'Your account has been activated. You may now <a href="%1$s">log in</a> to the site using your chosen username of &#8220;%2$s&#8221;. Please check your email inbox at %3$s for your password and login instructions. If you do not receive an email, please check your junk or spam folder. If you still do not receive an email within an hour, you can <a href="%4$s">reset your password</a>.' ),
network_site_url( 'wp-login.php', 'login' ),
$signup->user_login,
$signup->user_email,
wp_lostpassword_url()
);
} else {
printf(
/* translators: 1: site URL, 2: site domain, 3: username, 4: user email, 5: lost password URL */
__( 'Your site at <a href="%1$s">%2$s</a> is active. You may now log in to your site using your chosen username of &#8220;%3$s&#8221;. Please check your email inbox at %4$s for your password and login instructions. If you do not receive an email, please check your junk or spam folder. If you still do not receive an email within an hour, you can <a href="%5$s">reset your password</a>.' ),
'http://' . $signup->domain,
$signup->domain,
$signup->user_login,
$signup->user_email,
wp_lostpassword_url()
);
}
echo '</p>';
if ( is_wp_error( $result ) && in_array( $result->get_error_code(), $valid_error_codes ) ) {
$signup = $result->get_error_data();
?>
<h2><?php _e( 'Your account is now active!' ); ?></h2>
<?php
echo '<p class="lead-in">';
if ( $signup->domain . $signup->path == '' ) {
printf(
/* translators: 1: login URL, 2: username, 3: user email, 4: lost password URL */
__( 'Your account has been activated. You may now <a href="%1$s">log in</a> to the site using your chosen username of &#8220;%2$s&#8221;. Please check your email inbox at %3$s for your password and login instructions. If you do not receive an email, please check your junk or spam folder. If you still do not receive an email within an hour, you can <a href="%4$s">reset your password</a>.' ),
network_site_url( 'wp-login.php', 'login' ),
$signup->user_login,
$signup->user_email,
wp_lostpassword_url()
);
} else {
?>
<h2><?php _e( 'An error occurred during the activation' ); ?></h2>
<p><?php echo $result->get_error_message(); ?></p>
<?php
printf(
/* translators: 1: site URL, 2: username, 3: user email, 4: lost password URL */
__( 'Your site at %1$s is active. You may now log in to your site using your chosen username of &#8220;%2$s&#8221;. Please check your email inbox at %3$s for your password and login instructions. If you do not receive an email, please check your junk or spam folder. If you still do not receive an email within an hour, you can <a href="%4$s">reset your password</a>.' ),
sprintf( '<a href="http://%1$s">%1$s</a>', $signup->domain ),
$signup->user_login,
$signup->user_email,
wp_lostpassword_url()
);
}
echo '</p>';
} elseif ( $result === null || is_wp_error( $result ) ) {
?>
<h2><?php _e( 'An error occurred during the activation' ); ?></h2>
<?php if ( is_wp_error( $result ) ) : ?>
<p><?php echo $result->get_error_message(); ?></p>
<?php endif; ?>
<?php
} else {
$url = isset( $result['blog_id'] ) ? get_home_url( (int) $result['blog_id'] ) : '';
$user = get_userdata( (int) $result['user_id'] );
......
......@@ -26,7 +26,7 @@ send_origin_headers();
// Require an action parameter
if ( empty( $_REQUEST['action'] ) )
die( '0' );
wp_die( '0', 400 );
/** Load WordPress Administration APIs */
require_once( ABSPATH . 'wp-admin/includes/admin.php' );
......@@ -61,14 +61,17 @@ $core_actions_post = array(
'query-attachments', 'save-attachment', 'save-attachment-compat', 'send-link-to-editor',
'send-attachment-to-editor', 'save-attachment-order', 'heartbeat', 'get-revision-diffs',
'save-user-color-scheme', 'update-widget', 'query-themes', 'parse-embed', 'set-attachment-thumbnail',
'parse-media-shortcode', 'destroy-sessions', 'install-plugin', 'update-plugin', 'press-this-save-post',
'press-this-add-category', 'crop-image', 'generate-password', 'save-wporg-username', 'delete-plugin',
'search-plugins', 'search-install-plugins', 'activate-plugin', 'update-theme', 'delete-theme',
'install-theme', 'get-post-thumbnail-html', 'get-community-events',
'parse-media-shortcode', 'destroy-sessions', 'install-plugin', 'update-plugin', 'crop-image',
'generate-password', 'save-wporg-username', 'delete-plugin', 'search-plugins',
'search-install-plugins', 'activate-plugin', 'update-theme', 'delete-theme', 'install-theme',
'get-post-thumbnail-html', 'get-community-events', 'edit-theme-plugin-file',
'wp-privacy-export-personal-data',
'wp-privacy-erase-personal-data',
);
// Deprecated
$core_actions_post[] = 'wp-fullscreen-save-post';
$core_actions_post_deprecated = array( 'wp-fullscreen-save-post', 'press-this-save-post', 'press-this-add-category' );
$core_actions_post = array_merge( $core_actions_post, $core_actions_post_deprecated );
// Register core Ajax calls.
if ( ! empty( $_GET['action'] ) && in_array( $_GET['action'], $core_actions_get ) )
......@@ -80,6 +83,11 @@ if ( ! empty( $_POST['action'] ) && in_array( $_POST['action'], $core_actions_po
add_action( 'wp_ajax_nopriv_heartbeat', 'wp_ajax_nopriv_heartbeat', 1 );
if ( is_user_logged_in() ) {
// If no action is registered, return a Bad Request response.
if ( ! has_action( 'wp_ajax_' . $_REQUEST['action'] ) ) {
wp_die( '0', 400 );
}
/**
* Fires authenticated Ajax actions for logged-in users.
*
......@@ -90,6 +98,11 @@ if ( is_user_logged_in() ) {
*/
do_action( 'wp_ajax_' . $_REQUEST['action'] );
} else {
// If no action is registered, return a Bad Request response.
if ( ! has_action( 'wp_ajax_nopriv_' . $_REQUEST['action'] ) ) {
wp_die( '0', 400 );
}
/**
* Fires non-authenticated Ajax actions for logged-out users.
*
......@@ -101,4 +114,4 @@ if ( is_user_logged_in() ) {
do_action( 'wp_ajax_nopriv_' . $_REQUEST['action'] );
}
// Default status
die( '0' );
wp_die( '0' );
......@@ -175,6 +175,15 @@ if ( is_network_admin() )
$admin_body_class .= ' no-customize-support no-svg';
if ( $current_screen->is_block_editor() ) {
// Default to is-fullscreen-mode to avoid jumps in the UI.
$admin_body_class .= ' block-editor-page is-fullscreen-mode wp-embed-responsive';
if ( current_theme_supports( 'editor-styles' ) && current_theme_supports( 'dark-editor-style' ) ) {
$admin_body_class .= ' is-dark-theme';
}
}
?>
</head>
<?php
......
......@@ -87,6 +87,11 @@ auth_redirect();
if ( ! wp_next_scheduled( 'wp_scheduled_delete' ) && ! wp_installing() )
wp_schedule_event(time(), 'daily', 'wp_scheduled_delete');
// Schedule Transient cleanup.
if ( ! wp_next_scheduled( 'delete_expired_transients' ) && ! wp_installing() ) {
wp_schedule_event( time(), 'daily', 'delete_expired_transients' );
}
set_screen_options();
$date_format = __( 'F j, Y' );
......@@ -94,9 +99,6 @@ $time_format = __( 'g:i a' );
wp_enqueue_script( 'common' );
/**
* $pagenow is set in vars.php
* $wp_importers is sometimes set in wp-admin/includes/import.php
......
<?php
/**
* Server-side file upload handler from wp-plupload, swfupload or other asynchronous upload methods.
* Server-side file upload handler from wp-plupload or other asynchronous upload methods.
*
* @package WordPress
* @subpackage Administration
......@@ -14,20 +14,10 @@ if ( ! defined( 'WP_ADMIN' ) ) {
define( 'WP_ADMIN', true );
}
if ( defined('ABSPATH') )
require_once(ABSPATH . 'wp-load.php');
else
if ( defined( 'ABSPATH' ) ) {
require_once( ABSPATH . 'wp-load.php' );
} else {
require_once( dirname( dirname( __FILE__ ) ) . '/wp-load.php' );
if ( ! ( isset( $_REQUEST['action'] ) && 'upload-attachment' == $_REQUEST['action'] ) ) {
// Flash often fails to send cookies with the POST or upload, so we need to pass it in GET or POST instead
if ( is_ssl() && empty($_COOKIE[SECURE_AUTH_COOKIE]) && !empty($_REQUEST['auth_cookie']) )
$_COOKIE[SECURE_AUTH_COOKIE] = $_REQUEST['auth_cookie'];
elseif ( empty($_COOKIE[AUTH_COOKIE]) && !empty($_REQUEST['auth_cookie']) )
$_COOKIE[AUTH_COOKIE] = $_REQUEST['auth_cookie'];
if ( empty($_COOKIE[LOGGED_IN_COOKIE]) && !empty($_REQUEST['logged_in_cookie']) )
$_COOKIE[LOGGED_IN_COOKIE] = $_REQUEST['logged_in_cookie'];
unset($current_user);
}
require_once( ABSPATH . 'wp-admin/admin.php' );
......
......@@ -16,11 +16,11 @@ list( $display_version ) = explode( '-', get_bloginfo( 'version' ) );
include( ABSPATH . 'wp-admin/admin-header.php' );
?>
<div class="wrap about-wrap">
<div class="wrap about-wrap full-width-layout">
<h1><?php printf( __( 'Welcome to WordPress %s' ), $display_version ); ?></h1>
<p class="about-text"><?php printf( __( 'Thank you for updating to the latest version! WordPress %s adds more ways for you to express yourself and represent your brand.' ), $display_version ); ?></p>
<p class="about-text"><?php printf( __( 'Thank you for updating to the latest version! WordPress %s introduces a robust new content creation experience.' ), $display_version ); ?></p>
<div class="wp-badge"><?php printf( __( 'Version %s' ), $display_version ); ?></div>
......@@ -28,8 +28,10 @@ include( ABSPATH . 'wp-admin/admin-header.php' );
<a href="about.php" class="nav-tab"><?php _e( 'What&#8217;s New' ); ?></a>
<a href="credits.php" class="nav-tab nav-tab-active"><?php _e( 'Credits' ); ?></a>
<a href="freedoms.php" class="nav-tab"><?php _e( 'Freedoms' ); ?></a>
<a href="freedoms.php?privacy-notice" class="nav-tab"><?php _e( 'Privacy' ); ?></a>
</h2>
<div class="about-wrap-content">
<?php
$credits = wp_credits();
......@@ -43,12 +45,19 @@ if ( ! $credits ) {
);
echo '</p>';
echo '</div>';
echo '</div>';
include( ABSPATH . 'wp-admin/admin-footer.php' );
exit;
}
echo '<p class="about-description">' . __( 'WordPress is created by a worldwide team of passionate individuals.' ) . "</p>\n";
echo '<p>' . sprintf(
/* translators: %s: https://make.wordpress.org/ */
__( 'Want to see your name in lights on this page? <a href="%s">Get involved in WordPress</a>.' ),
__( 'https://make.wordpress.org/' )
) . '</p>';
foreach ( $credits['groups'] as $group_slug => $group_data ) {
if ( $group_data['name'] ) {
if ( 'Translators' == $group_data['name'] ) {
......@@ -98,13 +107,7 @@ foreach ( $credits['groups'] as $group_slug => $group_data ) {
}
?>
<p class="clear"><?php
/* translators: %s: https://make.wordpress.org/ */
printf( __( 'Want to see your name in lights on this page? <a href="%s">Get involved in WordPress</a>.' ),
__( 'https://make.wordpress.org/' )
);
?></p>
</div>
</div>
<?php
......@@ -115,7 +118,7 @@ return;
// These are strings returned by the API that we want to be translatable
__( 'Project Leaders' );
__( 'Core Contributors to WordPress %s' );
__( 'Contributing Developers' );
__( 'Noteworthy Contributors' );
__( 'Cofounder, Project Lead' );
__( 'Lead Developer' );
__( 'Release Lead' );
......
......@@ -8,6 +8,7 @@
2.0 About Page
2.1 Typography
2.2 Structure
2.3 Floating Header Layout
3.0 Credits & Freedoms Pages
------------------------------------------------------------------------------*/
......@@ -22,6 +23,14 @@
font-size: 15px;
}
.about-wrap.full-width-layout {
max-width: 1200px;
}
.about-wrap-content {
max-width: 1050px;
}
.about-wrap div.updated,
.about-wrap div.error,
.about-wrap .notice {
......@@ -31,17 +40,38 @@
.about-wrap hr {
border: 0;
height: 0;
margin: 0;
margin: 3em 0 0;
border-top: 1px solid rgba(0, 0, 0, 0.1);
}
.about-wrap img {
margin: 0;
max-width: 100%;
width: 100%;
height: auto;
vertical-align: middle;
}
.about-wrap figure {
position: relative;
margin: 0;
}
.about-wrap .feature-section figure img {
margin-bottom: 0;
}
.about-wrap figcaption {
position: absolute;
bottom: 0;
width: 100%;
padding: 40px 10px 15px;
overflow: auto;
box-sizing: border-box;
background: linear-gradient(0deg,rgba(0,0,0,.7),rgba(0,0,0,.3) 60%,transparent);
font-weight: 600;
text-shadow: 0px 0px 5px rgba(0,0,0,.75);
}
.about-wrap .jetpack-video-wrapper {
margin-bottom: 0;
}
......@@ -51,7 +81,6 @@
.wp-badge {
background: #0073aa url(../images/w-logo-white.png?ver=20160308) no-repeat;
background-position: center 25px;
-webkit-background-size: 80px 80px;
background-size: 80px 80px;
color: #fff;
font-size: 14px;
......@@ -63,7 +92,6 @@
display: inline-block;
width: 140px;
text-rendering: optimizeLegibility;
-webkit-box-shadow: 0 1px 3px rgba(0,0,0,0.2);
box-shadow: 0 1px 3px rgba(0,0,0,0.2);
}
......@@ -125,25 +153,19 @@
color: #23282d;
}
.about-wrap .changelog h2 {
font-size: 1.4em;
font-weight: 600;
text-align: right;
}
.about-wrap .changelog h3 {
margin: 1.33em 0;
font-size: 1em;
line-height: inherit;
color: #23282d;
}
.about-wrap code,
.about-wrap ol li p {
font-size: 14px;
font-weight: 400;
}
.about-wrap figcaption {
font-size: 13px;
text-align: center;
color: white;
text-overflow: ellipsis;
}
.about-wrap .about-description,
.about-wrap .about-text {
margin-top: 1.4em;
......@@ -154,43 +176,33 @@
.about-wrap .about-text {
margin: 1em 0 1em 200px;
min-height: 60px;
color: #555d66;
}
/* 1.2 - Structure */
.about-wrap [class$="-col"] {
display: -ms-flexbox;
display: -webkit-flex;
display: -webkit-box;
display: -moz-box;
display: flex;
-webkit-box-pack: justify;
-webkit-justify-content: space-between;
-moz-box-pack: justify;
-ms-flex-pack: justify;
justify-content: space-between;
-webkit-box-align: center;
-webkit-align-items: center;
-moz-box-align: center;
-ms-flex-align: center;
align-items: center;
-webkit-flex-wrap: wrap;
-ms-flex-wrap: wrap;
flex-wrap: wrap;
}
.about-wrap .feature-section.one-col {
margin: 0 auto;
max-width: 700px;
max-width: 680px;
}
.about-wrap .inline-svg img {
max-width: 100%;
width: 100%;
height: auto;
}
.about-wrap .inline-svg.full-width {
margin-bottom: 120px;
}
.about-wrap [class$="-col"] .col {
-webkit-flex: 1;
-ms-flex: 1;
-webkit-box-flex: 1;
-moz-box-flex: 1;
flex: 1;
}
......@@ -199,14 +211,35 @@
max-width: 47%;
}
.about-wrap .three-col,
.about-wrap .four-col {
margin: auto;
max-width: 1020px;
}
.about-wrap .three-col .col {
-webkit-align-self: flex-start;
-ms-flex-item-align: start;
align-self: flex-start;
min-width: 31%;
max-width: 31%;
}
.about-wrap .four-col .col {
align-self: flex-start;
min-width: 23%;
max-width: 23%;
}
.about-wrap .feature-section.eight-col .col {
align-self: flex-start;
margin-top: 6px;
min-width: 12%;
max-width: 12%;
}
.about-wrap .one-col img {
margin: 1em 0 2em;
}
.about-wrap .two-col img {
margin-bottom: 1.5em;
}
......@@ -219,6 +252,18 @@
background: transparent; /* Hide loading.gif */
}
.about-wrap video {
margin: 1.5em auto;
}
.about-wrap .cta {
text-align: center;
}
.about-wrap .cta .button {
margin: 0 auto 5px;
font-weight: 600;
}
/* 1.3 - Point Releases */
.about-wrap .point-releases {
......@@ -259,11 +304,7 @@
}
.about-wrap .two-col-text {
-webkit-column-count: 2;
-moz-column-count: 2;
column-count: 2;
-webkit-column-gap: 40px;
-moz-column-gap: 40px;
column-gap: 40px;
}
......@@ -276,6 +317,10 @@
margin-bottom: 3em;
}
.about-wrap .under-the-hood img + h3 {
margin-top: 1.25em;
}
/* 2.2 - Structure */
.about-wrap .headline-feature.feature-video {
......@@ -302,7 +347,6 @@
.about-wrap .feature-section {
overflow: hidden;
padding: 0 0 40px;
}
.about-wrap .feature-section.no-heading {
......@@ -313,10 +357,6 @@
overflow: hidden;
}
.about-wrap .feature-section img {
margin-bottom: 1em;
}
.about-wrap .embed-container {
text-align: center;
}
......@@ -373,7 +413,7 @@
}
.about-wrap .compact {
margin-bottom: 0
margin-bottom: 0;
}
.about-wrap .wp-person {
......@@ -441,26 +481,87 @@
margin: 0.6em 0;
}
.freedoms-php .about-wrap .col .freedoms-image {
background-image: url('https://s.w.org/wp-content/themes/pub/wporg-main/images/freedoms-2x.png');
background-size: 100%;
padding-top: 100%;
}
.freedoms-php .about-wrap .col:nth-of-type(2) .freedoms-image {
background-position: 100% 34%;
}
.freedoms-php .about-wrap .col:nth-of-type(3) .freedoms-image {
background-position: 100% 66%;
}
.freedoms-php .about-wrap .col:nth-of-type(4) .freedoms-image {
background-position: 100% 100%;
}
/*------------------------------------------------------------------------------
4.0 - Media Queries
------------------------------------------------------------------------------*/
@media screen and ( max-width: 782px ) {
@media screen and (max-width: 1250px) {
.about-wrap .floating-header-section.has-long-title .section-item:nth-child(1),
.about-wrap .floating-header-section.has-long-title .section-item:nth-child(2) {
margin: 0 0 60px;
}
.about-wrap .floating-header-section.has-long-title .section-item:nth-child(3),
.about-wrap .floating-header-section.has-long-title .section-item:nth-child(4) {
margin: 0;
}
.about-wrap .floating-header-section.has-long-title .section-item:nth-child(2),
.about-wrap .floating-header-section.has-long-title .section-item:nth-child(4) {
margin-right: 60px;
}
}
@media screen and (max-width: 782px) {
.about-wrap .two-col-text {
-webkit-column-count: 1;
-moz-column-count: 1;
column-count: 1;
}
.about-wrap .two-col .col,
.about-wrap .three-col .col {
.about-wrap .three-col .col,
.about-wrap .four-col .col {
min-width: 48% !important;
}
.about-wrap .three-col img {
.about-wrap .eight-col .col {
min-width: 24% !important;
}
.about-wrap .three-col img,
.about-wrap .four-col img,
.about-wrap .eight-col img {
display: block;
margin: 0 auto;
}
.about-wrap figcaption {
position: relative;
margin-top: 10px;
margin-bottom: 15px;
padding: 0;
background: none;
color: #40464D;
text-shadow: none;
}
.about-wrap .floating-header-section {
display: block;
}
.about-wrap .floating-header-section .section-header,
.about-wrap .floating-header-section .section-content {
max-width: 100%;
}
.about-wrap .floating-header-section h2 {
position: static;
margin-bottom: 60px;
}
}
@media only screen and (max-width: 500px) {
......@@ -484,11 +585,21 @@
width: 100%;
}
.about-wrap .feature-section .col {
margin-top: 1em;
}
.about-wrap .two-col .col,
.about-wrap .three-col .col,
.about-wrap .three-col .col {
min-width: 100% !important;
}
.about-wrap .eight-col .col {
min-width: 48% !important;
}
.about-wrap .under-the-hood.four-col .col,
.about-wrap .under-the-hood.three-col .col,
.about-wrap .under-the-hood.two-col .col,
.about-wrap .under-the-hood.one-col .col {
......@@ -501,8 +612,28 @@
margin-top: 0;
}
.about-wrap .under-the-hood:nth-of-type(2n) h3,
.about-wrap .under-the-hood:nth-of-type(3n) h3 {
margin-top: 0;
.about-wrap .under-the-hood img + h3 {
margin-top: 1.25em;
}
.about-wrap .floating-header-section {
margin-bottom: 60px;
grid-gap: 30px 0;
}
.about-wrap .inline-svg.full-width {
margin-bottom: 60px;
}
.about-wrap .floating-header-section h2 {
word-break: break-all;
-webkit-hyphens: auto;
-ms-hyphens: auto;
hyphens: auto;
}
.about-wrap .floating-header-section .section-content .section-item {
max-width: 100%;
margin: 0 0 60px;
}
}
......@@ -8,6 +8,7 @@
2.0 About Page
2.1 Typography
2.2 Structure
2.3 Floating Header Layout
3.0 Credits & Freedoms Pages
------------------------------------------------------------------------------*/
......@@ -22,6 +23,14 @@
font-size: 15px;
}
.about-wrap.full-width-layout {
max-width: 1200px;
}
.about-wrap-content {
max-width: 1050px;
}
.about-wrap div.updated,
.about-wrap div.error,
.about-wrap .notice {
......@@ -31,17 +40,38 @@
.about-wrap hr {
border: 0;
height: 0;
margin: 0;
margin: 3em 0 0;
border-top: 1px solid rgba(0, 0, 0, 0.1);
}
.about-wrap img {
margin: 0;
max-width: 100%;
width: 100%;
height: auto;
vertical-align: middle;
}
.about-wrap figure {
position: relative;
margin: 0;
}
.about-wrap .feature-section figure img {
margin-bottom: 0;
}
.about-wrap figcaption {
position: absolute;
bottom: 0;
width: 100%;
padding: 40px 10px 15px;
overflow: auto;
box-sizing: border-box;
background: linear-gradient(0deg,rgba(0,0,0,.7),rgba(0,0,0,.3) 60%,transparent);
font-weight: 600;
text-shadow: 0px 0px 5px rgba(0,0,0,.75);
}
.about-wrap .jetpack-video-wrapper {
margin-bottom: 0;
}
......@@ -51,7 +81,6 @@
.wp-badge {
background: #0073aa url(../images/w-logo-white.png?ver=20160308) no-repeat;
background-position: center 25px;
-webkit-background-size: 80px 80px;
background-size: 80px 80px;
color: #fff;
font-size: 14px;
......@@ -63,7 +92,6 @@
display: inline-block;
width: 140px;
text-rendering: optimizeLegibility;
-webkit-box-shadow: 0 1px 3px rgba(0,0,0,0.2);
box-shadow: 0 1px 3px rgba(0,0,0,0.2);
}
......@@ -125,25 +153,19 @@
color: #23282d;
}
.about-wrap .changelog h2 {
font-size: 1.4em;
font-weight: 600;
text-align: left;
}
.about-wrap .changelog h3 {
margin: 1.33em 0;
font-size: 1em;
line-height: inherit;
color: #23282d;
}
.about-wrap code,
.about-wrap ol li p {
font-size: 14px;
font-weight: 400;
}
.about-wrap figcaption {
font-size: 13px;
text-align: center;
color: white;
text-overflow: ellipsis;
}
.about-wrap .about-description,
.about-wrap .about-text {
margin-top: 1.4em;
......@@ -154,43 +176,33 @@
.about-wrap .about-text {
margin: 1em 200px 1em 0;
min-height: 60px;
color: #555d66;
}
/* 1.2 - Structure */
.about-wrap [class$="-col"] {
display: -ms-flexbox;
display: -webkit-flex;
display: -webkit-box;
display: -moz-box;
display: flex;
-webkit-box-pack: justify;
-webkit-justify-content: space-between;
-moz-box-pack: justify;
-ms-flex-pack: justify;
justify-content: space-between;
-webkit-box-align: center;
-webkit-align-items: center;
-moz-box-align: center;
-ms-flex-align: center;
align-items: center;
-webkit-flex-wrap: wrap;
-ms-flex-wrap: wrap;
flex-wrap: wrap;
}
.about-wrap .feature-section.one-col {
margin: 0 auto;
max-width: 700px;
max-width: 680px;
}
.about-wrap .inline-svg img {
max-width: 100%;
width: 100%;
height: auto;
}
.about-wrap .inline-svg.full-width {
margin-bottom: 120px;
}
.about-wrap [class$="-col"] .col {
-webkit-flex: 1;
-ms-flex: 1;
-webkit-box-flex: 1;
-moz-box-flex: 1;
flex: 1;
}
......@@ -199,14 +211,35 @@
max-width: 47%;
}
.about-wrap .three-col,
.about-wrap .four-col {
margin: auto;
max-width: 1020px;
}
.about-wrap .three-col .col {
-webkit-align-self: flex-start;
-ms-flex-item-align: start;
align-self: flex-start;
min-width: 31%;
max-width: 31%;
}
.about-wrap .four-col .col {
align-self: flex-start;
min-width: 23%;
max-width: 23%;
}
.about-wrap .feature-section.eight-col .col {
align-self: flex-start;
margin-top: 6px;
min-width: 12%;
max-width: 12%;
}
.about-wrap .one-col img {
margin: 1em 0 2em;
}
.about-wrap .two-col img {
margin-bottom: 1.5em;
}
......@@ -219,6 +252,18 @@
background: transparent; /* Hide loading.gif */
}
.about-wrap video {
margin: 1.5em auto;
}
.about-wrap .cta {
text-align: center;
}
.about-wrap .cta .button {
margin: 0 auto 5px;
font-weight: 600;
}
/* 1.3 - Point Releases */
.about-wrap .point-releases {
......@@ -259,11 +304,7 @@
}
.about-wrap .two-col-text {
-webkit-column-count: 2;
-moz-column-count: 2;
column-count: 2;
-webkit-column-gap: 40px;
-moz-column-gap: 40px;
column-gap: 40px;
}
......@@ -276,6 +317,10 @@
margin-bottom: 3em;
}
.about-wrap .under-the-hood img + h3 {
margin-top: 1.25em;
}
/* 2.2 - Structure */
.about-wrap .headline-feature.feature-video {
......@@ -302,7 +347,6 @@
.about-wrap .feature-section {
overflow: hidden;
padding: 0 0 40px;
}
.about-wrap .feature-section.no-heading {
......@@ -313,10 +357,6 @@
overflow: hidden;
}
.about-wrap .feature-section img {
margin-bottom: 1em;
}
.about-wrap .embed-container {
text-align: center;
}
......@@ -373,7 +413,7 @@
}
.about-wrap .compact {
margin-bottom: 0
margin-bottom: 0;
}
.about-wrap .wp-person {
......@@ -441,26 +481,87 @@
margin: 0.6em 0;
}
.freedoms-php .about-wrap .col .freedoms-image {
background-image: url('https://s.w.org/wp-content/themes/pub/wporg-main/images/freedoms-2x.png');
background-size: 100%;
padding-top: 100%;
}
.freedoms-php .about-wrap .col:nth-of-type(2) .freedoms-image {
background-position: 0 34%;
}
.freedoms-php .about-wrap .col:nth-of-type(3) .freedoms-image {
background-position: 0 66%;
}
.freedoms-php .about-wrap .col:nth-of-type(4) .freedoms-image {
background-position: 0 100%;
}
/*------------------------------------------------------------------------------
4.0 - Media Queries
------------------------------------------------------------------------------*/
@media screen and ( max-width: 782px ) {
@media screen and (max-width: 1250px) {
.about-wrap .floating-header-section.has-long-title .section-item:nth-child(1),
.about-wrap .floating-header-section.has-long-title .section-item:nth-child(2) {
margin: 0 0 60px;
}
.about-wrap .floating-header-section.has-long-title .section-item:nth-child(3),
.about-wrap .floating-header-section.has-long-title .section-item:nth-child(4) {
margin: 0;
}
.about-wrap .floating-header-section.has-long-title .section-item:nth-child(2),
.about-wrap .floating-header-section.has-long-title .section-item:nth-child(4) {
margin-left: 60px;
}
}
@media screen and (max-width: 782px) {
.about-wrap .two-col-text {
-webkit-column-count: 1;
-moz-column-count: 1;
column-count: 1;
}
.about-wrap .two-col .col,
.about-wrap .three-col .col {
.about-wrap .three-col .col,
.about-wrap .four-col .col {
min-width: 48% !important;
}
.about-wrap .three-col img {
.about-wrap .eight-col .col {
min-width: 24% !important;
}
.about-wrap .three-col img,
.about-wrap .four-col img,
.about-wrap .eight-col img {
display: block;
margin: 0 auto;
}
.about-wrap figcaption {
position: relative;
margin-top: 10px;
margin-bottom: 15px;
padding: 0;
background: none;
color: #40464D;
text-shadow: none;
}
.about-wrap .floating-header-section {
display: block;
}
.about-wrap .floating-header-section .section-header,
.about-wrap .floating-header-section .section-content {
max-width: 100%;
}
.about-wrap .floating-header-section h2 {
position: static;
margin-bottom: 60px;
}
}
@media only screen and (max-width: 500px) {
......@@ -484,11 +585,21 @@
width: 100%;
}
.about-wrap .feature-section .col {
margin-top: 1em;
}
.about-wrap .two-col .col,
.about-wrap .three-col .col,
.about-wrap .three-col .col {
min-width: 100% !important;
}
.about-wrap .eight-col .col {
min-width: 48% !important;
}
.about-wrap .under-the-hood.four-col .col,
.about-wrap .under-the-hood.three-col .col,
.about-wrap .under-the-hood.two-col .col,
.about-wrap .under-the-hood.one-col .col {
......@@ -501,8 +612,28 @@
margin-top: 0;
}
.about-wrap .under-the-hood:nth-of-type(2n) h3,
.about-wrap .under-the-hood:nth-of-type(3n) h3 {
margin-top: 0;
.about-wrap .under-the-hood img + h3 {
margin-top: 1.25em;
}
.about-wrap .floating-header-section {
margin-bottom: 60px;
grid-gap: 30px 0;
}
.about-wrap .inline-svg.full-width {
margin-bottom: 60px;
}
.about-wrap .floating-header-section h2 {
word-break: break-all;
-webkit-hyphens: auto;
-ms-hyphens: auto;
hyphens: auto;
}
.about-wrap .floating-header-section .section-content .section-item {
max-width: 100%;
margin: 0 0 60px;
}
}
......@@ -47,7 +47,6 @@
display: inline-block;
-webkit-font-smoothing: antialiased;
-moz-osx-font-smoothing: grayscale;
-webkit-transition: all .1s ease-in-out;
transition: all .1s ease-in-out;
}
......@@ -203,7 +202,6 @@
padding: 7px 0 8px;
z-index: 9999;
background-color: #32373c;
-webkit-box-shadow: 0 3px 5px rgba(0,0,0,0.2);
box-shadow: 0 3px 5px rgba(0,0,0,0.2);
}
......@@ -227,7 +225,6 @@
bottom: auto;
border: 0 none;
margin-top: 0;
-webkit-box-shadow: none;
box-shadow: none;
background-color: #32373c;
}
......@@ -283,9 +280,9 @@
#adminmenu .wp-submenu a {
font-size: 13px;
line-height: 1.2;
line-height: 18px;
margin: 0;
padding: 6px 0;
padding: 5px 0;
}
#adminmenu .wp-submenu li.current,
......@@ -301,13 +298,12 @@
.folded #adminmenu .wp-has-current-submenu li > a {
padding-left: 16px;
padding-right: 14px;
-webkit-transition: all .1s ease-in-out;
transition: all .1s ease-in-out;
}
#adminmenu .wp-has-current-submenu ul > li > a,
.folded #adminmenu li.menu-top .wp-submenu > li > a {
padding: 6px 12px;
padding: 5px 12px;
}
#adminmenu a.menu-top,
......@@ -358,7 +354,6 @@
#adminmenu div.wp-menu-image.svg {
background-repeat: no-repeat;
background-position: center;
-webkit-background-size: 20px auto;
background-size: 20px auto;
}
......@@ -366,7 +361,6 @@ div.wp-menu-image:before {
color: #a0a5aa;
color: rgba(240,245,250,0.6);
padding: 7px 0;
-webkit-transition: all .1s ease-in-out;
transition: all .1s ease-in-out;
}
......@@ -516,29 +510,26 @@ ul#adminmenu > li.current > a.current:after {
border: 0 none;
}
/* @todo: consider to use a single rule for these counters and the list table comments counters. */
#adminmenu .awaiting-mod,
#adminmenu .update-plugins {
display: inline-block;
background-color: #d54e21;
vertical-align: top;
margin: 1px 2px 0 0;
padding: 0 5px;
min-width: 7px;
height: 17px;
border-radius: 11px;
background-color: #ca4a1f;
color: #fff;
font-size: 9px;
line-height: 17px;
font-weight: 600;
margin: 1px 2px 0 0;
vertical-align: top;
-webkit-border-radius: 10px;
border-radius: 10px;
text-align: center;
z-index: 26;
}
#adminmenu li .awaiting-mod span,
#adminmenu li span.update-plugins span {
display: block;
padding: 0 6px;
}
#adminmenu li.current a .awaiting-mod,
#adminmenu li a.wp-has-current-submenu .update-plugins {
#adminmenu li a.wp-has-current-submenu .update-plugins {
background-color: #00b9eb;
color: #fff;
}
......@@ -606,20 +597,15 @@ ul#adminmenu > li.current > a.current:after {
/* rtl:ignore */
.folded #collapse-button .collapse-button-icon:after,
.rtl #collapse-button .collapse-button-icon:after {
-webkit-transform: rotate(180deg);
-ms-transform: rotate(180deg);
transform: rotate(180deg);
}
.rtl.folded #collapse-button .collapse-button-icon:after {
-webkit-transform: none;
-ms-transform: none;
transform: none;
}
#collapse-button .collapse-button-icon:after,
#collapse-button .collapse-button-label {
-webkit-transition: all .1s ease-in-out;
transition: all .1s ease-in-out;
}
......@@ -740,14 +726,10 @@ li#wp-admin-bar-menu-toggle {
/* rtl:ignore */
.auto-fold #collapse-button .collapse-button-icon:after {
-webkit-transform: rotate(180deg);
-ms-transform: rotate(180deg);
transform: rotate(180deg);
}
.rtl.auto-fold #collapse-button .collapse-button-icon:after {
-webkit-transform: none;
-ms-transform: none;
transform: none;
}
......@@ -828,7 +810,6 @@ li#wp-admin-bar-menu-toggle {
display: block;
top: 0;
right: -1px;
-webkit-box-shadow: none;
box-shadow: none;
}
......@@ -870,8 +851,6 @@ li#wp-admin-bar-menu-toggle {
padding-left: 10px;
z-index: 99999;
border: none;
-webkit-box-sizing: border-box;
-moz-box-sizing: border-box;
box-sizing: border-box;
}
......@@ -915,8 +894,6 @@ li#wp-admin-bar-menu-toggle {
border: none;
text-align: center;
text-decoration: none;
-webkit-box-sizing: border-box;
-moz-box-sizing: border-box;
box-sizing: border-box;
}
......
......@@ -47,7 +47,6 @@
display: inline-block;
-webkit-font-smoothing: antialiased;
-moz-osx-font-smoothing: grayscale;
-webkit-transition: all .1s ease-in-out;
transition: all .1s ease-in-out;
}
......@@ -203,7 +202,6 @@
padding: 7px 0 8px;
z-index: 9999;
background-color: #32373c;
-webkit-box-shadow: 0 3px 5px rgba(0,0,0,0.2);
box-shadow: 0 3px 5px rgba(0,0,0,0.2);
}
......@@ -227,7 +225,6 @@
bottom: auto;
border: 0 none;
margin-top: 0;
-webkit-box-shadow: none;
box-shadow: none;
background-color: #32373c;
}
......@@ -283,9 +280,9 @@
#adminmenu .wp-submenu a {
font-size: 13px;
line-height: 1.2;
line-height: 18px;
margin: 0;
padding: 6px 0;
padding: 5px 0;
}
#adminmenu .wp-submenu li.current,
......@@ -301,13 +298,12 @@
.folded #adminmenu .wp-has-current-submenu li > a {
padding-right: 16px;
padding-left: 14px;
-webkit-transition: all .1s ease-in-out;
transition: all .1s ease-in-out;
}
#adminmenu .wp-has-current-submenu ul > li > a,
.folded #adminmenu li.menu-top .wp-submenu > li > a {
padding: 6px 12px;
padding: 5px 12px;
}
#adminmenu a.menu-top,
......@@ -358,7 +354,6 @@
#adminmenu div.wp-menu-image.svg {
background-repeat: no-repeat;
background-position: center;
-webkit-background-size: 20px auto;
background-size: 20px auto;
}
......@@ -366,7 +361,6 @@ div.wp-menu-image:before {
color: #a0a5aa;
color: rgba(240,245,250,0.6);
padding: 7px 0;
-webkit-transition: all .1s ease-in-out;
transition: all .1s ease-in-out;
}
......@@ -516,29 +510,26 @@ ul#adminmenu > li.current > a.current:after {
border: 0 none;
}
/* @todo: consider to use a single rule for these counters and the list table comments counters. */
#adminmenu .awaiting-mod,
#adminmenu .update-plugins {
display: inline-block;
background-color: #d54e21;
vertical-align: top;
margin: 1px 0 0 2px;
padding: 0 5px;
min-width: 7px;
height: 17px;
border-radius: 11px;
background-color: #ca4a1f;
color: #fff;
font-size: 9px;
line-height: 17px;
font-weight: 600;
margin: 1px 0 0 2px;
vertical-align: top;
-webkit-border-radius: 10px;
border-radius: 10px;
text-align: center;
z-index: 26;
}
#adminmenu li .awaiting-mod span,
#adminmenu li span.update-plugins span {
display: block;
padding: 0 6px;
}
#adminmenu li.current a .awaiting-mod,
#adminmenu li a.wp-has-current-submenu .update-plugins {
#adminmenu li a.wp-has-current-submenu .update-plugins {
background-color: #00b9eb;
color: #fff;
}
......@@ -606,20 +597,15 @@ ul#adminmenu > li.current > a.current:after {
/* rtl:ignore */
.folded #collapse-button .collapse-button-icon:after,
.rtl #collapse-button .collapse-button-icon:after {
-webkit-transform: rotate(180deg);
-ms-transform: rotate(180deg);
transform: rotate(180deg);
}
.rtl.folded #collapse-button .collapse-button-icon:after {
-webkit-transform: none;
-ms-transform: none;
transform: none;
}
#collapse-button .collapse-button-icon:after,
#collapse-button .collapse-button-label {
-webkit-transition: all .1s ease-in-out;
transition: all .1s ease-in-out;
}
......@@ -740,14 +726,10 @@ li#wp-admin-bar-menu-toggle {
/* rtl:ignore */
.auto-fold #collapse-button .collapse-button-icon:after {
-webkit-transform: rotate(180deg);
-ms-transform: rotate(180deg);
transform: rotate(180deg);
}
.rtl.auto-fold #collapse-button .collapse-button-icon:after {
-webkit-transform: none;
-ms-transform: none;
transform: none;
}
......@@ -828,7 +810,6 @@ li#wp-admin-bar-menu-toggle {
display: block;
top: 0;
left: -1px;
-webkit-box-shadow: none;
box-shadow: none;
}
......@@ -870,8 +851,6 @@ li#wp-admin-bar-menu-toggle {
padding-right: 10px;
z-index: 99999;
border: none;
-webkit-box-sizing: border-box;
-moz-box-sizing: border-box;
box-sizing: border-box;
}
......@@ -915,8 +894,6 @@ li#wp-admin-bar-menu-toggle {
border: none;
text-align: center;
text-decoration: none;
-webkit-box-sizing: border-box;
-moz-box-sizing: border-box;
box-sizing: border-box;
}
......
.wrap [class*="CodeMirror-lint-marker"],
.wp-core-ui [class*="CodeMirror-lint-message"],
.wrap .CodeMirror-lint-marker-multiple {
background-image: none;
}
.wp-core-ui .CodeMirror-lint-marker-error,
.wp-core-ui .CodeMirror-lint-marker-warning {
cursor: help;
}
.wrap .CodeMirror-lint-marker-multiple {
position: absolute;
top: 0;
}
.wrap [class*="CodeMirror-lint-marker"]:before {
font: normal 18px/1 dashicons;
position: relative;
top: -2px;
}
.wp-core-ui [class*="CodeMirror-lint-message"]:before {
font: normal 16px/1 dashicons;
right: 16px;
position: absolute;
}
.wp-core-ui .CodeMirror-lint-message-error,
.wp-core-ui .CodeMirror-lint-message-warning {
box-shadow: 0 1px 1px 0 rgba( 0, 0, 0, 0.1 );
margin: 5px 0 2px;
padding: 3px 28px 3px 12px;
}
.wp-core-ui .CodeMirror-lint-message-warning {
background-color: #fff8e5;
border-right: 4px solid #ffb900;
}
.wrap .CodeMirror-lint-marker-warning:before,
.wp-core-ui .CodeMirror-lint-message-warning:before {
content: "\f534";
color: #f6a306;
}
.wp-core-ui .CodeMirror-lint-message-error {
background-color: #fbeaea;
border-right: 4px solid #dc3232;
}
.wrap .CodeMirror-lint-marker-error:before,
.wp-core-ui .CodeMirror-lint-message-error:before {
content: "\f153";
color: #dc3232;
}
.wp-core-ui .CodeMirror-lint-tooltip {
background: none;
border: none;
border-radius: 0;
direction: rtl;
}
.wrap .CodeMirror .CodeMirror-matchingbracket {
background: rgba(255, 150, 0, .3);
color: inherit;
}
.CodeMirror {
text-align: right;
}
.wrap .CodeMirror .CodeMirror-linenumber {
color: #666;
}
/*! This file is auto-generated */
.wp-core-ui [class*=CodeMirror-lint-message],.wrap .CodeMirror-lint-marker-multiple,.wrap [class*=CodeMirror-lint-marker]{background-image:none}.wp-core-ui .CodeMirror-lint-marker-error,.wp-core-ui .CodeMirror-lint-marker-warning{cursor:help}.wrap .CodeMirror-lint-marker-multiple{position:absolute;top:0}.wrap [class*=CodeMirror-lint-marker]:before{font:normal 18px/1 dashicons;position:relative;top:-2px}.wp-core-ui [class*=CodeMirror-lint-message]:before{font:normal 16px/1 dashicons;right:16px;position:absolute}.wp-core-ui .CodeMirror-lint-message-error,.wp-core-ui .CodeMirror-lint-message-warning{box-shadow:0 1px 1px 0 rgba(0,0,0,.1);margin:5px 0 2px;padding:3px 28px 3px 12px}.wp-core-ui .CodeMirror-lint-message-warning{background-color:#fff8e5;border-right:4px solid #ffb900}.wp-core-ui .CodeMirror-lint-message-warning:before,.wrap .CodeMirror-lint-marker-warning:before{content:"\f534";color:#f6a306}.wp-core-ui .CodeMirror-lint-message-error{background-color:#fbeaea;border-right:4px solid #dc3232}.wp-core-ui .CodeMirror-lint-message-error:before,.wrap .CodeMirror-lint-marker-error:before{content:"\f153";color:#dc3232}.wp-core-ui .CodeMirror-lint-tooltip{background:0 0;border:none;border-radius:0;direction:rtl}.wrap .CodeMirror .CodeMirror-matchingbracket{background:rgba(255,150,0,.3);color:inherit}.CodeMirror{text-align:right}.wrap .CodeMirror .CodeMirror-linenumber{color:#666}
\ No newline at end of file
.wrap [class*="CodeMirror-lint-marker"],
.wp-core-ui [class*="CodeMirror-lint-message"],
.wrap .CodeMirror-lint-marker-multiple {
background-image: none;
}
.wp-core-ui .CodeMirror-lint-marker-error,
.wp-core-ui .CodeMirror-lint-marker-warning {
cursor: help;
}
.wrap .CodeMirror-lint-marker-multiple {
position: absolute;
top: 0;
}
.wrap [class*="CodeMirror-lint-marker"]:before {
font: normal 18px/1 dashicons;
position: relative;
top: -2px;
}
.wp-core-ui [class*="CodeMirror-lint-message"]:before {
font: normal 16px/1 dashicons;
left: 16px;
position: absolute;
}
.wp-core-ui .CodeMirror-lint-message-error,
.wp-core-ui .CodeMirror-lint-message-warning {
box-shadow: 0 1px 1px 0 rgba( 0, 0, 0, 0.1 );
margin: 5px 0 2px;
padding: 3px 12px 3px 28px;
}
.wp-core-ui .CodeMirror-lint-message-warning {
background-color: #fff8e5;
border-left: 4px solid #ffb900;
}
.wrap .CodeMirror-lint-marker-warning:before,
.wp-core-ui .CodeMirror-lint-message-warning:before {
content: "\f534";
color: #f6a306;
}
.wp-core-ui .CodeMirror-lint-message-error {
background-color: #fbeaea;
border-left: 4px solid #dc3232;
}
.wrap .CodeMirror-lint-marker-error:before,
.wp-core-ui .CodeMirror-lint-message-error:before {
content: "\f153";
color: #dc3232;
}
.wp-core-ui .CodeMirror-lint-tooltip {
background: none;
border: none;
border-radius: 0;
direction: ltr;
}
.wrap .CodeMirror .CodeMirror-matchingbracket {
background: rgba(255, 150, 0, .3);
color: inherit;
}
.CodeMirror {
text-align: left;
}
.wrap .CodeMirror .CodeMirror-linenumber {
color: #666;
}
/*! This file is auto-generated */
.wp-core-ui [class*=CodeMirror-lint-message],.wrap .CodeMirror-lint-marker-multiple,.wrap [class*=CodeMirror-lint-marker]{background-image:none}.wp-core-ui .CodeMirror-lint-marker-error,.wp-core-ui .CodeMirror-lint-marker-warning{cursor:help}.wrap .CodeMirror-lint-marker-multiple{position:absolute;top:0}.wrap [class*=CodeMirror-lint-marker]:before{font:normal 18px/1 dashicons;position:relative;top:-2px}.wp-core-ui [class*=CodeMirror-lint-message]:before{font:normal 16px/1 dashicons;left:16px;position:absolute}.wp-core-ui .CodeMirror-lint-message-error,.wp-core-ui .CodeMirror-lint-message-warning{box-shadow:0 1px 1px 0 rgba(0,0,0,.1);margin:5px 0 2px;padding:3px 12px 3px 28px}.wp-core-ui .CodeMirror-lint-message-warning{background-color:#fff8e5;border-left:4px solid #ffb900}.wp-core-ui .CodeMirror-lint-message-warning:before,.wrap .CodeMirror-lint-marker-warning:before{content:"\f534";color:#f6a306}.wp-core-ui .CodeMirror-lint-message-error{background-color:#fbeaea;border-left:4px solid #dc3232}.wp-core-ui .CodeMirror-lint-message-error:before,.wrap .CodeMirror-lint-marker-error:before{content:"\f153";color:#dc3232}.wp-core-ui .CodeMirror-lint-tooltip{background:0 0;border:none;border-radius:0;direction:ltr}.wrap .CodeMirror .CodeMirror-matchingbracket{background:rgba(255,150,0,.3);color:inherit}.CodeMirror{text-align:left}.wrap .CodeMirror .CodeMirror-linenumber{color:#666}
\ No newline at end of file
......@@ -6,43 +6,23 @@
display: none;
}
.wp-color-result {
background-color: #f7f7f7;
border: 1px solid #ccc;
-webkit-border-radius: 3px;
border-radius: 3px;
cursor: pointer;
display: inline-block;
height: 22px;
/* Needs higher specificiity. */
.wp-picker-container .wp-color-result.button {
height: 24px;
margin: 0 0px 6px 6px;
position: relative;
top: 1px;
-webkit-user-select: none;
-moz-user-select: none;
-ms-user-select: none;
user-select: none;
vertical-align: bottom;
display: inline-block;
padding-right: 30px;
-webkit-box-shadow: 0 1px 0 #ccc;
box-shadow: 0 1px 0 #ccc;
padding: 0 30px 0 0;
font-size: 11px;
}
.wp-color-result:after {
.wp-color-result-text {
background: #f7f7f7;
-webkit-border-radius: 2px 0 0 2px;
border-radius: 2px 0 0 2px;
border-right: 1px solid #ccc;
color: #555;
content: attr( title );
display: block;
font-size: 11px;
line-height: 22px;
padding: 0 6px;
position: relative;
left: 0;
text-align: center;
top: 0;
}
.wp-color-result:hover,
......@@ -59,32 +39,38 @@
border-right: 1px solid #999;
}
.wp-color-result {
top: 0;
}
.wp-color-result.wp-picker-open:after {
content: attr( data-current );
}
.wp-picker-container, .wp-picker-container:active {
.wp-picker-containers {
display: inline-block;
outline: 0;
}
.wp-color-result:focus {
border-color: #5b9dd9;
-webkit-box-shadow: 0 0 3px rgba( 0, 115, 170, .8 );
box-shadow: 0 0 3px rgba( 0, 115, 170, .8 );
}
.wp-color-result:active {
/* See Trac ticket #39662 */
transform: none !important;
}
.wp-picker-open + .wp-picker-input-wrap {
display: inline-block;
vertical-align: top;
}
.wp-picker-container .button {
margin-right: 6px;
.wp-picker-input-wrap label {
display: inline-block;
vertical-align: top;
}
/* For the old `custom-background` page, to override the inline-block and margins from `.form-table td fieldset label`. */
.form-table .wp-picker-input-wrap label {
margin: 0 !important;
}
.wp-picker-input-wrap .button,
.wp-customizer .wp-picker-input-wrap .button {
margin-right: 6px;
}
.wp-picker-container .iris-square-slider .ui-slider-handle:focus {
......@@ -92,7 +78,6 @@
}
.wp-picker-container .iris-picker {
-webkit-border-radius: 0;
border-radius: 0;
border-color: #ddd;
margin-top: 6px;
......@@ -104,6 +89,7 @@
font-family: monospace;
line-height: 16px;
margin: 0;
vertical-align: top;
}
.wp-color-picker::-webkit-input-placeholder {
......@@ -127,17 +113,60 @@
.iris-picker .ui-square-handle:focus,
.iris-picker .iris-strip .ui-slider-handle:focus {
-webkit-box-shadow:
box-shadow:
0 0 0 1px #5b9dd9,
0 0 2px 1px rgba(30, 140, 190, .8);
}
.iris-picker .iris-palette:focus {
box-shadow:
inset 0 0 5px rgba(0,0,0,.4),
0 0 0 1px #5b9dd9,
0 0 2px 1px rgba(30, 140, 190, .8);
}
@media screen and ( max-width: 782px ) {
.wp-picker-container input[type="text"].wp-color-picker {
margin-left: 6px;
padding: 3px 5px;
width: 80px;
padding: 6px 5px 5px;
font-size: 16px;
line-height: 18px;
}
.wp-customizer .wp-picker-container input[type="text"].wp-color-picker {
padding: 5px 5px 4px;
}
.wp-picker-container .wp-color-result.button {
height: auto;
padding: 0 40px 0 0;
font-size: 14px;
line-height: 29px;
}
.wp-customizer .wp-picker-container .wp-color-result.button {
font-size: 13px;
line-height: 26px;
}
.wp-picker-container .wp-color-result-text {
padding: 0 14px;
font-size: inherit;
line-height: inherit;
}
.wp-customizer .wp-picker-container .wp-color-result-text {
padding: 0 10px;
}
}
@media screen and ( max-width: 640px ) {
.wp-customizer .wp-picker-container .wp-color-result.button {
font-size: 14px;
line-height: 29px;
}
.wp-customizer .wp-picker-container input[type="text"].wp-color-picker {
padding: 6px 5px;
}
}
.wp-color-picker{width:80px}.wp-picker-container .hidden{display:none}.wp-color-result{background-color:#f7f7f7;border:1px solid #ccc;-webkit-border-radius:3px;border-radius:3px;cursor:pointer;height:22px;margin:0 0 6px 6px;position:relative;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;vertical-align:bottom;display:inline-block;padding-right:30px;-webkit-box-shadow:0 1px 0 #ccc;box-shadow:0 1px 0 #ccc;top:0}.wp-color-result:after{background:#f7f7f7;-webkit-border-radius:2px 0 0 2px;border-radius:2px 0 0 2px;border-right:1px solid #ccc;color:#555;content:attr(title);display:block;font-size:11px;line-height:22px;padding:0 6px;position:relative;left:0;text-align:center;top:0}.wp-color-result:focus,.wp-color-result:hover{background:#fafafa;border-color:#999;color:#23282d}.wp-color-result:focus:after,.wp-color-result:hover:after{color:#23282d;border-color:#a0a5aa;border-right:1px solid #999}.wp-color-result.wp-picker-open:after{content:attr(data-current)}.wp-picker-container,.wp-picker-container:active{display:inline-block;outline:0}.wp-color-result:focus{border-color:#5b9dd9;-webkit-box-shadow:0 0 3px rgba(0,115,170,.8);box-shadow:0 0 3px rgba(0,115,170,.8)}.wp-picker-open+.wp-picker-input-wrap{display:inline-block;vertical-align:top}.wp-picker-container .button{margin-right:6px}.wp-picker-container .iris-square-slider .ui-slider-handle:focus{background-color:#555}.wp-picker-container .iris-picker{-webkit-border-radius:0;border-radius:0;border-color:#ddd;margin-top:6px}.wp-picker-container input[type=text].wp-color-picker{width:65px;font-size:12px;font-family:monospace;line-height:16px;margin:0}.wp-color-picker::-webkit-input-placeholder{color:#72777c}.wp-color-picker::-moz-placeholder{color:#72777c;opacity:1}.wp-color-picker:-ms-input-placeholder{color:#72777c}.wp-picker-container input[type=text].iris-error{background-color:#ffebe8;border-color:#c00;color:#000}.iris-picker .iris-strip .ui-slider-handle:focus,.iris-picker .ui-square-handle:focus{-webkit-box-shadow:0 0 0 1px #5b9dd9,0 0 2px 1px rgba(30,140,190,.8);box-shadow:0 0 0 1px #5b9dd9,0 0 2px 1px rgba(30,140,190,.8)}@media screen and (max-width:782px){.wp-picker-container input[type=text].wp-color-picker{margin-left:6px;padding:3px 5px}}
\ No newline at end of file
/*! This file is auto-generated */
.wp-color-picker{width:80px}.wp-picker-container .hidden{display:none}.wp-picker-container .wp-color-result.button{height:24px;margin:0 0 6px 6px;padding:0 30px 0 0;font-size:11px}.wp-color-result-text{background:#f7f7f7;border-radius:2px 0 0 2px;border-right:1px solid #ccc;color:#555;display:block;line-height:22px;padding:0 6px;text-align:center}.wp-color-result:focus,.wp-color-result:hover{background:#fafafa;border-color:#999;color:#23282d}.wp-color-result:focus:after,.wp-color-result:hover:after{color:#23282d;border-color:#a0a5aa;border-right:1px solid #999}.wp-picker-containers{display:inline-block}.wp-color-result:focus{border-color:#5b9dd9;box-shadow:0 0 3px rgba(0,115,170,.8)}.wp-color-result:active{transform:none!important}.wp-picker-open+.wp-picker-input-wrap{display:inline-block;vertical-align:top}.wp-picker-input-wrap label{display:inline-block;vertical-align:top}.form-table .wp-picker-input-wrap label{margin:0!important}.wp-customizer .wp-picker-input-wrap .button,.wp-picker-input-wrap .button{margin-right:6px}.wp-picker-container .iris-square-slider .ui-slider-handle:focus{background-color:#555}.wp-picker-container .iris-picker{border-radius:0;border-color:#ddd;margin-top:6px}.wp-picker-container input[type=text].wp-color-picker{width:65px;font-size:12px;font-family:monospace;line-height:16px;margin:0;vertical-align:top}.wp-color-picker::-webkit-input-placeholder{color:#72777c}.wp-color-picker::-moz-placeholder{color:#72777c;opacity:1}.wp-color-picker:-ms-input-placeholder{color:#72777c}.wp-picker-container input[type=text].iris-error{background-color:#ffebe8;border-color:#c00;color:#000}.iris-picker .iris-strip .ui-slider-handle:focus,.iris-picker .ui-square-handle:focus{box-shadow:0 0 0 1px #5b9dd9,0 0 2px 1px rgba(30,140,190,.8)}.iris-picker .iris-palette:focus{box-shadow:inset 0 0 5px rgba(0,0,0,.4),0 0 0 1px #5b9dd9,0 0 2px 1px rgba(30,140,190,.8)}@media screen and (max-width:782px){.wp-picker-container input[type=text].wp-color-picker{width:80px;padding:6px 5px 5px;font-size:16px;line-height:18px}.wp-customizer .wp-picker-container input[type=text].wp-color-picker{padding:5px 5px 4px}.wp-picker-container .wp-color-result.button{height:auto;padding:0 40px 0 0;font-size:14px;line-height:29px}.wp-customizer .wp-picker-container .wp-color-result.button{font-size:13px;line-height:26px}.wp-picker-container .wp-color-result-text{padding:0 14px;font-size:inherit;line-height:inherit}.wp-customizer .wp-picker-container .wp-color-result-text{padding:0 10px}}@media screen and (max-width:640px){.wp-customizer .wp-picker-container .wp-color-result.button{font-size:14px;line-height:29px}.wp-customizer .wp-picker-container input[type=text].wp-color-picker{padding:6px 5px}}
\ No newline at end of file
......@@ -6,43 +6,23 @@
display: none;
}
.wp-color-result {
background-color: #f7f7f7;
border: 1px solid #ccc;
-webkit-border-radius: 3px;
border-radius: 3px;
cursor: pointer;
display: inline-block;
height: 22px;
/* Needs higher specificiity. */
.wp-picker-container .wp-color-result.button {
height: 24px;
margin: 0 6px 6px 0px;
position: relative;
top: 1px;
-webkit-user-select: none;
-moz-user-select: none;
-ms-user-select: none;
user-select: none;
vertical-align: bottom;
display: inline-block;
padding-left: 30px;
-webkit-box-shadow: 0 1px 0 #ccc;
box-shadow: 0 1px 0 #ccc;
padding: 0 0 0 30px;
font-size: 11px;
}
.wp-color-result:after {
.wp-color-result-text {
background: #f7f7f7;
-webkit-border-radius: 0 2px 2px 0;
border-radius: 0 2px 2px 0;
border-left: 1px solid #ccc;
color: #555;
content: attr( title );
display: block;
font-size: 11px;
line-height: 22px;
padding: 0 6px;
position: relative;
right: 0;
text-align: center;
top: 0;
}
.wp-color-result:hover,
......@@ -59,32 +39,38 @@
border-left: 1px solid #999;
}
.wp-color-result {
top: 0;
}
.wp-color-result.wp-picker-open:after {
content: attr( data-current );
}
.wp-picker-container, .wp-picker-container:active {
.wp-picker-containers {
display: inline-block;
outline: 0;
}
.wp-color-result:focus {
border-color: #5b9dd9;
-webkit-box-shadow: 0 0 3px rgba( 0, 115, 170, .8 );
box-shadow: 0 0 3px rgba( 0, 115, 170, .8 );
}
.wp-color-result:active {
/* See Trac ticket #39662 */
transform: none !important;
}
.wp-picker-open + .wp-picker-input-wrap {
display: inline-block;
vertical-align: top;
}
.wp-picker-container .button {
margin-left: 6px;
.wp-picker-input-wrap label {
display: inline-block;
vertical-align: top;
}
/* For the old `custom-background` page, to override the inline-block and margins from `.form-table td fieldset label`. */
.form-table .wp-picker-input-wrap label {
margin: 0 !important;
}
.wp-picker-input-wrap .button,
.wp-customizer .wp-picker-input-wrap .button {
margin-left: 6px;
}
.wp-picker-container .iris-square-slider .ui-slider-handle:focus {
......@@ -92,7 +78,6 @@
}
.wp-picker-container .iris-picker {
-webkit-border-radius: 0;
border-radius: 0;
border-color: #ddd;
margin-top: 6px;
......@@ -104,6 +89,7 @@
font-family: monospace;
line-height: 16px;
margin: 0;
vertical-align: top;
}
.wp-color-picker::-webkit-input-placeholder {
......@@ -127,17 +113,60 @@
.iris-picker .ui-square-handle:focus,
.iris-picker .iris-strip .ui-slider-handle:focus {
-webkit-box-shadow:
box-shadow:
0 0 0 1px #5b9dd9,
0 0 2px 1px rgba(30, 140, 190, .8);
}
.iris-picker .iris-palette:focus {
box-shadow:
inset 0 0 5px rgba(0,0,0,.4),
0 0 0 1px #5b9dd9,
0 0 2px 1px rgba(30, 140, 190, .8);
}
@media screen and ( max-width: 782px ) {
.wp-picker-container input[type="text"].wp-color-picker {
margin-right: 6px;
padding: 3px 5px;
width: 80px;
padding: 6px 5px 5px;
font-size: 16px;
line-height: 18px;
}
.wp-customizer .wp-picker-container input[type="text"].wp-color-picker {
padding: 5px 5px 4px;
}
.wp-picker-container .wp-color-result.button {
height: auto;
padding: 0 0 0 40px;
font-size: 14px;
line-height: 29px;
}
.wp-customizer .wp-picker-container .wp-color-result.button {
font-size: 13px;
line-height: 26px;
}
.wp-picker-container .wp-color-result-text {
padding: 0 14px;
font-size: inherit;
line-height: inherit;
}
.wp-customizer .wp-picker-container .wp-color-result-text {
padding: 0 10px;
}
}
@media screen and ( max-width: 640px ) {
.wp-customizer .wp-picker-container .wp-color-result.button {
font-size: 14px;
line-height: 29px;
}
.wp-customizer .wp-picker-container input[type="text"].wp-color-picker {
padding: 6px 5px;
}
}
.wp-color-picker{width:80px}.wp-picker-container .hidden{display:none}.wp-color-result{background-color:#f7f7f7;border:1px solid #ccc;-webkit-border-radius:3px;border-radius:3px;cursor:pointer;height:22px;margin:0 6px 6px 0;position:relative;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;vertical-align:bottom;display:inline-block;padding-left:30px;-webkit-box-shadow:0 1px 0 #ccc;box-shadow:0 1px 0 #ccc;top:0}.wp-color-result:after{background:#f7f7f7;-webkit-border-radius:0 2px 2px 0;border-radius:0 2px 2px 0;border-left:1px solid #ccc;color:#555;content:attr(title);display:block;font-size:11px;line-height:22px;padding:0 6px;position:relative;right:0;text-align:center;top:0}.wp-color-result:focus,.wp-color-result:hover{background:#fafafa;border-color:#999;color:#23282d}.wp-color-result:focus:after,.wp-color-result:hover:after{color:#23282d;border-color:#a0a5aa;border-left:1px solid #999}.wp-color-result.wp-picker-open:after{content:attr(data-current)}.wp-picker-container,.wp-picker-container:active{display:inline-block;outline:0}.wp-color-result:focus{border-color:#5b9dd9;-webkit-box-shadow:0 0 3px rgba(0,115,170,.8);box-shadow:0 0 3px rgba(0,115,170,.8)}.wp-picker-open+.wp-picker-input-wrap{display:inline-block;vertical-align:top}.wp-picker-container .button{margin-left:6px}.wp-picker-container .iris-square-slider .ui-slider-handle:focus{background-color:#555}.wp-picker-container .iris-picker{-webkit-border-radius:0;border-radius:0;border-color:#ddd;margin-top:6px}.wp-picker-container input[type=text].wp-color-picker{width:65px;font-size:12px;font-family:monospace;line-height:16px;margin:0}.wp-color-picker::-webkit-input-placeholder{color:#72777c}.wp-color-picker::-moz-placeholder{color:#72777c;opacity:1}.wp-color-picker:-ms-input-placeholder{color:#72777c}.wp-picker-container input[type=text].iris-error{background-color:#ffebe8;border-color:#c00;color:#000}.iris-picker .iris-strip .ui-slider-handle:focus,.iris-picker .ui-square-handle:focus{-webkit-box-shadow:0 0 0 1px #5b9dd9,0 0 2px 1px rgba(30,140,190,.8);box-shadow:0 0 0 1px #5b9dd9,0 0 2px 1px rgba(30,140,190,.8)}@media screen and (max-width:782px){.wp-picker-container input[type=text].wp-color-picker{margin-right:6px;padding:3px 5px}}
\ No newline at end of file
/*! This file is auto-generated */
.wp-color-picker{width:80px}.wp-picker-container .hidden{display:none}.wp-picker-container .wp-color-result.button{height:24px;margin:0 6px 6px 0;padding:0 0 0 30px;font-size:11px}.wp-color-result-text{background:#f7f7f7;border-radius:0 2px 2px 0;border-left:1px solid #ccc;color:#555;display:block;line-height:22px;padding:0 6px;text-align:center}.wp-color-result:focus,.wp-color-result:hover{background:#fafafa;border-color:#999;color:#23282d}.wp-color-result:focus:after,.wp-color-result:hover:after{color:#23282d;border-color:#a0a5aa;border-left:1px solid #999}.wp-picker-containers{display:inline-block}.wp-color-result:focus{border-color:#5b9dd9;box-shadow:0 0 3px rgba(0,115,170,.8)}.wp-color-result:active{transform:none!important}.wp-picker-open+.wp-picker-input-wrap{display:inline-block;vertical-align:top}.wp-picker-input-wrap label{display:inline-block;vertical-align:top}.form-table .wp-picker-input-wrap label{margin:0!important}.wp-customizer .wp-picker-input-wrap .button,.wp-picker-input-wrap .button{margin-left:6px}.wp-picker-container .iris-square-slider .ui-slider-handle:focus{background-color:#555}.wp-picker-container .iris-picker{border-radius:0;border-color:#ddd;margin-top:6px}.wp-picker-container input[type=text].wp-color-picker{width:65px;font-size:12px;font-family:monospace;line-height:16px;margin:0;vertical-align:top}.wp-color-picker::-webkit-input-placeholder{color:#72777c}.wp-color-picker::-moz-placeholder{color:#72777c;opacity:1}.wp-color-picker:-ms-input-placeholder{color:#72777c}.wp-picker-container input[type=text].iris-error{background-color:#ffebe8;border-color:#c00;color:#000}.iris-picker .iris-strip .ui-slider-handle:focus,.iris-picker .ui-square-handle:focus{box-shadow:0 0 0 1px #5b9dd9,0 0 2px 1px rgba(30,140,190,.8)}.iris-picker .iris-palette:focus{box-shadow:inset 0 0 5px rgba(0,0,0,.4),0 0 0 1px #5b9dd9,0 0 2px 1px rgba(30,140,190,.8)}@media screen and (max-width:782px){.wp-picker-container input[type=text].wp-color-picker{width:80px;padding:6px 5px 5px;font-size:16px;line-height:18px}.wp-customizer .wp-picker-container input[type=text].wp-color-picker{padding:5px 5px 4px}.wp-picker-container .wp-color-result.button{height:auto;padding:0 0 0 40px;font-size:14px;line-height:29px}.wp-customizer .wp-picker-container .wp-color-result.button{font-size:13px;line-height:26px}.wp-picker-container .wp-color-result-text{padding:0 14px;font-size:inherit;line-height:inherit}.wp-customizer .wp-picker-container .wp-color-result-text{padding:0 10px}}@media screen and (max-width:640px){.wp-customizer .wp-picker-container .wp-color-result.button{font-size:14px;line-height:29px}.wp-customizer .wp-picker-container input[type=text].wp-color-picker{padding:6px 5px}}
\ No newline at end of file
......@@ -25,7 +25,10 @@
0 0 2px 1px #33b3db;
}
&:active {
&:active,
&.active,
&.active:focus,
&.active:hover {
background: darken( $button-color, 10% );
border-color: darken( $button-color, 15% );
box-shadow: inset 0 2px 0 darken( $button-color, 15% );
......
/*! This file is auto-generated */
/*
* Button mixin- creates 3d-ish button effect with correct
* highlights/shadows, based on a base color.
......@@ -41,7 +42,6 @@ input[type=radio]:checked:before {
background: #e1a948;
border-color: #d39323 #bd831f #bd831f;
color: #fff;
-webkit-box-shadow: 0 1px 0 #bd831f;
box-shadow: 0 1px 0 #bd831f;
text-shadow: 0 -1px 1px #bd831f, -1px 0 1px #bd831f, 0 1px 1px #bd831f, 1px 0 1px #bd831f;
}
......@@ -50,19 +50,16 @@ input[type=radio]:checked:before {
background: #e3af55;
border-color: #bd831f;
color: #fff;
-webkit-box-shadow: 0 1px 0 #bd831f;
box-shadow: 0 1px 0 #bd831f;
}
.wp-core-ui .button-primary:focus {
-webkit-box-shadow: inset 0 1px 0 #d39323, 0 0 2px 1px #33b3db;
box-shadow: inset 0 1px 0 #d39323, 0 0 2px 1px #33b3db;
}
.wp-core-ui .button-primary:active {
.wp-core-ui .button-primary:active, .wp-core-ui .button-primary.active, .wp-core-ui .button-primary.active:focus, .wp-core-ui .button-primary.active:hover {
background: #d39323;
border-color: #bd831f;
-webkit-box-shadow: inset 0 2px 0 #bd831f;
box-shadow: inset 0 2px 0 #bd831f;
}
......@@ -74,12 +71,10 @@ input[type=radio]:checked:before {
}
.wp-core-ui .button-primary.button-hero {
-webkit-box-shadow: 0 2px 0 #bd831f !important;
box-shadow: 0 2px 0 #bd831f !important;
}
.wp-core-ui .button-primary.button-hero:active {
-webkit-box-shadow: inset 0 3px 0 #bd831f !important;
box-shadow: inset 0 3px 0 #bd831f !important;
}
......@@ -419,18 +414,15 @@ ul#adminmenu > li.current > a.current:after {
}
.details.attachment {
-webkit-box-shadow: inset 0 0 0 3px #fff, inset 0 0 0 7px #096484;
box-shadow: inset 0 0 0 3px #fff, inset 0 0 0 7px #096484;
}
.attachment.details .check {
background-color: #096484;
-webkit-box-shadow: 0 0 0 1px #fff, 0 0 0 2px #096484;
box-shadow: 0 0 0 1px #fff, 0 0 0 2px #096484;
}
.media-selection .attachment.selection.details .thumbnail {
-webkit-box-shadow: 0 0 0 1px #fff, 0 0 0 3px #096484;
box-shadow: 0 0 0 1px #fff, 0 0 0 3px #096484;
}
......
/*! This file is auto-generated */
/*
* Button mixin- creates 3d-ish button effect with correct
* highlights/shadows, based on a base color.
......@@ -41,7 +42,6 @@ input[type=radio]:checked:before {
background: #e1a948;
border-color: #d39323 #bd831f #bd831f;
color: #fff;
-webkit-box-shadow: 0 1px 0 #bd831f;
box-shadow: 0 1px 0 #bd831f;
text-shadow: 0 -1px 1px #bd831f, 1px 0 1px #bd831f, 0 1px 1px #bd831f, -1px 0 1px #bd831f;
}
......@@ -50,19 +50,16 @@ input[type=radio]:checked:before {
background: #e3af55;
border-color: #bd831f;
color: #fff;
-webkit-box-shadow: 0 1px 0 #bd831f;
box-shadow: 0 1px 0 #bd831f;
}
.wp-core-ui .button-primary:focus {
-webkit-box-shadow: inset 0 1px 0 #d39323, 0 0 2px 1px #33b3db;
box-shadow: inset 0 1px 0 #d39323, 0 0 2px 1px #33b3db;
}
.wp-core-ui .button-primary:active {
.wp-core-ui .button-primary:active, .wp-core-ui .button-primary.active, .wp-core-ui .button-primary.active:focus, .wp-core-ui .button-primary.active:hover {
background: #d39323;
border-color: #bd831f;
-webkit-box-shadow: inset 0 2px 0 #bd831f;
box-shadow: inset 0 2px 0 #bd831f;
}
......@@ -74,12 +71,10 @@ input[type=radio]:checked:before {
}
.wp-core-ui .button-primary.button-hero {
-webkit-box-shadow: 0 2px 0 #bd831f !important;
box-shadow: 0 2px 0 #bd831f !important;
}
.wp-core-ui .button-primary.button-hero:active {
-webkit-box-shadow: inset 0 3px 0 #bd831f !important;
box-shadow: inset 0 3px 0 #bd831f !important;
}
......@@ -419,18 +414,15 @@ ul#adminmenu > li.current > a.current:after {
}
.details.attachment {
-webkit-box-shadow: inset 0 0 0 3px #fff, inset 0 0 0 7px #096484;
box-shadow: inset 0 0 0 3px #fff, inset 0 0 0 7px #096484;
}
.attachment.details .check {
background-color: #096484;
-webkit-box-shadow: 0 0 0 1px #fff, 0 0 0 2px #096484;
box-shadow: 0 0 0 1px #fff, 0 0 0 2px #096484;
}
.media-selection .attachment.selection.details .thumbnail {
-webkit-box-shadow: 0 0 0 1px #fff, 0 0 0 3px #096484;
box-shadow: 0 0 0 1px #fff, 0 0 0 3px #096484;
}
......
/*! This file is auto-generated */
/*
* Button mixin- creates 3d-ish button effect with correct
* highlights/shadows, based on a base color.
......@@ -41,7 +42,6 @@ input[type=radio]:checked:before {
background: #c7a589;
border-color: #b78b66 #ae7d55 #ae7d55;
color: #fff;
-webkit-box-shadow: 0 1px 0 #ae7d55;
box-shadow: 0 1px 0 #ae7d55;
text-shadow: 0 -1px 1px #ae7d55, -1px 0 1px #ae7d55, 0 1px 1px #ae7d55, 1px 0 1px #ae7d55;
}
......@@ -50,19 +50,16 @@ input[type=radio]:checked:before {
background: #ccad93;
border-color: #ae7d55;
color: #fff;
-webkit-box-shadow: 0 1px 0 #ae7d55;
box-shadow: 0 1px 0 #ae7d55;
}
.wp-core-ui .button-primary:focus {
-webkit-box-shadow: inset 0 1px 0 #b78b66, 0 0 2px 1px #33b3db;
box-shadow: inset 0 1px 0 #b78b66, 0 0 2px 1px #33b3db;
}
.wp-core-ui .button-primary:active {
.wp-core-ui .button-primary:active, .wp-core-ui .button-primary.active, .wp-core-ui .button-primary.active:focus, .wp-core-ui .button-primary.active:hover {
background: #b78b66;
border-color: #ae7d55;
-webkit-box-shadow: inset 0 2px 0 #ae7d55;
box-shadow: inset 0 2px 0 #ae7d55;
}
......@@ -74,12 +71,10 @@ input[type=radio]:checked:before {
}
.wp-core-ui .button-primary.button-hero {
-webkit-box-shadow: 0 2px 0 #ae7d55 !important;
box-shadow: 0 2px 0 #ae7d55 !important;
}
.wp-core-ui .button-primary.button-hero:active {
-webkit-box-shadow: inset 0 3px 0 #ae7d55 !important;
box-shadow: inset 0 3px 0 #ae7d55 !important;
}
......@@ -419,18 +414,15 @@ ul#adminmenu > li.current > a.current:after {
}
.details.attachment {
-webkit-box-shadow: inset 0 0 0 3px #fff, inset 0 0 0 7px #c7a589;
box-shadow: inset 0 0 0 3px #fff, inset 0 0 0 7px #c7a589;
}
.attachment.details .check {
background-color: #c7a589;
-webkit-box-shadow: 0 0 0 1px #fff, 0 0 0 2px #c7a589;
box-shadow: 0 0 0 1px #fff, 0 0 0 2px #c7a589;
}
.media-selection .attachment.selection.details .thumbnail {
-webkit-box-shadow: 0 0 0 1px #fff, 0 0 0 3px #c7a589;
box-shadow: 0 0 0 1px #fff, 0 0 0 3px #c7a589;
}
......
/*! This file is auto-generated */
/*
* Button mixin- creates 3d-ish button effect with correct
* highlights/shadows, based on a base color.
......@@ -41,7 +42,6 @@ input[type=radio]:checked:before {
background: #c7a589;
border-color: #b78b66 #ae7d55 #ae7d55;
color: #fff;
-webkit-box-shadow: 0 1px 0 #ae7d55;
box-shadow: 0 1px 0 #ae7d55;
text-shadow: 0 -1px 1px #ae7d55, 1px 0 1px #ae7d55, 0 1px 1px #ae7d55, -1px 0 1px #ae7d55;
}
......@@ -50,19 +50,16 @@ input[type=radio]:checked:before {
background: #ccad93;
border-color: #ae7d55;
color: #fff;
-webkit-box-shadow: 0 1px 0 #ae7d55;
box-shadow: 0 1px 0 #ae7d55;
}
.wp-core-ui .button-primary:focus {
-webkit-box-shadow: inset 0 1px 0 #b78b66, 0 0 2px 1px #33b3db;
box-shadow: inset 0 1px 0 #b78b66, 0 0 2px 1px #33b3db;
}
.wp-core-ui .button-primary:active {
.wp-core-ui .button-primary:active, .wp-core-ui .button-primary.active, .wp-core-ui .button-primary.active:focus, .wp-core-ui .button-primary.active:hover {
background: #b78b66;
border-color: #ae7d55;
-webkit-box-shadow: inset 0 2px 0 #ae7d55;
box-shadow: inset 0 2px 0 #ae7d55;
}
......@@ -74,12 +71,10 @@ input[type=radio]:checked:before {
}
.wp-core-ui .button-primary.button-hero {
-webkit-box-shadow: 0 2px 0 #ae7d55 !important;
box-shadow: 0 2px 0 #ae7d55 !important;
}
.wp-core-ui .button-primary.button-hero:active {
-webkit-box-shadow: inset 0 3px 0 #ae7d55 !important;
box-shadow: inset 0 3px 0 #ae7d55 !important;
}
......@@ -419,18 +414,15 @@ ul#adminmenu > li.current > a.current:after {
}
.details.attachment {
-webkit-box-shadow: inset 0 0 0 3px #fff, inset 0 0 0 7px #c7a589;
box-shadow: inset 0 0 0 3px #fff, inset 0 0 0 7px #c7a589;
}
.attachment.details .check {
background-color: #c7a589;
-webkit-box-shadow: 0 0 0 1px #fff, 0 0 0 2px #c7a589;
box-shadow: 0 0 0 1px #fff, 0 0 0 2px #c7a589;
}
.media-selection .attachment.selection.details .thumbnail {
-webkit-box-shadow: 0 0 0 1px #fff, 0 0 0 3px #c7a589;
box-shadow: 0 0 0 1px #fff, 0 0 0 3px #c7a589;
}
......
/*! This file is auto-generated */
/*
* Button mixin- creates 3d-ish button effect with correct
* highlights/shadows, based on a base color.
......@@ -41,7 +42,6 @@ input[type=radio]:checked:before {
background: #a3b745;
border-color: #829237 #727f30 #727f30;
color: #fff;
-webkit-box-shadow: 0 1px 0 #727f30;
box-shadow: 0 1px 0 #727f30;
text-shadow: 0 -1px 1px #727f30, -1px 0 1px #727f30, 0 1px 1px #727f30, 1px 0 1px #727f30;
}
......@@ -50,19 +50,16 @@ input[type=radio]:checked:before {
background: #a9bd4f;
border-color: #727f30;
color: #fff;
-webkit-box-shadow: 0 1px 0 #727f30;
box-shadow: 0 1px 0 #727f30;
}
.wp-core-ui .button-primary:focus {
-webkit-box-shadow: inset 0 1px 0 #829237, 0 0 2px 1px #33b3db;
box-shadow: inset 0 1px 0 #829237, 0 0 2px 1px #33b3db;
}
.wp-core-ui .button-primary:active {
.wp-core-ui .button-primary:active, .wp-core-ui .button-primary.active, .wp-core-ui .button-primary.active:focus, .wp-core-ui .button-primary.active:hover {
background: #829237;
border-color: #727f30;
-webkit-box-shadow: inset 0 2px 0 #727f30;
box-shadow: inset 0 2px 0 #727f30;
}
......@@ -74,12 +71,10 @@ input[type=radio]:checked:before {
}
.wp-core-ui .button-primary.button-hero {
-webkit-box-shadow: 0 2px 0 #727f30 !important;
box-shadow: 0 2px 0 #727f30 !important;
}
.wp-core-ui .button-primary.button-hero:active {
-webkit-box-shadow: inset 0 3px 0 #727f30 !important;
box-shadow: inset 0 3px 0 #727f30 !important;
}
......@@ -419,18 +414,15 @@ ul#adminmenu > li.current > a.current:after {
}
.details.attachment {
-webkit-box-shadow: inset 0 0 0 3px #fff, inset 0 0 0 7px #a3b745;
box-shadow: inset 0 0 0 3px #fff, inset 0 0 0 7px #a3b745;
}
.attachment.details .check {
background-color: #a3b745;
-webkit-box-shadow: 0 0 0 1px #fff, 0 0 0 2px #a3b745;
box-shadow: 0 0 0 1px #fff, 0 0 0 2px #a3b745;
}
.media-selection .attachment.selection.details .thumbnail {
-webkit-box-shadow: 0 0 0 1px #fff, 0 0 0 3px #a3b745;
box-shadow: 0 0 0 1px #fff, 0 0 0 3px #a3b745;
}
......
/*! This file is auto-generated */
/*
* Button mixin- creates 3d-ish button effect with correct
* highlights/shadows, based on a base color.
......@@ -41,7 +42,6 @@ input[type=radio]:checked:before {
background: #a3b745;
border-color: #829237 #727f30 #727f30;
color: #fff;
-webkit-box-shadow: 0 1px 0 #727f30;
box-shadow: 0 1px 0 #727f30;
text-shadow: 0 -1px 1px #727f30, 1px 0 1px #727f30, 0 1px 1px #727f30, -1px 0 1px #727f30;
}
......@@ -50,19 +50,16 @@ input[type=radio]:checked:before {
background: #a9bd4f;
border-color: #727f30;
color: #fff;
-webkit-box-shadow: 0 1px 0 #727f30;
box-shadow: 0 1px 0 #727f30;
}
.wp-core-ui .button-primary:focus {
-webkit-box-shadow: inset 0 1px 0 #829237, 0 0 2px 1px #33b3db;
box-shadow: inset 0 1px 0 #829237, 0 0 2px 1px #33b3db;
}
.wp-core-ui .button-primary:active {
.wp-core-ui .button-primary:active, .wp-core-ui .button-primary.active, .wp-core-ui .button-primary.active:focus, .wp-core-ui .button-primary.active:hover {
background: #829237;
border-color: #727f30;
-webkit-box-shadow: inset 0 2px 0 #727f30;
box-shadow: inset 0 2px 0 #727f30;
}
......@@ -74,12 +71,10 @@ input[type=radio]:checked:before {
}
.wp-core-ui .button-primary.button-hero {
-webkit-box-shadow: 0 2px 0 #727f30 !important;
box-shadow: 0 2px 0 #727f30 !important;
}
.wp-core-ui .button-primary.button-hero:active {
-webkit-box-shadow: inset 0 3px 0 #727f30 !important;
box-shadow: inset 0 3px 0 #727f30 !important;
}
......@@ -419,18 +414,15 @@ ul#adminmenu > li.current > a.current:after {
}
.details.attachment {
-webkit-box-shadow: inset 0 0 0 3px #fff, inset 0 0 0 7px #a3b745;
box-shadow: inset 0 0 0 3px #fff, inset 0 0 0 7px #a3b745;
}
.attachment.details .check {
background-color: #a3b745;
-webkit-box-shadow: 0 0 0 1px #fff, 0 0 0 2px #a3b745;
box-shadow: 0 0 0 1px #fff, 0 0 0 2px #a3b745;
}
.media-selection .attachment.selection.details .thumbnail {
-webkit-box-shadow: 0 0 0 1px #fff, 0 0 0 3px #a3b745;
box-shadow: 0 0 0 1px #fff, 0 0 0 3px #a3b745;
}
......
/*! This file is auto-generated */
/*
* Button mixin- creates 3d-ish button effect with correct
* highlights/shadows, based on a base color.
......@@ -41,7 +42,6 @@ input[type=radio]:checked:before {
background: #04a4cc;
border-color: #037c9a #036881 #036881;
color: #fff;
-webkit-box-shadow: 0 1px 0 #036881;
box-shadow: 0 1px 0 #036881;
text-shadow: 0 -1px 1px #036881, -1px 0 1px #036881, 0 1px 1px #036881, 1px 0 1px #036881;
}
......@@ -50,19 +50,16 @@ input[type=radio]:checked:before {
background: #04b0db;
border-color: #036881;
color: #fff;
-webkit-box-shadow: 0 1px 0 #036881;
box-shadow: 0 1px 0 #036881;
}
.wp-core-ui .button-primary:focus {
-webkit-box-shadow: inset 0 1px 0 #037c9a, 0 0 2px 1px #33b3db;
box-shadow: inset 0 1px 0 #037c9a, 0 0 2px 1px #33b3db;
}
.wp-core-ui .button-primary:active {
.wp-core-ui .button-primary:active, .wp-core-ui .button-primary.active, .wp-core-ui .button-primary.active:focus, .wp-core-ui .button-primary.active:hover {
background: #037c9a;
border-color: #036881;
-webkit-box-shadow: inset 0 2px 0 #036881;
box-shadow: inset 0 2px 0 #036881;
}
......@@ -74,12 +71,10 @@ input[type=radio]:checked:before {
}
.wp-core-ui .button-primary.button-hero {
-webkit-box-shadow: 0 2px 0 #036881 !important;
box-shadow: 0 2px 0 #036881 !important;
}
.wp-core-ui .button-primary.button-hero:active {
-webkit-box-shadow: inset 0 3px 0 #036881 !important;
box-shadow: inset 0 3px 0 #036881 !important;
}
......@@ -419,18 +414,15 @@ ul#adminmenu > li.current > a.current:after {
}
.details.attachment {
-webkit-box-shadow: inset 0 0 0 3px #fff, inset 0 0 0 7px #04a4cc;
box-shadow: inset 0 0 0 3px #fff, inset 0 0 0 7px #04a4cc;
}
.attachment.details .check {
background-color: #04a4cc;
-webkit-box-shadow: 0 0 0 1px #fff, 0 0 0 2px #04a4cc;
box-shadow: 0 0 0 1px #fff, 0 0 0 2px #04a4cc;
}
.media-selection .attachment.selection.details .thumbnail {
-webkit-box-shadow: 0 0 0 1px #fff, 0 0 0 3px #04a4cc;
box-shadow: 0 0 0 1px #fff, 0 0 0 3px #04a4cc;
}
......
/*! This file is auto-generated */
/*
* Button mixin- creates 3d-ish button effect with correct
* highlights/shadows, based on a base color.
......@@ -41,7 +42,6 @@ input[type=radio]:checked:before {
background: #04a4cc;
border-color: #037c9a #036881 #036881;
color: #fff;
-webkit-box-shadow: 0 1px 0 #036881;
box-shadow: 0 1px 0 #036881;
text-shadow: 0 -1px 1px #036881, 1px 0 1px #036881, 0 1px 1px #036881, -1px 0 1px #036881;
}
......@@ -50,19 +50,16 @@ input[type=radio]:checked:before {
background: #04b0db;
border-color: #036881;
color: #fff;
-webkit-box-shadow: 0 1px 0 #036881;
box-shadow: 0 1px 0 #036881;
}
.wp-core-ui .button-primary:focus {
-webkit-box-shadow: inset 0 1px 0 #037c9a, 0 0 2px 1px #33b3db;
box-shadow: inset 0 1px 0 #037c9a, 0 0 2px 1px #33b3db;
}
.wp-core-ui .button-primary:active {
.wp-core-ui .button-primary:active, .wp-core-ui .button-primary.active, .wp-core-ui .button-primary.active:focus, .wp-core-ui .button-primary.active:hover {
background: #037c9a;
border-color: #036881;
-webkit-box-shadow: inset 0 2px 0 #036881;
box-shadow: inset 0 2px 0 #036881;
}
......@@ -74,12 +71,10 @@ input[type=radio]:checked:before {
}
.wp-core-ui .button-primary.button-hero {
-webkit-box-shadow: 0 2px 0 #036881 !important;
box-shadow: 0 2px 0 #036881 !important;
}
.wp-core-ui .button-primary.button-hero:active {
-webkit-box-shadow: inset 0 3px 0 #036881 !important;
box-shadow: inset 0 3px 0 #036881 !important;
}
......@@ -419,18 +414,15 @@ ul#adminmenu > li.current > a.current:after {
}
.details.attachment {
-webkit-box-shadow: inset 0 0 0 3px #fff, inset 0 0 0 7px #04a4cc;
box-shadow: inset 0 0 0 3px #fff, inset 0 0 0 7px #04a4cc;
}
.attachment.details .check {
background-color: #04a4cc;
-webkit-box-shadow: 0 0 0 1px #fff, 0 0 0 2px #04a4cc;
box-shadow: 0 0 0 1px #fff, 0 0 0 2px #04a4cc;
}
.media-selection .attachment.selection.details .thumbnail {
-webkit-box-shadow: 0 0 0 1px #fff, 0 0 0 3px #04a4cc;
box-shadow: 0 0 0 1px #fff, 0 0 0 3px #04a4cc;
}
......
/*! This file is auto-generated */
/*
* Button mixin- creates 3d-ish button effect with correct
* highlights/shadows, based on a base color.
......@@ -41,7 +42,6 @@ input[type=radio]:checked:before {
background: #e14d43;
border-color: #d02c21 #ba281e #ba281e;
color: #fff;
-webkit-box-shadow: 0 1px 0 #ba281e;
box-shadow: 0 1px 0 #ba281e;
text-shadow: 0 -1px 1px #ba281e, -1px 0 1px #ba281e, 0 1px 1px #ba281e, 1px 0 1px #ba281e;
}
......@@ -50,19 +50,16 @@ input[type=radio]:checked:before {
background: #e35950;
border-color: #ba281e;
color: #fff;
-webkit-box-shadow: 0 1px 0 #ba281e;
box-shadow: 0 1px 0 #ba281e;
}
.wp-core-ui .button-primary:focus {
-webkit-box-shadow: inset 0 1px 0 #d02c21, 0 0 2px 1px #33b3db;
box-shadow: inset 0 1px 0 #d02c21, 0 0 2px 1px #33b3db;
}
.wp-core-ui .button-primary:active {
.wp-core-ui .button-primary:active, .wp-core-ui .button-primary.active, .wp-core-ui .button-primary.active:focus, .wp-core-ui .button-primary.active:hover {
background: #d02c21;
border-color: #ba281e;
-webkit-box-shadow: inset 0 2px 0 #ba281e;
box-shadow: inset 0 2px 0 #ba281e;
}
......@@ -74,12 +71,10 @@ input[type=radio]:checked:before {
}
.wp-core-ui .button-primary.button-hero {
-webkit-box-shadow: 0 2px 0 #ba281e !important;
box-shadow: 0 2px 0 #ba281e !important;
}
.wp-core-ui .button-primary.button-hero:active {
-webkit-box-shadow: inset 0 3px 0 #ba281e !important;
box-shadow: inset 0 3px 0 #ba281e !important;
}
......@@ -419,18 +414,15 @@ ul#adminmenu > li.current > a.current:after {
}
.details.attachment {
-webkit-box-shadow: inset 0 0 0 3px #fff, inset 0 0 0 7px #e14d43;
box-shadow: inset 0 0 0 3px #fff, inset 0 0 0 7px #e14d43;
}
.attachment.details .check {
background-color: #e14d43;
-webkit-box-shadow: 0 0 0 1px #fff, 0 0 0 2px #e14d43;
box-shadow: 0 0 0 1px #fff, 0 0 0 2px #e14d43;
}
.media-selection .attachment.selection.details .thumbnail {
-webkit-box-shadow: 0 0 0 1px #fff, 0 0 0 3px #e14d43;
box-shadow: 0 0 0 1px #fff, 0 0 0 3px #e14d43;
}
......
/*! This file is auto-generated */
/*
* Button mixin- creates 3d-ish button effect with correct
* highlights/shadows, based on a base color.
......@@ -41,7 +42,6 @@ input[type=radio]:checked:before {
background: #e14d43;
border-color: #d02c21 #ba281e #ba281e;
color: #fff;
-webkit-box-shadow: 0 1px 0 #ba281e;
box-shadow: 0 1px 0 #ba281e;
text-shadow: 0 -1px 1px #ba281e, 1px 0 1px #ba281e, 0 1px 1px #ba281e, -1px 0 1px #ba281e;
}
......@@ -50,19 +50,16 @@ input[type=radio]:checked:before {
background: #e35950;
border-color: #ba281e;
color: #fff;
-webkit-box-shadow: 0 1px 0 #ba281e;
box-shadow: 0 1px 0 #ba281e;
}
.wp-core-ui .button-primary:focus {
-webkit-box-shadow: inset 0 1px 0 #d02c21, 0 0 2px 1px #33b3db;
box-shadow: inset 0 1px 0 #d02c21, 0 0 2px 1px #33b3db;
}
.wp-core-ui .button-primary:active {
.wp-core-ui .button-primary:active, .wp-core-ui .button-primary.active, .wp-core-ui .button-primary.active:focus, .wp-core-ui .button-primary.active:hover {
background: #d02c21;
border-color: #ba281e;
-webkit-box-shadow: inset 0 2px 0 #ba281e;
box-shadow: inset 0 2px 0 #ba281e;
}
......@@ -74,12 +71,10 @@ input[type=radio]:checked:before {
}
.wp-core-ui .button-primary.button-hero {
-webkit-box-shadow: 0 2px 0 #ba281e !important;
box-shadow: 0 2px 0 #ba281e !important;
}
.wp-core-ui .button-primary.button-hero:active {
-webkit-box-shadow: inset 0 3px 0 #ba281e !important;
box-shadow: inset 0 3px 0 #ba281e !important;
}
......@@ -419,18 +414,15 @@ ul#adminmenu > li.current > a.current:after {
}
.details.attachment {
-webkit-box-shadow: inset 0 0 0 3px #fff, inset 0 0 0 7px #e14d43;
box-shadow: inset 0 0 0 3px #fff, inset 0 0 0 7px #e14d43;
}
.attachment.details .check {
background-color: #e14d43;
-webkit-box-shadow: 0 0 0 1px #fff, 0 0 0 2px #e14d43;
box-shadow: 0 0 0 1px #fff, 0 0 0 2px #e14d43;
}
.media-selection .attachment.selection.details .thumbnail {
-webkit-box-shadow: 0 0 0 1px #fff, 0 0 0 3px #e14d43;
box-shadow: 0 0 0 1px #fff, 0 0 0 3px #e14d43;
}
......
/*! This file is auto-generated */
/*
* Button mixin- creates 3d-ish button effect with correct
* highlights/shadows, based on a base color.
......@@ -41,7 +42,6 @@ input[type=radio]:checked:before {
background: #9ebaa0;
border-color: #80a583 #719a74 #719a74;
color: #fff;
-webkit-box-shadow: 0 1px 0 #719a74;
box-shadow: 0 1px 0 #719a74;
text-shadow: 0 -1px 1px #719a74, -1px 0 1px #719a74, 0 1px 1px #719a74, 1px 0 1px #719a74;
}
......@@ -50,19 +50,16 @@ input[type=radio]:checked:before {
background: #a7c0a9;
border-color: #719a74;
color: #fff;
-webkit-box-shadow: 0 1px 0 #719a74;
box-shadow: 0 1px 0 #719a74;
}
.wp-core-ui .button-primary:focus {
-webkit-box-shadow: inset 0 1px 0 #80a583, 0 0 2px 1px #33b3db;
box-shadow: inset 0 1px 0 #80a583, 0 0 2px 1px #33b3db;
}
.wp-core-ui .button-primary:active {
.wp-core-ui .button-primary:active, .wp-core-ui .button-primary.active, .wp-core-ui .button-primary.active:focus, .wp-core-ui .button-primary.active:hover {
background: #80a583;
border-color: #719a74;
-webkit-box-shadow: inset 0 2px 0 #719a74;
box-shadow: inset 0 2px 0 #719a74;
}
......@@ -74,12 +71,10 @@ input[type=radio]:checked:before {
}
.wp-core-ui .button-primary.button-hero {
-webkit-box-shadow: 0 2px 0 #719a74 !important;
box-shadow: 0 2px 0 #719a74 !important;
}
.wp-core-ui .button-primary.button-hero:active {
-webkit-box-shadow: inset 0 3px 0 #719a74 !important;
box-shadow: inset 0 3px 0 #719a74 !important;
}
......@@ -419,18 +414,15 @@ ul#adminmenu > li.current > a.current:after {
}
.details.attachment {
-webkit-box-shadow: inset 0 0 0 3px #fff, inset 0 0 0 7px #9ebaa0;
box-shadow: inset 0 0 0 3px #fff, inset 0 0 0 7px #9ebaa0;
}
.attachment.details .check {
background-color: #9ebaa0;
-webkit-box-shadow: 0 0 0 1px #fff, 0 0 0 2px #9ebaa0;
box-shadow: 0 0 0 1px #fff, 0 0 0 2px #9ebaa0;
}
.media-selection .attachment.selection.details .thumbnail {
-webkit-box-shadow: 0 0 0 1px #fff, 0 0 0 3px #9ebaa0;
box-shadow: 0 0 0 1px #fff, 0 0 0 3px #9ebaa0;
}
......
/*! This file is auto-generated */
/*
* Button mixin- creates 3d-ish button effect with correct
* highlights/shadows, based on a base color.
......@@ -41,7 +42,6 @@ input[type=radio]:checked:before {
background: #9ebaa0;
border-color: #80a583 #719a74 #719a74;
color: #fff;
-webkit-box-shadow: 0 1px 0 #719a74;
box-shadow: 0 1px 0 #719a74;
text-shadow: 0 -1px 1px #719a74, 1px 0 1px #719a74, 0 1px 1px #719a74, -1px 0 1px #719a74;
}
......@@ -50,19 +50,16 @@ input[type=radio]:checked:before {
background: #a7c0a9;
border-color: #719a74;
color: #fff;
-webkit-box-shadow: 0 1px 0 #719a74;
box-shadow: 0 1px 0 #719a74;
}
.wp-core-ui .button-primary:focus {
-webkit-box-shadow: inset 0 1px 0 #80a583, 0 0 2px 1px #33b3db;
box-shadow: inset 0 1px 0 #80a583, 0 0 2px 1px #33b3db;
}
.wp-core-ui .button-primary:active {
.wp-core-ui .button-primary:active, .wp-core-ui .button-primary.active, .wp-core-ui .button-primary.active:focus, .wp-core-ui .button-primary.active:hover {
background: #80a583;
border-color: #719a74;
-webkit-box-shadow: inset 0 2px 0 #719a74;
box-shadow: inset 0 2px 0 #719a74;
}
......@@ -74,12 +71,10 @@ input[type=radio]:checked:before {
}
.wp-core-ui .button-primary.button-hero {
-webkit-box-shadow: 0 2px 0 #719a74 !important;
box-shadow: 0 2px 0 #719a74 !important;
}
.wp-core-ui .button-primary.button-hero:active {
-webkit-box-shadow: inset 0 3px 0 #719a74 !important;
box-shadow: inset 0 3px 0 #719a74 !important;
}
......@@ -419,18 +414,15 @@ ul#adminmenu > li.current > a.current:after {
}
.details.attachment {
-webkit-box-shadow: inset 0 0 0 3px #fff, inset 0 0 0 7px #9ebaa0;
box-shadow: inset 0 0 0 3px #fff, inset 0 0 0 7px #9ebaa0;
}
.attachment.details .check {
background-color: #9ebaa0;
-webkit-box-shadow: 0 0 0 1px #fff, 0 0 0 2px #9ebaa0;
box-shadow: 0 0 0 1px #fff, 0 0 0 2px #9ebaa0;
}
.media-selection .attachment.selection.details .thumbnail {
-webkit-box-shadow: 0 0 0 1px #fff, 0 0 0 3px #9ebaa0;
box-shadow: 0 0 0 1px #fff, 0 0 0 3px #9ebaa0;
}
......
/*! This file is auto-generated */
/*
* Button mixin- creates 3d-ish button effect with correct
* highlights/shadows, based on a base color.
......@@ -41,7 +42,6 @@ input[type=radio]:checked:before {
background: #dd823b;
border-color: #c36922 #ad5d1e #ad5d1e;
color: #fff;
-webkit-box-shadow: 0 1px 0 #ad5d1e;
box-shadow: 0 1px 0 #ad5d1e;
text-shadow: 0 -1px 1px #ad5d1e, -1px 0 1px #ad5d1e, 0 1px 1px #ad5d1e, 1px 0 1px #ad5d1e;
}
......@@ -50,19 +50,16 @@ input[type=radio]:checked:before {
background: #df8a48;
border-color: #ad5d1e;
color: #fff;
-webkit-box-shadow: 0 1px 0 #ad5d1e;
box-shadow: 0 1px 0 #ad5d1e;
}
.wp-core-ui .button-primary:focus {
-webkit-box-shadow: inset 0 1px 0 #c36922, 0 0 2px 1px #33b3db;
box-shadow: inset 0 1px 0 #c36922, 0 0 2px 1px #33b3db;
}
.wp-core-ui .button-primary:active {
.wp-core-ui .button-primary:active, .wp-core-ui .button-primary.active, .wp-core-ui .button-primary.active:focus, .wp-core-ui .button-primary.active:hover {
background: #c36922;
border-color: #ad5d1e;
-webkit-box-shadow: inset 0 2px 0 #ad5d1e;
box-shadow: inset 0 2px 0 #ad5d1e;
}
......@@ -74,12 +71,10 @@ input[type=radio]:checked:before {
}
.wp-core-ui .button-primary.button-hero {
-webkit-box-shadow: 0 2px 0 #ad5d1e !important;
box-shadow: 0 2px 0 #ad5d1e !important;
}
.wp-core-ui .button-primary.button-hero:active {
-webkit-box-shadow: inset 0 3px 0 #ad5d1e !important;
box-shadow: inset 0 3px 0 #ad5d1e !important;
}
......@@ -419,18 +414,15 @@ ul#adminmenu > li.current > a.current:after {
}
.details.attachment {
-webkit-box-shadow: inset 0 0 0 3px #fff, inset 0 0 0 7px #dd823b;
box-shadow: inset 0 0 0 3px #fff, inset 0 0 0 7px #dd823b;
}
.attachment.details .check {
background-color: #dd823b;
-webkit-box-shadow: 0 0 0 1px #fff, 0 0 0 2px #dd823b;
box-shadow: 0 0 0 1px #fff, 0 0 0 2px #dd823b;
}
.media-selection .attachment.selection.details .thumbnail {
-webkit-box-shadow: 0 0 0 1px #fff, 0 0 0 3px #dd823b;
box-shadow: 0 0 0 1px #fff, 0 0 0 3px #dd823b;
}
......
/*! This file is auto-generated */
/*
* Button mixin- creates 3d-ish button effect with correct
* highlights/shadows, based on a base color.
......@@ -41,7 +42,6 @@ input[type=radio]:checked:before {
background: #dd823b;
border-color: #c36922 #ad5d1e #ad5d1e;
color: #fff;
-webkit-box-shadow: 0 1px 0 #ad5d1e;
box-shadow: 0 1px 0 #ad5d1e;
text-shadow: 0 -1px 1px #ad5d1e, 1px 0 1px #ad5d1e, 0 1px 1px #ad5d1e, -1px 0 1px #ad5d1e;
}
......@@ -50,19 +50,16 @@ input[type=radio]:checked:before {
background: #df8a48;
border-color: #ad5d1e;
color: #fff;
-webkit-box-shadow: 0 1px 0 #ad5d1e;
box-shadow: 0 1px 0 #ad5d1e;
}
.wp-core-ui .button-primary:focus {
-webkit-box-shadow: inset 0 1px 0 #c36922, 0 0 2px 1px #33b3db;
box-shadow: inset 0 1px 0 #c36922, 0 0 2px 1px #33b3db;
}
.wp-core-ui .button-primary:active {
.wp-core-ui .button-primary:active, .wp-core-ui .button-primary.active, .wp-core-ui .button-primary.active:focus, .wp-core-ui .button-primary.active:hover {
background: #c36922;
border-color: #ad5d1e;
-webkit-box-shadow: inset 0 2px 0 #ad5d1e;
box-shadow: inset 0 2px 0 #ad5d1e;
}
......@@ -74,12 +71,10 @@ input[type=radio]:checked:before {
}
.wp-core-ui .button-primary.button-hero {
-webkit-box-shadow: 0 2px 0 #ad5d1e !important;
box-shadow: 0 2px 0 #ad5d1e !important;
}
.wp-core-ui .button-primary.button-hero:active {
-webkit-box-shadow: inset 0 3px 0 #ad5d1e !important;
box-shadow: inset 0 3px 0 #ad5d1e !important;
}
......@@ -419,18 +414,15 @@ ul#adminmenu > li.current > a.current:after {
}
.details.attachment {
-webkit-box-shadow: inset 0 0 0 3px #fff, inset 0 0 0 7px #dd823b;
box-shadow: inset 0 0 0 3px #fff, inset 0 0 0 7px #dd823b;
}
.attachment.details .check {
background-color: #dd823b;
-webkit-box-shadow: 0 0 0 1px #fff, 0 0 0 2px #dd823b;
box-shadow: 0 0 0 1px #fff, 0 0 0 2px #dd823b;
}
.media-selection .attachment.selection.details .thumbnail {
-webkit-box-shadow: 0 0 0 1px #fff, 0 0 0 3px #dd823b;
box-shadow: 0 0 0 1px #fff, 0 0 0 3px #dd823b;
}
......
This source diff could not be displayed because it is too large. You can view the blob instead.
This source diff could not be displayed because it is too large. You can view the blob instead.
#customize-theme-controls #accordion-section-menu_locations {
position: relative;
margin-bottom: 15px;
margin-top: 30px;
}
#customize-theme-controls #accordion-section-menu_locations > .accordion-section-title {
border-bottom-color: #ddd;
margin-top: 15px;
}
#customize-theme-controls .customize-section-title-nav_menus-heading,
#customize-theme-controls .customize-section-title-menu_locations-heading,
#customize-theme-controls .customize-section-title-menu_locations-description {
padding: 0 12px 0 12px;
}
#customize-theme-controls .customize-control-description.customize-section-title-menu_locations-description {
/* Override the default italic style for control descriptions */
font-style: normal;
}
.menu-in-location,
......@@ -20,18 +32,30 @@
color: #555;
}
/* The `edit-menu` button uses also the `button-link` class. */
.customize-control-nav_menu_location .edit-menu {
/* The `edit-menu` and `create-menu` buttons also use the `button-link` class. */
.customize-control-nav_menu_location .edit-menu,
.customize-control-nav_menu_location .create-menu {
margin-right: 6px;
vertical-align: middle;
line-height: 28px;
}
#customize-controls .customize-control-nav_menu_name {
margin-bottom: 12px;
}
.customize-control-nav_menu_name p:last-of-type {
margin-bottom: 0;
}
#customize-new-menu-submit {
float: left;
min-width: 85px;
}
.wp-customizer .menu-item-bar .menu-item-handle,
.wp-customizer .menu-item-settings,
.wp-customizer .menu-item-settings .description-thin {
-webkit-box-sizing: border-box;
-moz-box-sizing: border-box;
box-sizing: border-box;
}
......@@ -134,7 +158,6 @@
.customize-control input.menu-name-field {
width: 100%; /* Override the 98% default for customizer inputs, to align with the size of menu items. */
margin: 12px 0;
}
.wp-customizer .menu-item .item-edit {
......@@ -145,7 +168,6 @@
width: 30px;
height: 38px;
margin-left: 0 !important;
-webkit-box-shadow: none;
box-shadow: none;
outline: none;
overflow: hidden;
......@@ -179,13 +201,31 @@
border-top: none;
}
.menu-settings .customize-control-checkbox label {
.wp-customizer .menu-location-settings {
margin-top: 12px;
border-top: none;
}
.wp-customizer .control-section-nav_menu .menu-location-settings {
margin-top: 24px;
border-top: 1px solid #ddd;
}
.wp-customizer .control-section-nav_menu .menu-location-settings,
.customize-control-nav_menu_auto_add {
padding-top: 12px;
}
.menu-location-settings .customize-control-checkbox .theme-location-set {
line-height: 1;
}
/* @todo update selector or potentially remove */
.menu-settings .customize-control.customize-control-checkbox {
margin-bottom: 8px; /* Override collapsing at smaller viewports. */
.customize-control-nav_menu_auto_add label {
vertical-align: top;
}
.menu-location-settings .new-menu-locations-widget-note {
display: block;
}
.customize-control-menu {
......@@ -249,7 +289,6 @@
.customize-screen-options-toggle:focus:before,
#customize-controls .customize-info .customize-help-toggle:focus:before {
-webkit-border-radius: 100%;
border-radius: 100%;
}
......@@ -283,7 +322,6 @@
display: block;
padding: 1px 0px 1px 2px;
speak: none;
-webkit-border-radius: 50%;
border-radius: 50%;
color: #72777c;
font: normal 20px/1 dashicons;
......@@ -388,7 +426,6 @@
.control-section-nav_menu.menu .sortable-placeholder {
margin-top: 0;
margin-bottom: 1px;
max-width: -webkit-calc(100% - 2px);
max-width: calc(100% - 2px);
float: right;
display: list-item;
......@@ -432,7 +469,6 @@
position: absolute;
top: 9px;
right: 5px;
-webkit-border-radius: 50%;
border-radius: 50%;
font: normal 20px/1 dashicons;
-webkit-font-smoothing: antialiased;
......@@ -445,10 +481,9 @@
.menu-item-bar .item-delete:hover,
.menu-item-bar .item-delete:focus {
-webkit-box-shadow: none;
box-shadow: none;
outline: none;
color: #f00;
color: #dc3232;
}
.adding-menu-items .menu-item-bar .item-edit {
......@@ -476,7 +511,6 @@
border-right: none;
border-left: none;
background: #fff;
-webkit-transition: background-color 0.15s;
transition: background-color 0.15s;
/* Reset the value inherited from the base .accordion-section-title style. Ticket #37589. */
-webkit-user-select: auto;
......@@ -519,7 +553,6 @@
position: absolute;
top: 5px;
left: 5px;
-webkit-box-shadow: none;
box-shadow: none;
outline: none;
cursor: pointer;
......@@ -570,11 +603,12 @@
#custom-menu-item-name.invalid,
#custom-menu-item-url.invalid,
.edit-menu-item-url.invalid,
.menu-name-field.invalid,
.menu-name-field.invalid:focus,
#available-menu-items .new-content-item .create-item-input.invalid,
#available-menu-items .new-content-item .create-item-input.invalid:focus {
border: 1px solid #f00;
border: 1px solid #dc3232;
}
#available-menu-items .menu-item-handle .item-type {
......@@ -590,7 +624,6 @@
}
#available-menu-items .menu-item-handle {
-webkit-box-shadow: none;
box-shadow: none;
margin-top: -1px;
}
......@@ -611,7 +644,6 @@
color: #82878c;
width: 30px;
height: 38px;
-webkit-box-shadow: none;
box-shadow: none;
outline: none;
cursor: pointer;
......@@ -629,7 +661,6 @@
top: 3px;
display: inline-block;
height: 20px;
-webkit-border-radius: 50%;
border-radius: 50%;
font: normal 20px/1.05 dashicons; /* line height is to account for the dashicon's vertical alignment */
}
......@@ -667,8 +698,6 @@
max-height: none;
width: 100%;
padding: 1px 15px 15px;
-webkit-box-sizing: border-box;
-moz-box-sizing: border-box;
box-sizing: border-box;
}
......@@ -695,7 +724,6 @@
}
#customize-preview {
-webkit-transition: all 0.2s;
transition: all 0.2s;
}
......@@ -740,11 +768,8 @@ body.adding-menu-items #customize-preview iframe {
}
.added-menu-item .menu-item-handle {
-webkit-transition-property: opacity, background, color;
transition-property: opacity, background, color;
-webkit-transition-duration: 1.25s;
transition-duration: 1.25s;
-webkit-transition-timing-function: cubic-bezier( .25, -2.5, .75, 8 );
transition-timing-function: cubic-bezier( .25, -2.5, .75, 8 ); /* Replacement for .hide().fadeIn('slow') in JS to add emphasis when it's loaded. */
}
......@@ -757,27 +782,19 @@ body.adding-menu-items #customize-preview iframe {
/* @todo update selector */
#accordion-section-add_menu {
margin: 15px 12px;
overflow: hidden;
}
.new-menu-section-content {
display: none;
padding: 15px 0 0 0;
clear: both;
#accordion-section-add_menu h3 {
text-align: left;
}
/* @todo update selector */
#accordion-section-add_menu .accordion-section-title {
padding-right: 45px;
#accordion-section-add_menu h3,
#accordion-section-add_menu .customize-add-menu-button {
margin: 0;
}
/* @todo update selector */
#accordion-section-add_menu .accordion-section-title:before {
font: normal 20px/1 dashicons;
position: absolute;
top: 12px;
right: 14px;
content: "\f132";
#accordion-section-add_menu .customize-add-menu-button {
font-weight: normal;
}
#create-new-menu-submit {
......@@ -791,6 +808,10 @@ body.adding-menu-items #customize-preview iframe {
width: 100%;
}
.assigned-menu-locations-title p {
margin: 0 0 8px 0;
}
li.assigned-to-menu-location .menu-delete-item {
display: none;
}
......@@ -827,7 +848,12 @@ li.assigned-to-menu-location .add-new-menu-item {
margin-bottom: 0;
}
.customize-control-nav_menu {
.customize-control-nav_menu .new-menu-item-invitation {
margin-top: 0;
margin-bottom: 0;
}
.customize-control-nav_menu .customize-control-nav_menu-buttons {
margin-top: 12px;
}
......@@ -842,9 +868,6 @@ li.assigned-to-menu-location .add-new-menu-item {
.menu-delete:focus,
.menu-item-bar .item-delete:focus:before,
#available-menu-items .item-add:focus:before {
-webkit-box-shadow:
0 0 0 1px #5b9dd9,
0 0 2px 1px rgba(30, 140, 190, .8);
box-shadow:
0 0 0 1px #5b9dd9,
0 0 2px 1px rgba(30, 140, 190, .8);
......
#customize-theme-controls #accordion-section-menu_locations {
position: relative;
margin-bottom: 15px;
margin-top: 30px;
}
#customize-theme-controls #accordion-section-menu_locations > .accordion-section-title {
border-bottom-color: #ddd;
margin-top: 15px;
}
#customize-theme-controls .customize-section-title-nav_menus-heading,
#customize-theme-controls .customize-section-title-menu_locations-heading,
#customize-theme-controls .customize-section-title-menu_locations-description {
padding: 0 12px 0 12px;
}
#customize-theme-controls .customize-control-description.customize-section-title-menu_locations-description {
/* Override the default italic style for control descriptions */
font-style: normal;
}
.menu-in-location,
......@@ -20,18 +32,30 @@
color: #555;
}
/* The `edit-menu` button uses also the `button-link` class. */
.customize-control-nav_menu_location .edit-menu {
/* The `edit-menu` and `create-menu` buttons also use the `button-link` class. */
.customize-control-nav_menu_location .edit-menu,
.customize-control-nav_menu_location .create-menu {
margin-left: 6px;
vertical-align: middle;
line-height: 28px;
}
#customize-controls .customize-control-nav_menu_name {
margin-bottom: 12px;
}
.customize-control-nav_menu_name p:last-of-type {
margin-bottom: 0;
}
#customize-new-menu-submit {
float: right;
min-width: 85px;
}
.wp-customizer .menu-item-bar .menu-item-handle,
.wp-customizer .menu-item-settings,
.wp-customizer .menu-item-settings .description-thin {
-webkit-box-sizing: border-box;
-moz-box-sizing: border-box;
box-sizing: border-box;
}
......@@ -134,7 +158,6 @@
.customize-control input.menu-name-field {
width: 100%; /* Override the 98% default for customizer inputs, to align with the size of menu items. */
margin: 12px 0;
}
.wp-customizer .menu-item .item-edit {
......@@ -145,7 +168,6 @@
width: 30px;
height: 38px;
margin-right: 0 !important;
-webkit-box-shadow: none;
box-shadow: none;
outline: none;
overflow: hidden;
......@@ -179,13 +201,31 @@
border-top: none;
}
.menu-settings .customize-control-checkbox label {
.wp-customizer .menu-location-settings {
margin-top: 12px;
border-top: none;
}
.wp-customizer .control-section-nav_menu .menu-location-settings {
margin-top: 24px;
border-top: 1px solid #ddd;
}
.wp-customizer .control-section-nav_menu .menu-location-settings,
.customize-control-nav_menu_auto_add {
padding-top: 12px;
}
.menu-location-settings .customize-control-checkbox .theme-location-set {
line-height: 1;
}
/* @todo update selector or potentially remove */
.menu-settings .customize-control.customize-control-checkbox {
margin-bottom: 8px; /* Override collapsing at smaller viewports. */
.customize-control-nav_menu_auto_add label {
vertical-align: top;
}
.menu-location-settings .new-menu-locations-widget-note {
display: block;
}
.customize-control-menu {
......@@ -249,7 +289,6 @@
.customize-screen-options-toggle:focus:before,
#customize-controls .customize-info .customize-help-toggle:focus:before {
-webkit-border-radius: 100%;
border-radius: 100%;
}
......@@ -283,7 +322,6 @@
display: block;
padding: 1px 2px 1px 0px;
speak: none;
-webkit-border-radius: 50%;
border-radius: 50%;
color: #72777c;
font: normal 20px/1 dashicons;
......@@ -388,7 +426,6 @@
.control-section-nav_menu.menu .sortable-placeholder {
margin-top: 0;
margin-bottom: 1px;
max-width: -webkit-calc(100% - 2px);
max-width: calc(100% - 2px);
float: left;
display: list-item;
......@@ -432,7 +469,6 @@
position: absolute;
top: 9px;
left: 5px;
-webkit-border-radius: 50%;
border-radius: 50%;
font: normal 20px/1 dashicons;
-webkit-font-smoothing: antialiased;
......@@ -445,10 +481,9 @@
.menu-item-bar .item-delete:hover,
.menu-item-bar .item-delete:focus {
-webkit-box-shadow: none;
box-shadow: none;
outline: none;
color: #f00;
color: #dc3232;
}
.adding-menu-items .menu-item-bar .item-edit {
......@@ -476,7 +511,6 @@
border-left: none;
border-right: none;
background: #fff;
-webkit-transition: background-color 0.15s;
transition: background-color 0.15s;
/* Reset the value inherited from the base .accordion-section-title style. Ticket #37589. */
-webkit-user-select: auto;
......@@ -519,7 +553,6 @@
position: absolute;
top: 5px;
right: 5px;
-webkit-box-shadow: none;
box-shadow: none;
outline: none;
cursor: pointer;
......@@ -570,11 +603,12 @@
#custom-menu-item-name.invalid,
#custom-menu-item-url.invalid,
.edit-menu-item-url.invalid,
.menu-name-field.invalid,
.menu-name-field.invalid:focus,
#available-menu-items .new-content-item .create-item-input.invalid,
#available-menu-items .new-content-item .create-item-input.invalid:focus {
border: 1px solid #f00;
border: 1px solid #dc3232;
}
#available-menu-items .menu-item-handle .item-type {
......@@ -590,7 +624,6 @@
}
#available-menu-items .menu-item-handle {
-webkit-box-shadow: none;
box-shadow: none;
margin-top: -1px;
}
......@@ -611,7 +644,6 @@
color: #82878c;
width: 30px;
height: 38px;
-webkit-box-shadow: none;
box-shadow: none;
outline: none;
cursor: pointer;
......@@ -629,7 +661,6 @@
top: 3px;
display: inline-block;
height: 20px;
-webkit-border-radius: 50%;
border-radius: 50%;
font: normal 20px/1.05 dashicons; /* line height is to account for the dashicon's vertical alignment */
}
......@@ -667,8 +698,6 @@
max-height: none;
width: 100%;
padding: 1px 15px 15px;
-webkit-box-sizing: border-box;
-moz-box-sizing: border-box;
box-sizing: border-box;
}
......@@ -695,7 +724,6 @@
}
#customize-preview {
-webkit-transition: all 0.2s;
transition: all 0.2s;
}
......@@ -740,11 +768,8 @@ body.adding-menu-items #customize-preview iframe {
}
.added-menu-item .menu-item-handle {
-webkit-transition-property: opacity, background, color;
transition-property: opacity, background, color;
-webkit-transition-duration: 1.25s;
transition-duration: 1.25s;
-webkit-transition-timing-function: cubic-bezier( .25, -2.5, .75, 8 );
transition-timing-function: cubic-bezier( .25, -2.5, .75, 8 ); /* Replacement for .hide().fadeIn('slow') in JS to add emphasis when it's loaded. */
}
......@@ -757,27 +782,19 @@ body.adding-menu-items #customize-preview iframe {
/* @todo update selector */
#accordion-section-add_menu {
margin: 15px 12px;
overflow: hidden;
}
.new-menu-section-content {
display: none;
padding: 15px 0 0 0;
clear: both;
#accordion-section-add_menu h3 {
text-align: right;
}
/* @todo update selector */
#accordion-section-add_menu .accordion-section-title {
padding-left: 45px;
#accordion-section-add_menu h3,
#accordion-section-add_menu .customize-add-menu-button {
margin: 0;
}
/* @todo update selector */
#accordion-section-add_menu .accordion-section-title:before {
font: normal 20px/1 dashicons;
position: absolute;
top: 12px;
left: 14px;
content: "\f132";
#accordion-section-add_menu .customize-add-menu-button {
font-weight: normal;
}
#create-new-menu-submit {
......@@ -791,6 +808,10 @@ body.adding-menu-items #customize-preview iframe {
width: 100%;
}
.assigned-menu-locations-title p {
margin: 0 0 8px 0;
}
li.assigned-to-menu-location .menu-delete-item {
display: none;
}
......@@ -827,7 +848,12 @@ li.assigned-to-menu-location .add-new-menu-item {
margin-bottom: 0;
}
.customize-control-nav_menu {
.customize-control-nav_menu .new-menu-item-invitation {
margin-top: 0;
margin-bottom: 0;
}
.customize-control-nav_menu .customize-control-nav_menu-buttons {
margin-top: 12px;
}
......@@ -842,9 +868,6 @@ li.assigned-to-menu-location .add-new-menu-item {
.menu-delete:focus,
.menu-item-bar .item-delete:focus:before,
#available-menu-items .item-add:focus:before {
-webkit-box-shadow:
0 0 0 1px #5b9dd9,
0 0 2px 1px rgba(30, 140, 190, .8);
box-shadow:
0 0 0 1px #5b9dd9,
0 0 2px 1px rgba(30, 140, 190, .8);
......
......@@ -21,7 +21,6 @@
/* Note: widget-tops are more compact when (max-height: 700px) and (min-width: 981px). */
.customize-control-widget_form .widget-top {
background: #fff;
-webkit-transition: opacity 0.5s;
transition: opacity 0.5s;
}
......@@ -76,7 +75,6 @@
}
.customize-control-widget_form.wide-widget-control .widget-top {
-webkit-transition: background-color 0.4s;
transition: background-color 0.4s;
}
.customize-control-widget_form.wide-widget-control.expanding .widget-top,
......@@ -114,7 +112,6 @@
.control-section.accordion-section.highlighted > .accordion-section-title,
.customize-control-widget_form.highlighted {
outline: none;
-webkit-box-shadow: 0 0 2px rgba(30,140,190,0.8);
box-shadow: 0 0 2px rgba(30,140,190,0.8);
position: relative;
z-index: 1;
......@@ -239,7 +236,6 @@
}
.ios #available-widgets {
-webkit-transition: right 0s;
transition: right 0s;
}
......@@ -266,7 +262,6 @@
}
#customize-preview {
-webkit-transition: all 0.2s;
transition: all 0.2s;
}
......@@ -305,8 +300,6 @@ body.adding-widget #customize-preview {
color: #32373c;
font: normal 20px/1 dashicons;
text-align: center;
-webkit-box-sizing: border-box;
-moz-box-sizing: border-box;
box-sizing: border-box;
-webkit-font-smoothing: antialiased;
-moz-osx-font-smoothing: grayscale;
......@@ -445,7 +438,6 @@ body.adding-widget #customize-preview {
}
.widget-top {
-webkit-box-shadow: none;
box-shadow: none;
margin-top: -1px;
}
......
......@@ -21,7 +21,6 @@
/* Note: widget-tops are more compact when (max-height: 700px) and (min-width: 981px). */
.customize-control-widget_form .widget-top {
background: #fff;
-webkit-transition: opacity 0.5s;
transition: opacity 0.5s;
}
......@@ -76,7 +75,6 @@
}
.customize-control-widget_form.wide-widget-control .widget-top {
-webkit-transition: background-color 0.4s;
transition: background-color 0.4s;
}
.customize-control-widget_form.wide-widget-control.expanding .widget-top,
......@@ -114,7 +112,6 @@
.control-section.accordion-section.highlighted > .accordion-section-title,
.customize-control-widget_form.highlighted {
outline: none;
-webkit-box-shadow: 0 0 2px rgba(30,140,190,0.8);
box-shadow: 0 0 2px rgba(30,140,190,0.8);
position: relative;
z-index: 1;
......@@ -239,7 +236,6 @@
}
.ios #available-widgets {
-webkit-transition: left 0s;
transition: left 0s;
}
......@@ -266,7 +262,6 @@
}
#customize-preview {
-webkit-transition: all 0.2s;
transition: all 0.2s;
}
......@@ -305,8 +300,6 @@ body.adding-widget #customize-preview {
color: #32373c;
font: normal 20px/1 dashicons;
text-align: center;
-webkit-box-sizing: border-box;
-moz-box-sizing: border-box;
box-sizing: border-box;
-webkit-font-smoothing: antialiased;
-moz-osx-font-smoothing: grayscale;
......@@ -445,7 +438,6 @@ body.adding-widget #customize-preview {
}
.widget-top {
-webkit-box-shadow: none;
box-shadow: none;
margin-top: -1px;
}
......
......@@ -104,7 +104,6 @@
margin: 16px 0;
padding: 23px 10px 0;
border: 1px solid #e5e5e5;
-webkit-box-shadow: 0 1px 1px rgba(0,0,0,0.04);
box-shadow: 0 1px 1px rgba(0,0,0,0.04);
background: #fff;
font-size: 13px;
......@@ -142,6 +141,7 @@
.welcome-panel .welcome-panel-close {
position: absolute;
z-index: 10;
top: 10px;
left: 10px;
padding: 10px 21px 10px 15px;
......@@ -154,7 +154,6 @@
position: absolute;
top: 8px;
right: 0;
-webkit-transition: all .1s ease-in-out;
transition: all .1s ease-in-out;
}
......@@ -167,7 +166,7 @@
}
.welcome-panel-content {
margin-right: 13px;
margin: 0 13px;
max-width: 1500px;
}
......@@ -204,7 +203,7 @@
}
.welcome-panel .welcome-panel-column ul {
margin: 0.8em 0 1em 1em;
margin: 0.8em 0 1em 1em;
}
.welcome-panel .welcome-panel-column li {
......@@ -617,8 +616,6 @@ form.initial-form.quickpress-open input#title {
#dashboard_quick_press input,
#dashboard_quick_press textarea {
-webkit-box-sizing: border-box;
-moz-box-sizing: border-box;
box-sizing: border-box;
margin: 0;
}
......@@ -952,7 +949,6 @@ form.initial-form.quickpress-open input#title {
#activity-widget #the-comment-list .comment,
#activity-widget #the-comment-list .pingback {
-webkit-box-shadow: inset 0 1px 0 rgba(0, 0, 0, 0.06);
box-shadow: inset 0 1px 0 rgba(0, 0, 0, 0.06);
}
......@@ -1085,7 +1081,6 @@ a.rsswidget {
background-image: none;
border-color: #edc048;
color: #fff;
-webkit-box-shadow: none;
box-shadow: none;
}
......@@ -1098,7 +1093,6 @@ a.rsswidget {
border-bottom-color: #f6e2ac;
background: transparent none;
color: #fff;
-webkit-box-shadow: none;
box-shadow: none;
}
......@@ -1230,7 +1224,6 @@ a.rsswidget {
.welcome-panel .welcome-panel-column ul {
margin: 0.4em 0 0;
}
}
@media screen and ( max-width: 782px ) {
......
......@@ -104,7 +104,6 @@
margin: 16px 0;
padding: 23px 10px 0;
border: 1px solid #e5e5e5;
-webkit-box-shadow: 0 1px 1px rgba(0,0,0,0.04);
box-shadow: 0 1px 1px rgba(0,0,0,0.04);
background: #fff;
font-size: 13px;
......@@ -142,6 +141,7 @@
.welcome-panel .welcome-panel-close {
position: absolute;
z-index: 10;
top: 10px;
right: 10px;
padding: 10px 15px 10px 21px;
......@@ -154,7 +154,6 @@
position: absolute;
top: 8px;
left: 0;
-webkit-transition: all .1s ease-in-out;
transition: all .1s ease-in-out;
}
......@@ -167,7 +166,7 @@
}
.welcome-panel-content {
margin-left: 13px;
margin: 0 13px;
max-width: 1500px;
}
......@@ -204,7 +203,7 @@
}
.welcome-panel .welcome-panel-column ul {
margin: 0.8em 1em 1em 0;
margin: 0.8em 1em 1em 0;
}
.welcome-panel .welcome-panel-column li {
......@@ -617,8 +616,6 @@ form.initial-form.quickpress-open input#title {
#dashboard_quick_press input,
#dashboard_quick_press textarea {
-webkit-box-sizing: border-box;
-moz-box-sizing: border-box;
box-sizing: border-box;
margin: 0;
}
......@@ -952,7 +949,6 @@ form.initial-form.quickpress-open input#title {
#activity-widget #the-comment-list .comment,
#activity-widget #the-comment-list .pingback {
-webkit-box-shadow: inset 0 1px 0 rgba(0, 0, 0, 0.06);
box-shadow: inset 0 1px 0 rgba(0, 0, 0, 0.06);
}
......@@ -1085,7 +1081,6 @@ a.rsswidget {
background-image: none;
border-color: #edc048;
color: #fff;
-webkit-box-shadow: none;
box-shadow: none;
}
......@@ -1098,7 +1093,6 @@ a.rsswidget {
border-bottom-color: #f6e2ac;
background: transparent none;
color: #fff;
-webkit-box-shadow: none;
box-shadow: none;
}
......@@ -1230,7 +1224,6 @@ a.rsswidget {
.welcome-panel .welcome-panel-column ul {
margin: 0.4em 0 0;
}
}
@media screen and ( max-width: 782px ) {
......
......@@ -31,7 +31,6 @@ div#media-upload-header {
border-bottom: 1px solid #ddd;
background-color: #f9f9f9;
text-decoration: none;
-webkit-transition: none;
transition: none;
}
......@@ -394,25 +393,21 @@ table.not-image tr.image-only {
.image-align-none-label {
background-image: url(../images/align-none-2x.png?ver=20120916);
-webkit-background-size: 21px 15px;
background-size: 21px 15px;
}
.image-align-left-label {
background-image: url(../images/align-left-2x.png?ver=20120916);
-webkit-background-size: 22px 15px;
background-size: 22px 15px;
}
.image-align-center-label {
background-image: url(../images/align-center-2x.png?ver=20120916);
-webkit-background-size: 21px 15px;
background-size: 21px 15px;
}
.image-align-right-label {
background-image: url(../images/align-right-2x.png?ver=20120916);
-webkit-background-size: 22px 15px;
background-size: 22px 15px;
}
}
......@@ -31,7 +31,6 @@ div#media-upload-header {
border-bottom: 1px solid #ddd;
background-color: #f9f9f9;
text-decoration: none;
-webkit-transition: none;
transition: none;
}
......@@ -394,25 +393,21 @@ table.not-image tr.image-only {
.image-align-none-label {
background-image: url(../images/align-none-2x.png?ver=20120916);
-webkit-background-size: 21px 15px;
background-size: 21px 15px;
}
.image-align-left-label {
background-image: url(../images/align-left-2x.png?ver=20120916);
-webkit-background-size: 22px 15px;
background-size: 22px 15px;
}
.image-align-center-label {
background-image: url(../images/align-center-2x.png?ver=20120916);
-webkit-background-size: 21px 15px;
background-size: 21px 15px;
}
.image-align-right-label {
background-image: url(../images/align-right-2x.png?ver=20120916);
-webkit-background-size: 22px 15px;
background-size: 22px 15px;
}
}
......@@ -154,7 +154,6 @@ body.post-new-php .submitbox .submitdelete {
position: relative;
min-width: 255px;
border: 1px solid #e5e5e5;
-webkit-box-shadow: 0 1px 1px rgba(0,0,0,0.04);
box-shadow: 0 1px 1px rgba(0,0,0,0.04);
background: #fff;
}
......@@ -279,10 +278,8 @@ ul.wp-tab-bar li {
height: auto;
width: auto;
vertical-align: top;
background-image: -webkit-linear-gradient(-45deg, #c4c4c4 25%, transparent 25%, transparent 75%, #c4c4c4 75%, #c4c4c4), -webkit-linear-gradient(-45deg, #c4c4c4 25%, transparent 25%, transparent 75%, #c4c4c4 75%, #c4c4c4);
background-image: linear-gradient(-45deg, #c4c4c4 25%, transparent 25%, transparent 75%, #c4c4c4 75%, #c4c4c4), linear-gradient(-45deg, #c4c4c4 25%, transparent 25%, transparent 75%, #c4c4c4 75%, #c4c4c4);
background-position: 100% 0, 10px 10px;
-webkit-background-size: 20px 20px;
background-size: 20px 20px;
}
......@@ -315,7 +312,6 @@ form#tags-filter {
border: 1px solid #e5e5e5;
border-top: none;
background-color: #f7f7f7;
-webkit-box-shadow: 0 1px 1px rgba(0,0,0,0.04);
box-shadow: 0 1px 1px rgba(0,0,0,0.04);
z-index: 999;
}
......@@ -368,7 +364,6 @@ form#tags-filter {
}
.wp-editor-expand #wp-content-editor-container {
-webkit-box-shadow: none;
box-shadow: none;
margin-top: -1px;
}
......@@ -511,7 +506,6 @@ span.wp-media-buttons-icon:before {
width: 450px;
margin-right: -225px;
background: #fff;
-webkit-box-shadow: 0 3px 6px rgba( 0, 0, 0, 0.3 );
box-shadow: 0 3px 6px rgba( 0, 0, 0, 0.3 );
line-height: 1.5;
z-index: 1000005;
......@@ -535,7 +529,8 @@ span.wp-media-buttons-icon:before {
margin: 25px;
}
#post-lock-dialog .post-locked-message a.button {
#post-lock-dialog .post-locked-message a.button,
#file-editor-warning .button {
margin-left: 10px;
}
......@@ -580,7 +575,7 @@ span.wp-media-buttons-icon:before {
position: absolute;
}
.tagchecklist > span {
.tagchecklist > li {
float: right;
margin-left: 25px;
font-size: 13px;
......@@ -651,6 +646,93 @@ span.wp-media-buttons-icon:before {
margin-bottom: 20px;
}
/* Suggested text for privacy policy */
.wp-privacy-policy-guide {
max-width: 1000px;
}
.privacy-text-box {
width: calc(100% - 260px);
}
.privacy-text-box-toc {
float: left;
width: 250px;
background-color: #fff;
}
.privacy-text-box-toc p {
margin: 0;
padding: 0.7em 1em;
border-bottom: 1px solid #eee;
}
.privacy-text-box-toc ol {
margin-right: 2em;
}
.wp-privacy-policy-guide h3 {
font-size: 1.2em;
margin: 1em 0 0.5em;
}
.privacy-text-section .privacy-text-copy {
float: left;
}
.privacy-text-section {
position: relative;
border-top: 1px solid #e3e3e3;
}
.privacy-text-box-head,
.privacy-text-section.text-removed {
padding-bottom: 12px;
}
.text-removed .policy-text {
font-style: italic;
color: #666;
font-weight: 600;
}
.privacy-text-actions {
height: 32px;
line-height: 32px;
padding-bottom: 6px;
}
.wp-privacy-policy-guide .policy-text h2 {
margin: 1.2em 0 1em;
padding: 0;
}
.suggested-policy-content {
font-style: italic;
}
.privacy-text-section a.return-to-top {
float: left;
margin-left: -250px;
margin-top: 6px;
}
.hide-privacy-policy-tutorial .privacy-policy-tutorial {
visibility: hidden;
}
.wp-suggested-text p {
font-style: italic;
}
.wp-suggested-text p.privacy-policy-tutorial {
font-style: normal;
}
.notice.wp-pp-notice {
margin: 15px 0 3px;
}
/*------------------------------------------------------------------------------
11.1 - Custom Fields
------------------------------------------------------------------------------*/
......@@ -795,7 +877,6 @@ span.wp-media-buttons-icon:before {
.post-state-format:before,
.post-format-icon:before {
color: #ddd;
-webkit-transition: all .1s ease-in-out;
transition: all .1s ease-in-out;
}
......@@ -1058,6 +1139,14 @@ p.popular-tags a {
margin: 2px 0 12px;
}
.the-tagcloud ul {
margin: 0;
}
.the-tagcloud ul li {
display: inline-block;
}
/* Suggest.js autocomplete, no more used by core. */
.ac_results {
display: none;
......@@ -1230,11 +1319,8 @@ table.links-table {
.focus-on #screen-meta-links,
.focus-on #screen-meta {
opacity: 0;
-webkit-transition-duration: 0.6s;
transition-duration: 0.6s;
-webkit-transition-property: opacity;
transition-property: opacity;
-webkit-transition-timing-function: ease-in-out;
transition-timing-function: ease-in-out;
}
......@@ -1254,11 +1340,8 @@ table.links-table {
.focus-off #screen-meta-links,
.focus-off #screen-meta {
opacity: 1;
-webkit-transition-duration: 0.2s;
transition-duration: 0.2s;
-webkit-transition-property: opacity;
transition-property: opacity;
-webkit-transition-timing-function: ease-in-out;
transition-timing-function: ease-in-out;
}
......@@ -1268,35 +1351,21 @@ table.links-table {
.focus-on #adminmenuback,
.focus-on #adminmenuwrap {
-webkit-transition-duration: 0.6s;
transition-duration: 0.6s;
-webkit-transition-property: -webkit-transform;
transition-property: -webkit-transform;
transition-property: transform;
transition-property: transform, -webkit-transform;
-webkit-transition-timing-function: ease-in-out;
transition-timing-function: ease-in-out;
}
.focus-on #adminmenuback,
.focus-on #adminmenuwrap {
-webkit-transform: translateX( 100% );
-ms-transform: translateX( 100% );
transform: translateX( 100% );
}
.focus-off #adminmenuback,
.focus-off #adminmenuwrap {
-webkit-transform: translateX( 0 );
-ms-transform: translateX( 0 );
transform: translateX( 0 );
-webkit-transition-duration: 0.2s;
transition-duration: 0.2s;
-webkit-transition-property: -webkit-transform;
transition-property: -webkit-transform;
transition-property: transform;
transition-property: transform, -webkit-transform;
-webkit-transition-timing-function: ease-in-out;
transition-timing-function: ease-in-out;
}
......@@ -1312,7 +1381,6 @@ table.links-table {
#content-resize-handle,
#post-body .wp_themeSkin .mceStatusbar a.mceResize {
background: transparent url(../images/resize-2x.gif) no-repeat scroll left bottom;
-webkit-background-size: 11px 11px;
background-size: 11px 11px;
}
......@@ -1462,7 +1530,7 @@ table.links-table {
margin: 25px 10px;
}
.tagchecklist > span {
.tagchecklist > li {
font-size: 16px;
line-height: 1.4;
}
......@@ -1583,4 +1651,19 @@ table.links-table {
.links-table td {
padding: 10px 0;
}
.privacy-text-box {
width: auto;
}
.privacy-text-box-toc {
float: none;
width: auto;
height: 100%;
}
.privacy-text-section a.return-to-top {
float: none;
margin: 0;
}
}
......@@ -154,7 +154,6 @@ body.post-new-php .submitbox .submitdelete {
position: relative;
min-width: 255px;
border: 1px solid #e5e5e5;
-webkit-box-shadow: 0 1px 1px rgba(0,0,0,0.04);
box-shadow: 0 1px 1px rgba(0,0,0,0.04);
background: #fff;
}
......@@ -279,10 +278,8 @@ ul.wp-tab-bar li {
height: auto;
width: auto;
vertical-align: top;
background-image: -webkit-linear-gradient(45deg, #c4c4c4 25%, transparent 25%, transparent 75%, #c4c4c4 75%, #c4c4c4), -webkit-linear-gradient(45deg, #c4c4c4 25%, transparent 25%, transparent 75%, #c4c4c4 75%, #c4c4c4);
background-image: linear-gradient(45deg, #c4c4c4 25%, transparent 25%, transparent 75%, #c4c4c4 75%, #c4c4c4), linear-gradient(45deg, #c4c4c4 25%, transparent 25%, transparent 75%, #c4c4c4 75%, #c4c4c4);
background-position: 0 0, 10px 10px;
-webkit-background-size: 20px 20px;
background-size: 20px 20px;
}
......@@ -315,7 +312,6 @@ form#tags-filter {
border: 1px solid #e5e5e5;
border-top: none;
background-color: #f7f7f7;
-webkit-box-shadow: 0 1px 1px rgba(0,0,0,0.04);
box-shadow: 0 1px 1px rgba(0,0,0,0.04);
z-index: 999;
}
......@@ -368,7 +364,6 @@ form#tags-filter {
}
.wp-editor-expand #wp-content-editor-container {
-webkit-box-shadow: none;
box-shadow: none;
margin-top: -1px;
}
......@@ -511,7 +506,6 @@ span.wp-media-buttons-icon:before {
width: 450px;
margin-left: -225px;
background: #fff;
-webkit-box-shadow: 0 3px 6px rgba( 0, 0, 0, 0.3 );
box-shadow: 0 3px 6px rgba( 0, 0, 0, 0.3 );
line-height: 1.5;
z-index: 1000005;
......@@ -535,7 +529,8 @@ span.wp-media-buttons-icon:before {
margin: 25px;
}
#post-lock-dialog .post-locked-message a.button {
#post-lock-dialog .post-locked-message a.button,
#file-editor-warning .button {
margin-right: 10px;
}
......@@ -580,7 +575,7 @@ span.wp-media-buttons-icon:before {
position: absolute;
}
.tagchecklist > span {
.tagchecklist > li {
float: left;
margin-right: 25px;
font-size: 13px;
......@@ -651,6 +646,93 @@ span.wp-media-buttons-icon:before {
margin-bottom: 20px;
}
/* Suggested text for privacy policy */
.wp-privacy-policy-guide {
max-width: 1000px;
}
.privacy-text-box {
width: calc(100% - 260px);
}
.privacy-text-box-toc {
float: right;
width: 250px;
background-color: #fff;
}
.privacy-text-box-toc p {
margin: 0;
padding: 0.7em 1em;
border-bottom: 1px solid #eee;
}
.privacy-text-box-toc ol {
margin-left: 2em;
}
.wp-privacy-policy-guide h3 {
font-size: 1.2em;
margin: 1em 0 0.5em;
}
.privacy-text-section .privacy-text-copy {
float: right;
}
.privacy-text-section {
position: relative;
border-top: 1px solid #e3e3e3;
}
.privacy-text-box-head,
.privacy-text-section.text-removed {
padding-bottom: 12px;
}
.text-removed .policy-text {
font-style: italic;
color: #666;
font-weight: 600;
}
.privacy-text-actions {
height: 32px;
line-height: 32px;
padding-bottom: 6px;
}
.wp-privacy-policy-guide .policy-text h2 {
margin: 1.2em 0 1em;
padding: 0;
}
.suggested-policy-content {
font-style: italic;
}
.privacy-text-section a.return-to-top {
float: right;
margin-right: -250px;
margin-top: 6px;
}
.hide-privacy-policy-tutorial .privacy-policy-tutorial {
visibility: hidden;
}
.wp-suggested-text p {
font-style: italic;
}
.wp-suggested-text p.privacy-policy-tutorial {
font-style: normal;
}
.notice.wp-pp-notice {
margin: 15px 0 3px;
}
/*------------------------------------------------------------------------------
11.1 - Custom Fields
------------------------------------------------------------------------------*/
......@@ -795,7 +877,6 @@ span.wp-media-buttons-icon:before {
.post-state-format:before,
.post-format-icon:before {
color: #ddd;
-webkit-transition: all .1s ease-in-out;
transition: all .1s ease-in-out;
}
......@@ -1058,6 +1139,14 @@ p.popular-tags a {
margin: 2px 0 12px;
}
.the-tagcloud ul {
margin: 0;
}
.the-tagcloud ul li {
display: inline-block;
}
/* Suggest.js autocomplete, no more used by core. */
.ac_results {
display: none;
......@@ -1230,11 +1319,8 @@ table.links-table {
.focus-on #screen-meta-links,
.focus-on #screen-meta {
opacity: 0;
-webkit-transition-duration: 0.6s;
transition-duration: 0.6s;
-webkit-transition-property: opacity;
transition-property: opacity;
-webkit-transition-timing-function: ease-in-out;
transition-timing-function: ease-in-out;
}
......@@ -1254,11 +1340,8 @@ table.links-table {
.focus-off #screen-meta-links,
.focus-off #screen-meta {
opacity: 1;
-webkit-transition-duration: 0.2s;
transition-duration: 0.2s;
-webkit-transition-property: opacity;
transition-property: opacity;
-webkit-transition-timing-function: ease-in-out;
transition-timing-function: ease-in-out;
}
......@@ -1268,35 +1351,21 @@ table.links-table {
.focus-on #adminmenuback,
.focus-on #adminmenuwrap {
-webkit-transition-duration: 0.6s;
transition-duration: 0.6s;
-webkit-transition-property: -webkit-transform;
transition-property: -webkit-transform;
transition-property: transform;
transition-property: transform, -webkit-transform;
-webkit-transition-timing-function: ease-in-out;
transition-timing-function: ease-in-out;
}
.focus-on #adminmenuback,
.focus-on #adminmenuwrap {
-webkit-transform: translateX( -100% );
-ms-transform: translateX( -100% );
transform: translateX( -100% );
}
.focus-off #adminmenuback,
.focus-off #adminmenuwrap {
-webkit-transform: translateX( 0 );
-ms-transform: translateX( 0 );
transform: translateX( 0 );
-webkit-transition-duration: 0.2s;
transition-duration: 0.2s;
-webkit-transition-property: -webkit-transform;
transition-property: -webkit-transform;
transition-property: transform;
transition-property: transform, -webkit-transform;
-webkit-transition-timing-function: ease-in-out;
transition-timing-function: ease-in-out;
}
......@@ -1312,7 +1381,6 @@ table.links-table {
#content-resize-handle,
#post-body .wp_themeSkin .mceStatusbar a.mceResize {
background: transparent url(../images/resize-2x.gif) no-repeat scroll right bottom;
-webkit-background-size: 11px 11px;
background-size: 11px 11px;
}
......@@ -1462,7 +1530,7 @@ table.links-table {
margin: 25px 10px;
}
.tagchecklist > span {
.tagchecklist > li {
font-size: 16px;
line-height: 1.4;
}
......@@ -1583,4 +1651,19 @@ table.links-table {
.links-table td {
padding: 10px 0;
}
.privacy-text-box {
width: auto;
}
.privacy-text-box-toc {
float: none;
width: auto;
height: 100%;
}
.privacy-text-section a.return-to-top {
float: none;
margin: 0;
}
}
/*! This file is auto-generated */
.farbtastic{position:relative}.farbtastic *{position:absolute;cursor:crosshair}.farbtastic,.farbtastic .wheel{width:195px;height:195px}.farbtastic .color,.farbtastic .overlay{top:47px;right:47px;width:101px;height:101px}.farbtastic .wheel{background:url(../images/wheel.png) no-repeat;width:195px;height:195px}.farbtastic .overlay{background:url(../images/mask.png) no-repeat}.farbtastic .marker{width:17px;height:17px;margin:-8px -8px 0 0;overflow:hidden;background:url(../images/marker.png) no-repeat}
\ No newline at end of file
/*! This file is auto-generated */
.farbtastic{position:relative}.farbtastic *{position:absolute;cursor:crosshair}.farbtastic,.farbtastic .wheel{width:195px;height:195px}.farbtastic .color,.farbtastic .overlay{top:47px;left:47px;width:101px;height:101px}.farbtastic .wheel{background:url(../images/wheel.png) no-repeat;width:195px;height:195px}.farbtastic .overlay{background:url(../images/mask.png) no-repeat}.farbtastic .marker{width:17px;height:17px;margin:-8px 0 0 -8px;overflow:hidden;background:url(../images/marker.png) no-repeat}
\ No newline at end of file
This source diff could not be displayed because it is too large. You can view the blob instead.
This source diff could not be displayed because it is too large. You can view the blob instead.
This source diff could not be displayed because it is too large. You can view the blob instead.
This source diff could not be displayed because it is too large. You can view the blob instead.
This source diff could not be displayed because it is too large. You can view the blob instead.
This source diff could not be displayed because it is too large. You can view the blob instead.
This source diff could not be displayed because it is too large. You can view the blob instead.
This source diff could not be displayed because it is too large. You can view the blob instead.
This source diff could not be displayed because it is too large. You can view the blob instead.
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment