wp/wp-includes/blocks/separator/style-rtl.css
changeset 21 48c4eec2b7e6
parent 19 3d72ae0968f4
equal deleted inserted replaced
20:7b1b88e27a20 21:48c4eec2b7e6
     1 @charset "UTF-8";
     1 @charset "UTF-8";
     2 /**
     2 
     3  * Colors
     3 .wp-block-separator{
     4  */
     4   border:none;
     5 /**
     5   border-top:2px solid;
     6  * Breakpoints & Media Queries
       
     7  */
       
     8 /**
       
     9  * SCSS Variables.
       
    10  *
       
    11  * Please use variables from this sheet to ensure consistency across the UI.
       
    12  * Don't add to this sheet unless you're pretty sure the value will be reused in many places.
       
    13  * For example, don't add rules to this sheet that affect block visuals. It's purely for UI.
       
    14  */
       
    15 /**
       
    16  * Colors
       
    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 & Editor UI.
       
    36  */
       
    37 /**
       
    38  * Block paddings.
       
    39  */
       
    40 /**
       
    41  * React Native specific.
       
    42  * These variables do not appear to be used anywhere else.
       
    43  */
       
    44 /**
       
    45 *  Converts a hex value into the rgb equivalent.
       
    46 *
       
    47 * @param {string} hex - the hexadecimal value to convert
       
    48 * @return {string} comma separated rgb values
       
    49 */
       
    50 /**
       
    51  * Breakpoint mixins
       
    52  */
       
    53 /**
       
    54  * Long content fade mixin
       
    55  *
       
    56  * Creates a fading overlay to signify that the content is longer
       
    57  * than the space allows.
       
    58  */
       
    59 /**
       
    60  * Focus styles.
       
    61  */
       
    62 /**
       
    63  * Applies editor left position to the selector passed as argument
       
    64  */
       
    65 /**
       
    66  * Styles that are reused verbatim in a few places
       
    67  */
       
    68 /**
       
    69  * Allows users to opt-out of animations via OS-level preferences.
       
    70  */
       
    71 /**
       
    72  * Reset default styles for JavaScript UI based pages.
       
    73  * This is a WP-admin agnostic reset
       
    74  */
       
    75 /**
       
    76  * Reset the WP Admin page styles for Gutenberg-like pages.
       
    77  */
       
    78 .wp-block-separator {
       
    79   border-top: 1px solid currentColor;
       
    80   border-bottom: 1px solid currentColor;
       
    81 }
     6 }
    82 .wp-block-separator.is-style-dots {
     7 
    83   background: none !important;
     8 :root :where(.wp-block-separator.is-style-dots){
    84   border: none;
     9   height:auto;
    85   text-align: center;
    10   line-height:1;
    86   line-height: 1;
    11   text-align:center;
    87   height: auto;
       
    88 }
    12 }
    89 .wp-block-separator.is-style-dots::before {
    13 :root :where(.wp-block-separator.is-style-dots):before{
    90   content: "···";
    14   color:currentColor;
    91   color: currentColor;
    15   content:"···";
    92   font-size: 1.5em;
    16   font-family:serif;
    93   letter-spacing: 2em;
    17   font-size:1.5em;
    94   padding-left: 2em;
    18   letter-spacing:2em;
    95   font-family: serif;
    19   padding-left:2em;
    96 }
    20 }
       
    21 
       
    22 .wp-block-separator.is-style-dots{
       
    23   background:none !important;
       
    24   border:none !important;
       
    25 }