wp/wp-includes/css/dist/format-library/style-rtl.css
changeset 16 a86126ab1dd4
parent 9 177826044cd9
child 18 be944660c56a
equal deleted inserted replaced
15:3d4e9c994f10 16:a86126ab1dd4
     1 /**
     1 /**
     2  * Colors
     2  * Colors
       
     3  */
       
     4 /**
       
     5  * Deprecated colors.
       
     6  * Please avoid using these.
     3  */
     7  */
     4 /**
     8 /**
     5  * Breakpoints & Media Queries
     9  * Breakpoints & Media Queries
     6  */
    10  */
     7 /**
    11 /**
     8  * Often re-used variables
    12  * Colors
       
    13  */
       
    14 /**
       
    15  * Deprecated colors.
       
    16  * Please avoid using these.
       
    17  */
       
    18 /**
       
    19  * Fonts & basic variables.
       
    20  */
       
    21 /**
       
    22  * Grid System.
       
    23  * https://make.wordpress.org/design/2019/10/31/proposal-a-consistent-spacing-system-for-wordpress/
       
    24  */
       
    25 /**
       
    26  * Dimensions.
       
    27  */
       
    28 /**
       
    29  * Shadows.
       
    30  */
       
    31 /**
       
    32  * Editor widths.
       
    33  */
       
    34 /**
       
    35  * Block UI.
       
    36  */
       
    37 /**
       
    38  * Border radii.
     9  */
    39  */
    10 /**
    40 /**
    11  * Breakpoint mixins
    41  * Breakpoint mixins
    12  */
    42  */
    13 /**
    43 /**
    15  *
    45  *
    16  * Creates a fading overlay to signify that the content is longer
    46  * Creates a fading overlay to signify that the content is longer
    17  * than the space allows.
    47  * than the space allows.
    18  */
    48  */
    19 /**
    49 /**
    20  * Button states and focus styles
    50  * Focus styles.
    21  */
    51  */
    22 /**
    52 /**
    23  * Applies editor left position to the selector passed as argument
    53  * Applies editor left position to the selector passed as argument
    24  */
       
    25 /**
       
    26  * Applies editor right position to the selector passed as argument
       
    27  */
    54  */
    28 /**
    55 /**
    29  * Styles that are reused verbatim in a few places
    56  * Styles that are reused verbatim in a few places
    30  */
    57  */
    31 /**
    58 /**
    32  * Allows users to opt-out of animations via OS-level preferences.
    59  * Allows users to opt-out of animations via OS-level preferences.
    33  */
    60  */
       
    61 /**
       
    62  * Reset default styles for JavaScript UI based pages.
       
    63  * This is a WP-admin agnostic reset
       
    64  */
       
    65 /**
       
    66  * Reset the WP Admin page styles for Gutenberg-like pages.
       
    67  */
       
    68 :root {
       
    69   --wp-admin-theme-color: #007cba;
       
    70   --wp-admin-theme-color-darker-10: #006ba1;
       
    71   --wp-admin-theme-color-darker-20: #005a87; }
       
    72 
    34 .block-editor-format-toolbar__image-container-content {
    73 .block-editor-format-toolbar__image-container-content {
    35   display: flex; }
    74   display: flex; }
    36   .block-editor-format-toolbar__image-container-content .components-icon-button {
    75   .block-editor-format-toolbar__image-container-content .components-button {
    37     height: 52px;
    76     align-self: flex-end;
    38     align-self: flex-end; }
    77     height: 30px;
       
    78     margin-bottom: 8px;
       
    79     margin-left: 8px;
       
    80     padding: 0 6px; }
    39 
    81 
    40 .block-editor-format-toolbar__image-container-value {
    82 .block-editor-format-toolbar__image-container-value {
    41   margin: 7px;
    83   margin: 7px;
    42   flex-grow: 1;
    84   flex-grow: 1;
    43   flex-shrink: 1;
    85   flex-shrink: 1;
    44   white-space: nowrap;
    86   white-space: nowrap;
    45   min-width: 150px;
    87   min-width: 150px;
    46   max-width: 500px; }
    88   max-width: 500px; }
    47   .block-editor-format-toolbar__image-container-value.components-base-control .components-base-control__field {
    89   .block-editor-format-toolbar__image-container-value.components-base-control .components-base-control__field {
    48     margin-bottom: 0; }
    90     margin-bottom: 0; }
       
    91   .block-editor-format-toolbar__image-container-value.components-base-control .components-base-control__label {
       
    92     display: block; }
    49 
    93 
    50 .block-editor-format-toolbar__link-container-content {
    94 .block-editor-format-toolbar__link-container-content {
    51   display: flex; }
    95   display: flex; }
    52 
    96 
    53 .block-editor-format-toolbar__link-container-value {
    97 .block-editor-format-toolbar__link-container-value {
    59   white-space: nowrap;
   103   white-space: nowrap;
    60   min-width: 150px;
   104   min-width: 150px;
    61   max-width: 500px; }
   105   max-width: 500px; }
    62   .block-editor-format-toolbar__link-container-value.has-invalid-link {
   106   .block-editor-format-toolbar__link-container-value.has-invalid-link {
    63     color: #d94f4f; }
   107     color: #d94f4f; }
       
   108 
       
   109 .components-inline-color__indicator {
       
   110   position: absolute;
       
   111   background: #000;
       
   112   height: 3px;
       
   113   width: 20px;
       
   114   bottom: 6px;
       
   115   right: auto;
       
   116   left: auto;
       
   117   margin: 0 5px; }
       
   118 
       
   119 .components-inline-color-popover .components-popover__content > div {
       
   120   padding: 20px 18px; }
       
   121 
       
   122 .components-inline-color-popover .components-popover__content .components-color-palette {
       
   123   margin-top: 0.6rem; }
       
   124 
       
   125 .components-inline-color-popover .components-popover__content .components-base-control__title {
       
   126   display: block;
       
   127   margin-bottom: 16px;
       
   128   font-weight: 600;
       
   129   color: #191e23; }
       
   130 
       
   131 .components-inline-color-popover .components-popover__content .component-color-indicator {
       
   132   vertical-align: text-bottom; }
       
   133 
       
   134 .format-library-text-color-button {
       
   135   position: relative; }
       
   136 
       
   137 .format-library-text-color-button__indicator {
       
   138   height: 4px;
       
   139   width: 20px;
       
   140   position: absolute;
       
   141   bottom: 10px;
       
   142   right: 8px; }