Skip to content

ButterCMS - simplification for editors by usqr

Screenshot of ButterCMS - simplification for editors

Details

Authorusqr

LicenseNo License

Categoryhttps://buttercms.com/

Created

Updated

Size1.5 kB

Statistics

Learn how we calculate statistics in the FAQ.

Failed to fetch stats.

Description

Simplifications for ButterCMS editors

Notes

Userstyle doesn't have notes.

Source code

/* ==UserStyle==
@name           ButterCMS Simplified
@namespace      github.com/openstyles/stylus
@version        1.0.2
@description    Simplified layout for ButterCMS editor
@author         usqr
==/UserStyle== */

@-moz-document domain("buttercms.com") {
    
/** 
 *     Main view
 **/
    
    /* Hide blog posts item  */
    li.DashboardMenu-list-item:nth-child(2),
    li.DashboardMenu-list-item:nth-child(5) {
        display: none;
    }
    
    /* Hide Production / Development bar */
    .UniversalSearch {
        display: none;
    }
    
   
/** 
 *     BLOG PAGES
 **/  

    /* Hide 'Create new Page' button */
    .pages .action-menu--pages > .action-menu-group > .action-menu-item {
        display: none;
    }
    
/** 
 *     Single blog page
 **/

    /* Code block textarea height fix */
    .tox-form__group .tox-textarea-wrap,
    .tox-form__group textarea {
        height: 100% !important;
    }
    
    /* Remove `...` from top bar */
    .edit-page #sb-site .action-menu--pages:not(:first-child) {
        display: none;
    }
    
    /* Header sections */
    #page-body .wrapper > form > * + * {
        margin-top: 3rem !important;    
    }
    
    
    
/** 
 *     Collections page
 **/     
    
    /* Hide 'Create new Collection' button */
    .action-menu--collections--group > .action-menu-group > .action-menu-item {
        display: none;
    }
}

Reviews

No reviews yet.