home *** CD-ROM | disk | FTP | other *** search
/ HTML Examples / WP.iso / wordpress2 / wp-admin / css / color-picker-rtl.css < prev    next >
Encoding:
Cascading Style Sheet File  |  2017-09-22  |  3.3 KB  |  174 lines

  1. .wp-color-picker {
  2.     width: 80px;
  3. }
  4.  
  5. .wp-picker-container .hidden {
  6.     display: none;
  7. }
  8.  
  9. /* Needs higher specificiity. */
  10. .wp-picker-container .wp-color-result.button {
  11.     height: 24px;
  12.     margin: 0 0px 6px 6px;
  13.     padding: 0 30px 0 0;
  14.     font-size: 11px;
  15. }
  16.  
  17. .wp-color-result-text {
  18.     background: #f7f7f7;
  19.     border-radius: 2px 0 0 2px;
  20.     border-right: 1px solid #ccc;
  21.     color: #555;
  22.     display: block;
  23.     line-height: 22px;
  24.     padding: 0 6px;
  25.     text-align: center;
  26. }
  27.  
  28. .wp-color-result:hover,
  29. .wp-color-result:focus {
  30.     background: #fafafa;
  31.     border-color: #999;
  32.     color: #23282d;
  33. }
  34.  
  35. .wp-color-result:hover:after,
  36. .wp-color-result:focus:after {
  37.     color: #23282d;
  38.     border-color: #a0a5aa;
  39.     border-right: 1px solid #999;
  40. }
  41.  
  42. .wp-picker-containers {
  43.     display: inline-block;
  44. }
  45.  
  46. .wp-color-result:focus {
  47.     border-color: #5b9dd9;
  48.     box-shadow: 0 0 3px rgba( 0, 115, 170, .8 );
  49. }
  50.  
  51. .wp-color-result:active {
  52.     /* See Trac ticket #39662 */
  53.     -webkit-transform: none !important;
  54.     transform: none !important;
  55. }
  56.  
  57. .wp-picker-open + .wp-picker-input-wrap {
  58.     display: inline-block;
  59.     vertical-align: top;
  60. }
  61.  
  62. .wp-picker-input-wrap label {
  63.     display: inline-block;
  64.     vertical-align: top;
  65. }
  66.  
  67. /* For the old `custom-background` page, to override the inline-block and margins from `.form-table td fieldset label`. */
  68. .form-table .wp-picker-input-wrap label {
  69.     margin: 0 !important;
  70. }
  71.  
  72. .wp-picker-input-wrap .button,
  73. .wp-customizer .wp-picker-input-wrap .button {
  74.      margin-right: 6px;
  75. }
  76.  
  77. .wp-picker-container .iris-square-slider .ui-slider-handle:focus {
  78.     background-color: #555
  79. }
  80.  
  81. .wp-picker-container .iris-picker {
  82.     border-radius: 0;
  83.     border-color: #ddd;
  84.     margin-top: 6px;
  85. }
  86.  
  87. .wp-picker-container input[type="text"].wp-color-picker {
  88.     width: 65px;
  89.     font-size: 12px;
  90.     font-family: monospace;
  91.     line-height: 16px;
  92.     margin: 0;
  93.     vertical-align: top;
  94. }
  95.  
  96. .wp-color-picker::-webkit-input-placeholder {
  97.     color: #72777c;
  98. }
  99.  
  100. .wp-color-picker::-moz-placeholder {
  101.     color: #72777c;
  102.     opacity: 1;
  103. }
  104.  
  105. .wp-color-picker:-ms-input-placeholder {
  106.     color: #72777c;
  107. }
  108.  
  109. .wp-picker-container input[type="text"].iris-error {
  110.     background-color: #ffebe8;
  111.     border-color: #c00;
  112.     color: #000;
  113. }
  114.  
  115. .iris-picker .ui-square-handle:focus,
  116. .iris-picker .iris-strip .ui-slider-handle:focus {
  117.     box-shadow:
  118.         0 0 0 1px #5b9dd9,
  119.         0 0 2px 1px rgba(30, 140, 190, .8);
  120. }
  121.  
  122. .iris-picker .iris-palette:focus {
  123.     box-shadow:
  124.         inset 0 0 5px rgba(0,0,0,.4),
  125.         0 0 0 1px #5b9dd9,
  126.         0 0 2px 1px rgba(30, 140, 190, .8);
  127. }
  128.  
  129. @media screen and ( max-width: 782px ) {
  130.     .wp-picker-container input[type="text"].wp-color-picker {
  131.         width: 80px;
  132.         padding: 6px 5px 5px;
  133.         font-size: 16px;
  134.         line-height: 18px;
  135.     }
  136.  
  137.     .wp-customizer .wp-picker-container input[type="text"].wp-color-picker {
  138.         padding: 5px 5px 4px;
  139.     }
  140.  
  141.     .wp-picker-container .wp-color-result.button {
  142.         height: auto;
  143.         padding: 0 40px 0 0;
  144.         font-size: 14px;
  145.         line-height: 29px;
  146.     }
  147.  
  148.     .wp-customizer .wp-picker-container .wp-color-result.button {
  149.         font-size: 13px;
  150.         line-height: 26px;
  151.     }
  152.  
  153.     .wp-picker-container .wp-color-result-text {
  154.         padding: 0 14px;
  155.         font-size: inherit;
  156.         line-height: inherit;
  157.     }
  158.  
  159.     .wp-customizer .wp-picker-container .wp-color-result-text {
  160.         padding: 0 10px;
  161.     }
  162. }
  163.  
  164. @media screen and ( max-width: 640px ) {
  165.     .wp-customizer .wp-picker-container .wp-color-result.button {
  166.         font-size: 14px;
  167.         line-height: 29px;
  168.     }
  169.  
  170.     .wp-customizer .wp-picker-container input[type="text"].wp-color-picker {
  171.         padding: 6px 5px;
  172.     }
  173. }
  174.