wp/wp-admin/css/color-picker-rtl.css
changeset 16 a86126ab1dd4
parent 9 177826044cd9
child 18 be944660c56a
equal deleted inserted replaced
15:3d4e9c994f10 16:a86126ab1dd4
       
     1 /*! This file is auto-generated */
     1 /* rtl:ignore */
     2 /* rtl:ignore */
     2 .wp-color-picker {
     3 .wp-color-picker {
     3 	width: 80px;
     4 	width: 80px;
     4 	direction: ltr;
     5 	direction: ltr;
     5 }
     6 }
     8 	display: none;
     9 	display: none;
     9 }
    10 }
    10 
    11 
    11 /* Needs higher specificiity. */
    12 /* Needs higher specificiity. */
    12 .wp-picker-container .wp-color-result.button {
    13 .wp-picker-container .wp-color-result.button {
    13 	height: 24px;
    14 	min-height: 30px;
    14 	margin: 0 0px 6px 6px;
    15 	margin: 0 0px 6px 6px;
    15 	padding: 0 30px 0 0;
    16 	padding: 0 30px 0 0;
    16 	font-size: 11px;
    17 	font-size: 11px;
    17 }
    18 }
    18 
    19 
    20 	background: #f7f7f7;
    21 	background: #f7f7f7;
    21 	border-radius: 2px 0 0 2px;
    22 	border-radius: 2px 0 0 2px;
    22 	border-right: 1px solid #ccc;
    23 	border-right: 1px solid #ccc;
    23 	color: #555;
    24 	color: #555;
    24 	display: block;
    25 	display: block;
    25 	line-height: 2;
    26 	line-height: 2.54545455; /* 28px */
    26 	padding: 0 6px;
    27 	padding: 0 6px;
    27 	text-align: center;
    28 	text-align: center;
    28 }
    29 }
    29 
    30 
    30 .wp-color-result:hover,
    31 .wp-color-result:hover,
    68 /* For the old `custom-background` page, to override the inline-block and margins from `.form-table td fieldset label`. */
    69 /* For the old `custom-background` page, to override the inline-block and margins from `.form-table td fieldset label`. */
    69 .form-table .wp-picker-input-wrap label {
    70 .form-table .wp-picker-input-wrap label {
    70 	margin: 0 !important;
    71 	margin: 0 !important;
    71 }
    72 }
    72 
    73 
    73 .wp-picker-input-wrap .button,
    74 .wp-picker-input-wrap .button.wp-picker-default,
    74 .wp-customizer .wp-picker-input-wrap .button {
    75 .wp-picker-input-wrap .button.wp-picker-clear,
       
    76 .wp-customizer .wp-picker-input-wrap .button.wp-picker-default,
       
    77 .wp-customizer .wp-picker-input-wrap .button.wp-picker-clear {
    75 	margin-right: 6px;
    78 	margin-right: 6px;
       
    79 	padding: 0 8px;
       
    80 	line-height: 2.54545455; /* 28px */
       
    81 	min-height: 30px;
    76 }
    82 }
    77 
    83 
    78 .wp-picker-container .iris-square-slider .ui-slider-handle:focus {
    84 .wp-picker-container .iris-square-slider .ui-slider-handle:focus {
    79 	background-color: #555
    85 	background-color: #555
    80 }
    86 }
    84 	border-color: #ddd;
    90 	border-color: #ddd;
    85 	margin-top: 6px;
    91 	margin-top: 6px;
    86 }
    92 }
    87 
    93 
    88 .wp-picker-container input[type="text"].wp-color-picker {
    94 .wp-picker-container input[type="text"].wp-color-picker {
    89 	width: 65px;
    95 	width: 4rem;
    90 	font-size: 12px;
    96 	font-size: 12px;
    91 	font-family: monospace;
    97 	font-family: monospace;
    92 	line-height: 1.4;
    98 	line-height: 2.33333333; /* 28px */
    93 	margin: 0;
    99 	margin: 0;
       
   100 	padding: 0 5px;
    94 	vertical-align: top;
   101 	vertical-align: top;
       
   102 	min-height: 30px;
    95 }
   103 }
    96 
   104 
    97 .wp-color-picker::-webkit-input-placeholder {
   105 .wp-color-picker::-webkit-input-placeholder {
    98 	color: #72777c;
   106 	color: #72777c;
    99 }
   107 }
   113 	color: #000;
   121 	color: #000;
   114 }
   122 }
   115 
   123 
   116 .iris-picker .ui-square-handle:focus,
   124 .iris-picker .ui-square-handle:focus,
   117 .iris-picker .iris-strip .ui-slider-handle:focus {
   125 .iris-picker .iris-strip .ui-slider-handle:focus {
   118 	box-shadow:
   126 	border-color: #007cba;
   119 		0 0 0 1px #5b9dd9,
   127 	border-style: solid;
   120 		0 0 2px 1px rgba(30, 140, 190, 0.8);
   128 	box-shadow: 0 0 0 1px #007cba;
       
   129 	outline: 2px solid transparent;
   121 }
   130 }
   122 
   131 
   123 .iris-picker .iris-palette:focus {
   132 .iris-picker .iris-palette:focus {
   124 	box-shadow:
   133 	box-shadow: 0 0 0 2px #007cba;
   125 		inset 0 0 5px rgba(0, 0, 0, 0.4),
       
   126 		0 0 0 1px #5b9dd9,
       
   127 		0 0 2px 1px rgba(30, 140, 190, 0.8);
       
   128 }
   134 }
   129 
   135 
   130 @media screen and (max-width: 782px) {
   136 @media screen and (max-width: 782px) {
   131 	.wp-picker-container input[type="text"].wp-color-picker {
   137 	.wp-picker-container input[type="text"].wp-color-picker {
   132 		width: 80px;
   138 		width: 5rem;
   133 		padding: 6px 5px 5px;
       
   134 		font-size: 16px;
   139 		font-size: 16px;
   135 		line-height: 1.15;
   140 		line-height: 1.875; /* 30px */
       
   141 		min-height: 32px;
   136 	}
   142 	}
   137 
   143 
   138 	.wp-customizer .wp-picker-container input[type="text"].wp-color-picker {
   144 	.wp-customizer .wp-picker-container input[type="text"].wp-color-picker {
   139 		padding: 5px 5px 4px;
   145 		padding: 0 5px;
       
   146 	}
       
   147 
       
   148 	.wp-picker-input-wrap .button.wp-picker-default,
       
   149 	.wp-picker-input-wrap .button.wp-picker-clear {
       
   150 		padding: 0 8px;
       
   151 		line-height: 2.14285714; /* 30px */
       
   152 		min-height: 32px;
       
   153 	}
       
   154 
       
   155 	.wp-customizer .wp-picker-input-wrap .button.wp-picker-default,
       
   156 	.wp-customizer .wp-picker-input-wrap .button.wp-picker-clear {
       
   157 		padding: 0 8px;
       
   158 		font-size: 14px;
       
   159 		line-height: 2.14285714; /* 30px */
       
   160 		min-height: 32px;
   140 	}
   161 	}
   141 
   162 
   142 	.wp-picker-container .wp-color-result.button {
   163 	.wp-picker-container .wp-color-result.button {
   143 		height: auto;
       
   144 		padding: 0 40px 0 0;
   164 		padding: 0 40px 0 0;
   145 		font-size: 14px;
   165 		font-size: 14px;
   146 		line-height: 2.1;
   166 		line-height: 2.14285714; /* 30px */
   147 	}
   167 	}
   148 
   168 
   149 	.wp-customizer .wp-picker-container .wp-color-result.button {
   169 	.wp-customizer .wp-picker-container .wp-color-result.button {
   150 		font-size: 13px;
   170 		font-size: 14px;
   151 		line-height: 2;
   171 		line-height: 2.14285714; /* 30px */
   152 	}
   172 	}
   153 
   173 
   154 	.wp-picker-container .wp-color-result-text {
   174 	.wp-picker-container .wp-color-result-text {
   155 		padding: 0 14px;
   175 		padding: 0 14px;
   156 		font-size: inherit;
   176 		font-size: inherit;
   159 
   179 
   160 	.wp-customizer .wp-picker-container .wp-color-result-text {
   180 	.wp-customizer .wp-picker-container .wp-color-result-text {
   161 		padding: 0 10px;
   181 		padding: 0 10px;
   162 	}
   182 	}
   163 }
   183 }
   164 
       
   165 @media screen and (max-width: 640px) {
       
   166 	.wp-customizer .wp-picker-container .wp-color-result.button {
       
   167 		font-size: 14px;
       
   168 		line-height: 2.1;
       
   169 	}
       
   170 
       
   171 	.wp-customizer .wp-picker-container input[type="text"].wp-color-picker {
       
   172 		padding: 6px 5px;
       
   173 	}
       
   174 }