wp/wp-includes/css/dist/block-library/theme-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 
       
    73 #start-resizable-editor-section {
       
    74   display: none; }
       
    75 
       
    76 .wp-block-audio figcaption {
       
    77   color: #555d66;
       
    78   font-size: 13px;
       
    79   text-align: center; }
       
    80 
    34 .wp-block-code {
    81 .wp-block-code {
    35   font-family: Menlo, Consolas, monaco, monospace;
    82   font-family: Menlo, Consolas, monaco, monospace;
    36   font-size: 14px;
    83   font-size: 15px;
    37   color: #23282d;
    84   color: #1e1e1e;
    38   padding: 0.8em 1em;
    85   padding: 0.8em 1em;
    39   border: 1px solid #e2e4e7;
    86   border: 1px solid #ddd;
    40   border-radius: 4px; }
    87   border-radius: 4px; }
    41 
    88 
    42 .wp-block-preformatted pre {
    89 .wp-block-embed figcaption {
    43   font-family: Menlo, Consolas, monaco, monospace;
    90   color: #555d66;
    44   color: #23282d;
    91   font-size: 13px;
    45   /* Fonts smaller than 16px causes mobile safari to zoom. */
    92   text-align: center; }
    46   font-size: 16px; }
    93 
    47   @media (min-width: 600px) {
    94 .blocks-gallery-caption {
    48     .wp-block-preformatted pre {
    95   color: #555d66;
    49       font-size: 14px; } }
    96   font-size: 13px;
       
    97   text-align: center; }
       
    98 
       
    99 .wp-block-image figcaption {
       
   100   color: #555d66;
       
   101   font-size: 13px;
       
   102   text-align: center; }
    50 
   103 
    51 .wp-block-pullquote {
   104 .wp-block-pullquote {
    52   border-top: 4px solid #555d66;
   105   border-top: 4px solid #555d66;
    53   border-bottom: 4px solid #555d66;
   106   border-bottom: 4px solid #555d66;
       
   107   margin-bottom: 28px;
    54   color: #40464d; }
   108   color: #40464d; }
    55   .wp-block-pullquote cite,
   109   .wp-block-pullquote cite,
    56   .wp-block-pullquote footer, .wp-block-pullquote__citation {
   110   .wp-block-pullquote footer, .wp-block-pullquote__citation {
    57     color: #40464d;
   111     color: #40464d;
    58     text-transform: uppercase;
   112     text-transform: uppercase;
    59     font-size: 13px;
   113     font-size: 13px;
    60     font-style: normal; }
   114     font-style: normal; }
    61 
   115 
       
   116 .wp-block-navigation ul,
       
   117 .wp-block-navigation ul li {
       
   118   list-style: none; }
       
   119 
       
   120 .wp-block-navigation-link.wp-block-navigation-link {
       
   121   margin: 0; }
       
   122 
    62 .wp-block-quote {
   123 .wp-block-quote {
    63   border-right: 4px solid #000;
   124   border-right: 4px solid #000;
    64   margin: 20px 0;
   125   margin: 0 0 28px 0;
    65   padding-right: 1em; }
   126   padding-right: 1em; }
    66   .wp-block-quote cite,
   127   .wp-block-quote cite,
    67   .wp-block-quote footer, .wp-block-quote__citation {
   128   .wp-block-quote footer, .wp-block-quote__citation {
    68     color: #6c7781;
   129     color: #6c7781;
    69     font-size: 13px;
   130     font-size: 13px;
    70     margin-top: 1em;
   131     margin-top: 1em;
    71     position: relative;
   132     position: relative;
    72     font-style: normal; }
   133     font-style: normal; }
    73   .wp-block-quote[style*="text-align:right"], .wp-block-quote[style*="text-align: right"] {
   134   .wp-block-quote.has-text-align-right, .wp-block-quote.has-text-align-right {
    74     border-right: none;
   135     border-right: none;
    75     border-left: 4px solid #000;
   136     border-left: 4px solid #000;
    76     padding-right: 0;
   137     padding-right: 0;
    77     padding-left: 1em; }
   138     padding-left: 1em; }
    78   .wp-block-quote[style*="text-align:center"], .wp-block-quote[style*="text-align: center"] {
   139   .wp-block-quote.has-text-align-center, .wp-block-quote.has-text-align-center {
    79     border: none;
   140     border: none;
    80     padding-right: 0; }
   141     padding-right: 0; }
    81   .wp-block-quote.is-style-large, .wp-block-quote.is-large {
   142   .wp-block-quote.is-style-large, .wp-block-quote.is-large {
    82     border: none; }
   143     border: none; }
    83 
   144 
    84 .wp-block-search .wp-block-search__label {
   145 .wp-block-search .wp-block-search__label {
    85   font-weight: bold; }
   146   font-weight: bold; }
    86 
   147 
       
   148 .wp-block-group.has-background {
       
   149   padding: 20px 30px;
       
   150   margin-top: 0;
       
   151   margin-bottom: 0; }
       
   152 
    87 .wp-block-separator {
   153 .wp-block-separator {
    88   border: none;
   154   border: none;
    89   border-bottom: 2px solid #8f98a1;
   155   border-bottom: 2px solid #8f98a1;
    90   margin: 1.65em auto; }
   156   margin-right: auto;
       
   157   margin-left: auto; }
    91   .wp-block-separator:not(.is-style-wide):not(.is-style-dots) {
   158   .wp-block-separator:not(.is-style-wide):not(.is-style-dots) {
    92     max-width: 100px; }
   159     max-width: 100px; }
       
   160   .wp-block-separator.has-background:not(.is-style-dots) {
       
   161     border-bottom: none;
       
   162     height: 1px; }
       
   163   .wp-block-separator.has-background:not(.is-style-wide):not(.is-style-dots) {
       
   164     height: 2px; }
    93 
   165 
    94 .wp-block-table {
   166 .wp-block-table {
    95   width: 100%;
       
    96   min-width: 240px;
       
    97   border-collapse: collapse; }
   167   border-collapse: collapse; }
       
   168   .wp-block-table thead {
       
   169     border-bottom: 3px solid; }
       
   170   .wp-block-table tfoot {
       
   171     border-top: 3px solid; }
    98   .wp-block-table td,
   172   .wp-block-table td,
    99   .wp-block-table th {
   173   .wp-block-table th {
   100     padding: 0.5em;
   174     padding: 0.5em;
   101     border: 1px solid currentColor;
   175     border: 1px solid;
   102     word-break: break-all; }
   176     word-break: normal; }
       
   177   .wp-block-table figcaption {
       
   178     color: #555d66;
       
   179     font-size: 13px;
       
   180     text-align: center; }
       
   181 
       
   182 .wp-block-video figcaption {
       
   183   color: #555d66;
       
   184   font-size: 13px;
       
   185   text-align: center; }
       
   186 
       
   187 #end-resizable-editor-section {
       
   188   display: none; }