[ Index ]

PHP Cross Reference of WordPress Trunk (Updated Daily)

Search

title

Body

[close]

/wp-includes/blocks/navigation/ -> editor.css (source)

   1  .editor-styles-wrapper .wp-block-navigation ul{
   2    margin-bottom:0;
   3    margin-left:0;
   4    margin-top:0;
   5    padding-left:0;
   6  }
   7  .editor-styles-wrapper .wp-block-navigation .wp-block-navigation-item.wp-block{
   8    margin:revert;
   9  }
  10  
  11  .wp-block-navigation-item__label{
  12    display:inline;
  13  }
  14  .wp-block-navigation-item,.wp-block-navigation__container{
  15    background-color:inherit;
  16  }
  17  
  18  .wp-block-navigation:not(.is-selected):not(.has-child-selected) .has-child:hover>.wp-block-navigation__submenu-container{
  19    opacity:0;
  20    visibility:hidden;
  21  }
  22  
  23  .has-child.has-child-selected>.wp-block-navigation__submenu-container,.has-child.is-selected>.wp-block-navigation__submenu-container{
  24    display:flex;
  25    opacity:1;
  26    visibility:visible;
  27  }
  28  
  29  .is-dragging-components-draggable .has-child.is-dragging-within>.wp-block-navigation__submenu-container{
  30    opacity:1;
  31    visibility:visible;
  32  }
  33  
  34  .is-editing>.wp-block-navigation__container{
  35    display:flex;
  36    flex-direction:column;
  37    opacity:1;
  38    visibility:visible;
  39  }
  40  
  41  .is-dragging-components-draggable .wp-block-navigation-link>.wp-block-navigation__container{
  42    opacity:1;
  43    visibility:hidden;
  44  }
  45  .is-dragging-components-draggable .wp-block-navigation-link>.wp-block-navigation__container .block-editor-block-draggable-chip-wrapper{
  46    visibility:visible;
  47  }
  48  
  49  .is-editing>.wp-block-navigation__submenu-container>.block-list-appender{
  50    display:block;
  51    position:static;
  52    width:100%;
  53  }
  54  .is-editing>.wp-block-navigation__submenu-container>.block-list-appender .block-editor-button-block-appender{
  55    background:#1e1e1e;
  56    color:#fff;
  57    margin-left:auto;
  58    margin-right:0;
  59    padding:0;
  60    width:24px;
  61  }
  62  
  63  .wp-block-navigation__submenu-container .block-list-appender{
  64    display:none;
  65  }
  66  .block-library-colors-selector{
  67    width:auto;
  68  }
  69  .block-library-colors-selector .block-library-colors-selector__toggle{
  70    display:block;
  71    margin:0 auto;
  72    padding:3px;
  73    width:auto;
  74  }
  75  .block-library-colors-selector .block-library-colors-selector__icon-container{
  76    align-items:center;
  77    border-radius:4px;
  78    display:flex;
  79    height:30px;
  80    margin:0 auto;
  81    padding:3px;
  82    position:relative;
  83  }
  84  .block-library-colors-selector .block-library-colors-selector__state-selection{
  85    border-radius:11px;
  86    box-shadow:inset 0 0 0 1px #0003;
  87    height:22px;
  88    line-height:20px;
  89    margin-left:auto;
  90    margin-right:auto;
  91    min-height:22px;
  92    min-width:22px;
  93    padding:2px;
  94    width:22px;
  95  }
  96  .block-library-colors-selector .block-library-colors-selector__state-selection>svg{
  97    min-width:auto !important;
  98  }
  99  .block-library-colors-selector .block-library-colors-selector__state-selection.has-text-color>svg,.block-library-colors-selector .block-library-colors-selector__state-selection.has-text-color>svg path{
 100    color:inherit;
 101  }
 102  
 103  .block-library-colors-selector__popover .color-palette-controller-container{
 104    padding:16px;
 105  }
 106  .block-library-colors-selector__popover .components-base-control__label{
 107    height:20px;
 108    line-height:20px;
 109  }
 110  .block-library-colors-selector__popover .component-color-indicator{
 111    float:right;
 112    margin-top:2px;
 113  }
 114  .block-library-colors-selector__popover .components-panel__body-title{
 115    display:none;
 116  }
 117  
 118  .wp-block-navigation .wp-block+.block-list-appender .block-editor-button-block-appender{
 119    background-color:#1e1e1e;
 120    color:#fff;
 121    height:24px;
 122  }
 123  .wp-block-navigation .wp-block+.block-list-appender .block-editor-button-block-appender.block-editor-button-block-appender.block-editor-button-block-appender{
 124    padding:0;
 125  }
 126  
 127  .wp-block-navigation .wp-block .wp-block .block-editor-button-block-appender{
 128    background-color:initial;
 129    color:#1e1e1e;
 130  }
 131  @keyframes loadingpulse{
 132    0%{
 133      opacity:1;
 134    }
 135    50%{
 136      opacity:.5;
 137    }
 138    to{
 139      opacity:1;
 140    }
 141  }
 142  .components-placeholder.wp-block-navigation-placeholder{
 143    background:none;
 144    box-shadow:none;
 145    color:inherit;
 146    min-height:0;
 147    outline:none;
 148    padding:0;
 149  }
 150  .components-placeholder.wp-block-navigation-placeholder .components-placeholder__fieldset{
 151    font-size:inherit;
 152  }
 153  .components-placeholder.wp-block-navigation-placeholder .components-placeholder__fieldset .components-button{
 154    margin-bottom:0;
 155  }
 156  .wp-block-navigation.is-selected .components-placeholder.wp-block-navigation-placeholder{
 157    color:#1e1e1e;
 158  }
 159  
 160  .wp-block-navigation-placeholder__preview{
 161    align-items:center;
 162    background:#0000;
 163    color:currentColor;
 164    display:flex;
 165    font-family:-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Oxygen-Sans,Ubuntu,Cantarell,Helvetica Neue,sans-serif;
 166    font-size:13px;
 167    min-width:96px;
 168  }
 169  .wp-block-navigation.is-selected .wp-block-navigation-placeholder__preview{
 170    display:none;
 171  }
 172  .wp-block-navigation-placeholder__preview:before{
 173    border:1px dashed;
 174    border-radius:inherit;
 175    bottom:0;
 176    content:"";
 177    display:block;
 178    left:0;
 179    pointer-events:none;
 180    position:absolute;
 181    right:0;
 182    top:0;
 183  }
 184  .wp-block-navigation-placeholder__preview>svg{
 185    fill:currentColor;
 186  }
 187  
 188  .wp-block-navigation.is-vertical .is-medium .components-placeholder__fieldset,.wp-block-navigation.is-vertical .is-small .components-placeholder__fieldset{
 189    min-height:90px;
 190  }
 191  
 192  .wp-block-navigation.is-vertical .is-large .components-placeholder__fieldset{
 193    min-height:132px;
 194  }
 195  
 196  .wp-block-navigation-placeholder__controls,.wp-block-navigation-placeholder__preview{
 197    align-items:flex-start;
 198    flex-direction:row;
 199    padding:6px 8px;
 200  }
 201  
 202  .wp-block-navigation-placeholder__controls{
 203    background-color:#fff;
 204    border-radius:2px;
 205    box-shadow:inset 0 0 0 1px #1e1e1e;
 206    display:none;
 207    float:left;
 208    position:relative;
 209    width:100%;
 210    z-index:1;
 211  }
 212  .wp-block-navigation.is-selected .wp-block-navigation-placeholder__controls{
 213    display:flex;
 214  }
 215  .is-medium .wp-block-navigation-placeholder__controls .wp-block-navigation-placeholder__actions__indicator,.is-medium .wp-block-navigation-placeholder__controls .wp-block-navigation-placeholder__actions__indicator+hr,.is-small .wp-block-navigation-placeholder__controls .wp-block-navigation-placeholder__actions__indicator,.is-small .wp-block-navigation-placeholder__controls .wp-block-navigation-placeholder__actions__indicator+hr{
 216    display:none;
 217  }
 218  .is-small .wp-block-navigation-placeholder__controls .wp-block-navigation-placeholder__actions,.wp-block-navigation.is-vertical .wp-block-navigation-placeholder__controls .wp-block-navigation-placeholder__actions{
 219    align-items:flex-start;
 220    flex-direction:column;
 221  }
 222  .is-small .wp-block-navigation-placeholder__controls .wp-block-navigation-placeholder__actions hr,.wp-block-navigation.is-vertical .wp-block-navigation-placeholder__controls .wp-block-navigation-placeholder__actions hr{
 223    display:none;
 224  }
 225  .wp-block-navigation-placeholder__controls .wp-block-navigation-placeholder__icon{
 226    height:36px;
 227    margin-right:12px;
 228  }
 229  
 230  .wp-block-navigation-placeholder__actions__indicator{
 231    align-items:center;
 232    display:flex;
 233    height:36px;
 234    justify-content:flex-start;
 235    line-height:0;
 236    margin-left:4px;
 237    padding:0 6px 0 0;
 238  }
 239  .wp-block-navigation-placeholder__actions__indicator svg{
 240    margin-right:4px;
 241    fill:currentColor;
 242  }
 243  
 244  .wp-block-navigation .components-placeholder.is-medium .components-placeholder__fieldset{
 245    flex-direction:row !important;
 246  }
 247  
 248  .wp-block-navigation-placeholder__actions{
 249    align-items:center;
 250    display:flex;
 251    font-family:-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Oxygen-Sans,Ubuntu,Cantarell,Helvetica Neue,sans-serif;
 252    font-size:13px;
 253    gap:6px;
 254    height:100%;
 255  }
 256  .wp-block-navigation-placeholder__actions .components-dropdown,.wp-block-navigation-placeholder__actions>.components-button{
 257    margin-right:0;
 258  }
 259  .wp-block-navigation-placeholder__actions.wp-block-navigation-placeholder__actions hr{
 260    background-color:#1e1e1e;
 261    border:0;
 262    height:100%;
 263    margin:auto 0;
 264    max-height:16px;
 265    min-height:1px;
 266    min-width:1px;
 267  }
 268  @media (min-width:600px){
 269    .wp-block-navigation__responsive-container:not(.is-menu-open) .components-button.wp-block-navigation__responsive-container-close{
 270      display:none;
 271    }
 272  }
 273  
 274  .wp-block-navigation__responsive-container.is-menu-open{
 275    position:fixed;
 276    top:155px;
 277  }
 278  @media (min-width:782px){
 279    .wp-block-navigation__responsive-container.is-menu-open{
 280      left:36px;
 281      top:93px;
 282    }
 283  }
 284  @media (min-width:960px){
 285    .wp-block-navigation__responsive-container.is-menu-open{
 286      left:160px;
 287    }
 288  }
 289  
 290  .is-mobile-preview .wp-block-navigation__responsive-container.is-menu-open,.is-tablet-preview .wp-block-navigation__responsive-container.is-menu-open{
 291    top:141px;
 292  }
 293  
 294  .is-fullscreen-mode .wp-block-navigation__responsive-container.is-menu-open{
 295    left:0;
 296    top:155px;
 297  }
 298  @media (min-width:782px){
 299    .is-fullscreen-mode .wp-block-navigation__responsive-container.is-menu-open{
 300      top:61px;
 301    }
 302  }
 303  .is-fullscreen-mode .is-mobile-preview .wp-block-navigation__responsive-container.is-menu-open,.is-fullscreen-mode .is-tablet-preview .wp-block-navigation__responsive-container.is-menu-open{
 304    top:109px;
 305  }
 306  
 307  body.editor-styles-wrapper .wp-block-navigation__responsive-container.is-menu-open{
 308    bottom:0;
 309    left:0;
 310    right:0;
 311    top:0;
 312  }
 313  
 314  .components-button.wp-block-navigation__responsive-container-close.wp-block-navigation__responsive-container-close,.components-button.wp-block-navigation__responsive-container-open.wp-block-navigation__responsive-container-open{
 315    color:inherit;
 316    height:auto;
 317    padding:0;
 318  }
 319  
 320  .components-heading.wp-block-navigation-off-canvas-editor__title{
 321    margin:0;
 322  }
 323  
 324  .wp-block-navigation-off-canvas-editor__header{
 325    margin-bottom:8px;
 326  }
 327  
 328  .is-menu-open .wp-block-navigation__responsive-container-content * .block-list-appender{
 329    margin-top:16px;
 330  }
 331  
 332  @keyframes fadein{
 333    0%{
 334      opacity:0;
 335    }
 336    to{
 337      opacity:1;
 338    }
 339  }
 340  .wp-block-navigation__loading-indicator-container{
 341    padding:8px 12px;
 342  }
 343  
 344  .wp-block-navigation .wp-block-navigation__uncontrolled-inner-blocks-loading-indicator{
 345    margin-top:0;
 346  }
 347  
 348  @keyframes fadeouthalf{
 349    0%{
 350      opacity:1;
 351    }
 352    to{
 353      opacity:.5;
 354    }
 355  }
 356  .wp-block-navigation-delete-menu-button{
 357    justify-content:center;
 358    margin-bottom:16px;
 359    width:100%;
 360  }
 361  
 362  .components-button.is-link.wp-block-navigation-manage-menus-button{
 363    margin-bottom:16px;
 364  }
 365  
 366  .wp-block-navigation__overlay-menu-preview{
 367    align-items:center;
 368    background-color:#f0f0f0;
 369    display:flex;
 370    height:64px !important;
 371    justify-content:space-between;
 372    margin-bottom:12px;
 373    padding:0 24px;
 374    width:100%;
 375  }
 376  .wp-block-navigation__overlay-menu-preview.open{
 377    background-color:#fff;
 378    box-shadow:inset 0 0 0 1px #e0e0e0;
 379    outline:1px solid #0000;
 380  }
 381  
 382  .wp-block-navigation-placeholder__actions hr+hr,.wp-block-navigation__toolbar-menu-selector.components-toolbar-group:empty{
 383    display:none;
 384  }
 385  .wp-block-navigation__navigation-selector{
 386    margin-bottom:16px;
 387    width:100%;
 388  }
 389  
 390  .wp-block-navigation__navigation-selector-button{
 391    border:1px solid;
 392    justify-content:space-between;
 393    width:100%;
 394  }
 395  
 396  .wp-block-navigation__navigation-selector-button__icon{
 397    flex:0 0 auto;
 398  }
 399  
 400  .wp-block-navigation__navigation-selector-button__label{
 401    flex:0 1 auto;
 402    overflow:hidden;
 403    text-overflow:ellipsis;
 404    white-space:nowrap;
 405  }
 406  
 407  .wp-block-navigation__navigation-selector-button--createnew{
 408    border:1px solid;
 409    margin-bottom:16px;
 410    width:100%;
 411  }
 412  
 413  .wp-block-navigation__responsive-container-open.components-button{
 414    opacity:1;
 415  }
 416  
 417  .wp-block-navigation__menu-inspector-controls{
 418    overflow-x:auto;
 419    scrollbar-color:#0000 #0000;
 420    scrollbar-gutter:stable both-edges;
 421    scrollbar-width:thin;
 422    will-change:transform;
 423  }
 424  .wp-block-navigation__menu-inspector-controls::-webkit-scrollbar{
 425    height:12px;
 426    width:12px;
 427  }
 428  .wp-block-navigation__menu-inspector-controls::-webkit-scrollbar-track{
 429    background-color:initial;
 430  }
 431  .wp-block-navigation__menu-inspector-controls::-webkit-scrollbar-thumb{
 432    background-clip:padding-box;
 433    background-color:initial;
 434    border:3px solid #0000;
 435    border-radius:8px;
 436  }
 437  .wp-block-navigation__menu-inspector-controls:focus-within::-webkit-scrollbar-thumb,.wp-block-navigation__menu-inspector-controls:focus::-webkit-scrollbar-thumb,.wp-block-navigation__menu-inspector-controls:hover::-webkit-scrollbar-thumb{
 438    background-color:#949494;
 439  }
 440  .wp-block-navigation__menu-inspector-controls:focus,.wp-block-navigation__menu-inspector-controls:focus-within,.wp-block-navigation__menu-inspector-controls:hover{
 441    scrollbar-color:#949494 #0000;
 442  }
 443  @media (hover:none){
 444    .wp-block-navigation__menu-inspector-controls{
 445      scrollbar-color:#949494 #0000;
 446    }
 447  }
 448  
 449  .wp-block-navigation__menu-inspector-controls__empty-message{
 450    margin-left:24px;
 451  }
 452  
 453  .wp-block-navigation__overlay-menu-icon-toggle-group{
 454    margin-bottom:16px;
 455  }


Generated : Sun Dec 22 08:20:01 2024 Cross-referenced by PHPXref