wp/wp-includes/css/dist/format-library/style-rtl.css
changeset 21 48c4eec2b7e6
parent 19 3d72ae0968f4
child 22 8c2e4d02f4ef
equal deleted inserted replaced
20:7b1b88e27a20 21:48c4eec2b7e6
     1 /**
     1 :root{
     2  * Colors
     2   --wp-admin-theme-color:#007cba;
     3  */
     3   --wp-admin-theme-color--rgb:0, 124, 186;
     4 /**
     4   --wp-admin-theme-color-darker-10:#006ba1;
     5  * Breakpoints & Media Queries
     5   --wp-admin-theme-color-darker-10--rgb:0, 107, 161;
     6  */
     6   --wp-admin-theme-color-darker-20:#005a87;
     7 /**
     7   --wp-admin-theme-color-darker-20--rgb:0, 90, 135;
     8  * SCSS Variables.
     8   --wp-admin-border-width-focus:2px;
     9  *
     9   --wp-block-synced-color:#7a00df;
    10  * Please use variables from this sheet to ensure consistency across the UI.
    10   --wp-block-synced-color--rgb:122, 0, 223;
    11  * Don't add to this sheet unless you're pretty sure the value will be reused in many places.
    11   --wp-bound-block-color:var(--wp-block-synced-color);
    12  * For example, don't add rules to this sheet that affect block visuals. It's purely for UI.
       
    13  */
       
    14 /**
       
    15  * Colors
       
    16  */
       
    17 /**
       
    18  * Fonts & basic variables.
       
    19  */
       
    20 /**
       
    21  * Grid System.
       
    22  * https://make.wordpress.org/design/2019/10/31/proposal-a-consistent-spacing-system-for-wordpress/
       
    23  */
       
    24 /**
       
    25  * Dimensions.
       
    26  */
       
    27 /**
       
    28  * Shadows.
       
    29  */
       
    30 /**
       
    31  * Editor widths.
       
    32  */
       
    33 /**
       
    34  * Block & Editor UI.
       
    35  */
       
    36 /**
       
    37  * Block paddings.
       
    38  */
       
    39 /**
       
    40  * React Native specific.
       
    41  * These variables do not appear to be used anywhere else.
       
    42  */
       
    43 /**
       
    44 *  Converts a hex value into the rgb equivalent.
       
    45 *
       
    46 * @param {string} hex - the hexadecimal value to convert
       
    47 * @return {string} comma separated rgb values
       
    48 */
       
    49 /**
       
    50  * Breakpoint mixins
       
    51  */
       
    52 /**
       
    53  * Long content fade mixin
       
    54  *
       
    55  * Creates a fading overlay to signify that the content is longer
       
    56  * than the space allows.
       
    57  */
       
    58 /**
       
    59  * Focus styles.
       
    60  */
       
    61 /**
       
    62  * Applies editor left position to the selector passed as argument
       
    63  */
       
    64 /**
       
    65  * Styles that are reused verbatim in a few places
       
    66  */
       
    67 /**
       
    68  * Allows users to opt-out of animations via OS-level preferences.
       
    69  */
       
    70 /**
       
    71  * Reset default styles for JavaScript UI based pages.
       
    72  * This is a WP-admin agnostic reset
       
    73  */
       
    74 /**
       
    75  * Reset the WP Admin page styles for Gutenberg-like pages.
       
    76  */
       
    77 :root {
       
    78   --wp-admin-theme-color: #007cba;
       
    79   --wp-admin-theme-color--rgb: 0, 124, 186;
       
    80   --wp-admin-theme-color-darker-10: #006ba1;
       
    81   --wp-admin-theme-color-darker-10--rgb: 0, 107, 161;
       
    82   --wp-admin-theme-color-darker-20: #005a87;
       
    83   --wp-admin-theme-color-darker-20--rgb: 0, 90, 135;
       
    84   --wp-admin-border-width-focus: 2px;
       
    85 }
    12 }
    86 @media (-webkit-min-device-pixel-ratio: 2), (min-resolution: 192dpi) {
    13 @media (min-resolution:192dpi){
    87   :root {
    14   :root{
    88     --wp-admin-border-width-focus: 1.5px;
    15     --wp-admin-border-width-focus:1.5px;
    89   }
    16   }
    90 }
    17 }
    91 
    18 
    92 .block-editor-format-toolbar__image-popover {
    19 .block-editor-format-toolbar__image-popover{
    93   z-index: 159990;
    20   z-index:159990;
       
    21 }
       
    22 .block-editor-format-toolbar__image-popover .block-editor-format-toolbar__image-container-value{
       
    23   margin:7px;
       
    24   max-width:500px;
       
    25   min-width:150px;
       
    26 }
       
    27 .block-editor-format-toolbar__image-popover .block-editor-format-toolbar__image-container-button{
       
    28   height:30px;
       
    29   margin-bottom:8px;
       
    30   margin-left:8px;
    94 }
    31 }
    95 
    32 
    96 .block-editor-format-toolbar__image-container-content {
    33 .block-editor-format-toolbar__link-container-content{
    97   display: flex;
    34   display:flex;
    98 }
       
    99 .block-editor-format-toolbar__image-container-content .components-button {
       
   100   align-self: flex-end;
       
   101   height: 30px;
       
   102   margin-bottom: 8px;
       
   103   margin-left: 8px;
       
   104   padding: 0 6px;
       
   105 }
    35 }
   106 
    36 
   107 .block-editor-format-toolbar__image-container-value {
    37 .block-editor-format-toolbar__link-container-value{
   108   margin: 7px;
    38   flex-grow:1;
   109   flex-grow: 1;
    39   flex-shrink:1;
   110   flex-shrink: 1;
    40   margin:7px;
   111   white-space: nowrap;
    41   max-width:500px;
   112   min-width: 150px;
    42   min-width:150px;
   113   max-width: 500px;
    43   overflow:hidden;
       
    44   text-overflow:ellipsis;
       
    45   white-space:nowrap;
   114 }
    46 }
   115 .block-editor-format-toolbar__image-container-value.components-base-control .components-base-control__field {
    47 .block-editor-format-toolbar__link-container-value.has-invalid-link{
   116   margin-bottom: 0;
    48   color:#cc1818;
   117 }
       
   118 .block-editor-format-toolbar__image-container-value.components-base-control .components-base-control__label {
       
   119   display: block;
       
   120 }
    49 }
   121 
    50 
   122 .block-editor-format-toolbar__link-container-content {
    51 .format-library__inline-color-popover [role=tabpanel]{
   123   display: flex;
    52   padding:16px;
   124 }
    53 }
   125 
    54 
   126 .block-editor-format-toolbar__link-container-value {
    55 .block-editor-format-toolbar__language-popover .components-popover__content{
   127   margin: 7px;
    56   padding:1rem;
   128   flex-grow: 1;
    57   width:auto;
   129   flex-shrink: 1;
       
   130   overflow: hidden;
       
   131   text-overflow: ellipsis;
       
   132   white-space: nowrap;
       
   133   min-width: 150px;
       
   134   max-width: 500px;
       
   135 }
    58 }
   136 .block-editor-format-toolbar__link-container-value.has-invalid-link {
       
   137   color: #cc1818;
       
   138 }
       
   139 
       
   140 .components-inline-color-popover .components-popover__content .components-tab-panel__tab-content {
       
   141   padding: 16px;
       
   142 }
       
   143 .components-inline-color-popover .components-popover__content .components-color-palette {
       
   144   margin-top: 0.6rem;
       
   145 }
       
   146 .components-inline-color-popover .components-popover__content .components-base-control__title {
       
   147   display: block;
       
   148   margin-bottom: 16px;
       
   149   font-weight: 600;
       
   150   color: #191e23;
       
   151 }
       
   152 .components-inline-color-popover .components-popover__content .component-color-indicator {
       
   153   vertical-align: text-bottom;
       
   154 }