ru-se.com

Unnamed repository; edit this file 'description' to name the repository.
Log | Files | Refs

style.css (4034B)


      1 /**
      2  * Colors
      3  */
      4 /**
      5  * Breakpoints & Media Queries
      6  */
      7 /**
      8  * SCSS Variables.
      9  *
     10  * Please use variables from this sheet to ensure consistency across the UI.
     11  * Don't add to this sheet unless you're pretty sure the value will be reused in many places.
     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  * Breakpoint mixins
     45  */
     46 /**
     47  * Long content fade mixin
     48  *
     49  * Creates a fading overlay to signify that the content is longer
     50  * than the space allows.
     51  */
     52 /**
     53  * Focus styles.
     54  */
     55 /**
     56  * Applies editor left position to the selector passed as argument
     57  */
     58 /**
     59  * Styles that are reused verbatim in a few places
     60  */
     61 /**
     62  * Allows users to opt-out of animations via OS-level preferences.
     63  */
     64 /**
     65  * Reset default styles for JavaScript UI based pages.
     66  * This is a WP-admin agnostic reset
     67  */
     68 /**
     69  * Reset the WP Admin page styles for Gutenberg-like pages.
     70  */
     71 .wp-block-button__link {
     72   color: #fff;
     73   background-color: #32373c;
     74   border-radius: 9999px;
     75   box-shadow: none;
     76   cursor: pointer;
     77   display: inline-block;
     78   font-size: 1.125em;
     79   padding: calc(0.667em + 2px) calc(1.333em + 2px);
     80   text-align: center;
     81   text-decoration: none;
     82   overflow-wrap: break-word;
     83   box-sizing: border-box;
     84 }
     85 .wp-block-button__link:hover, .wp-block-button__link:focus, .wp-block-button__link:active, .wp-block-button__link:visited {
     86   color: #fff;
     87 }
     88 .wp-block-button__link.aligncenter {
     89   text-align: center;
     90 }
     91 .wp-block-button__link.alignright {
     92   /*rtl:ignore*/
     93   text-align: right;
     94 }
     95 
     96 .wp-block-buttons > .wp-block-button.has-custom-width {
     97   max-width: none;
     98 }
     99 .wp-block-buttons > .wp-block-button.has-custom-width .wp-block-button__link {
    100   width: 100%;
    101 }
    102 .wp-block-buttons > .wp-block-button.has-custom-font-size .wp-block-button__link {
    103   font-size: inherit;
    104 }
    105 .wp-block-buttons > .wp-block-button.wp-block-button__width-25 {
    106   width: calc(25% - 0.5em);
    107 }
    108 .wp-block-buttons > .wp-block-button.wp-block-button__width-50 {
    109   width: calc(50% - 0.5em);
    110 }
    111 .wp-block-buttons > .wp-block-button.wp-block-button__width-75 {
    112   width: calc(75% - 0.5em);
    113 }
    114 .wp-block-buttons > .wp-block-button.wp-block-button__width-100 {
    115   width: calc(100% - 0.5em);
    116 }
    117 .wp-block-buttons > .wp-block-button.wp-block-button__width-100:only-child {
    118   margin-right: 0;
    119   width: 100%;
    120 }
    121 
    122 @supports (column-gap: 0.5em) {
    123   .wp-block-buttons > .wp-block-button.wp-block-button, .wp-block-buttons.is-content-justification-right > .wp-block-button.wp-block-button {
    124     margin-right: 0;
    125     margin-left: 0;
    126   }
    127   .wp-block-buttons > .wp-block-button.wp-block-button__width-25 {
    128     width: calc(25% - 0.375em);
    129   }
    130   .wp-block-buttons > .wp-block-button.wp-block-button__width-50 {
    131     width: calc(50% - 0.25em);
    132   }
    133   .wp-block-buttons > .wp-block-button.wp-block-button__width-75 {
    134     width: calc(75% - 0.125em);
    135   }
    136   .wp-block-buttons > .wp-block-button.wp-block-button__width-100 {
    137     width: auto;
    138     flex-basis: 100%;
    139   }
    140 }
    141 .wp-block-button.is-style-squared,
    142 .wp-block-button__link.wp-block-button.is-style-squared {
    143   border-radius: 0;
    144 }
    145 
    146 .wp-block-button.no-border-radius,
    147 .wp-block-button__link.no-border-radius {
    148   border-radius: 0 !important;
    149 }
    150 
    151 .is-style-outline > .wp-block-button__link,
    152 .wp-block-button__link.is-style-outline {
    153   border: 2px solid currentColor;
    154   padding: 0.667em 1.333em;
    155 }
    156 
    157 .is-style-outline > .wp-block-button__link:not(.has-text-color),
    158 .wp-block-button__link.is-style-outline:not(.has-text-color) {
    159   color: currentColor;
    160 }
    161 
    162 .is-style-outline > .wp-block-button__link:not(.has-background),
    163 .wp-block-button__link.is-style-outline:not(.has-background) {
    164   background-color: transparent;
    165 }