Skip to content

surf.sharepoint.com by baszoetekouw

Details

Authorbaszoetekouw

LicenseNo License

Categorysurf

Created

Updated

Code size3.6 kB

Code checksumd09ac2d8

Statistics

Learn how we calculate statistics in the FAQ.

Failed to fetch stats.

Description

Verwijder bewegende rommel

Notes

Userstyle doesn't have notes.

Source code

/* ==UserStyle==
@name         surf.sharepoint.com
@version      20250324.16.16
@namespace    https://userstyles.world/user/baszoetekouw
@description  Verwijder bewegende rommel
@author       baszoetekouw
@license      No License
==/UserStyle== */

@-moz-document regexp("https?://surf\\.sharepoint\\.com.*") {
/****************************************************************************/
/****************************************************************************/
/****************************************************************************/
/* left-most "appbar" */
div#sp-appBar {
    /* border: thick solid blue; */
    display: none;
}


/****************************************************************************/
/****************************************************************************/
/****************************************************************************/
/* SURF logo */
div[data-automationid=SiteHeader] {
    /* border: thick solid blue; */
    max-height: 50px;
}
a[data-navigationcomponent=SiteHeader] > img {
    height: 50px;
}

/****************************************************************************/
/****************************************************************************/
/****************************************************************************/
/* left section with caroussel and news */
div[data-automation-id=CanvasLayout]:nth-of-type(1) {
    /* border: thick solid blue; */
}

/* OLD: top part: caroussell */
div[data-automation-id=CanvasLayout]:nth-of-type(1) > div.fui-FluentProvider:nth-of-type(1) {
    /* border: thick solid green; */
    /* display: none; */
}

/* top part: caroussell */
/* only the main page has an <article> as a direct child under section.mainContent
   the subpages have a div with a menu bar in between 
*/
.mainContent > article {
    border: thick solid red;

    div.ms-SPLegacyFabricBlock > div {
        border: thick solid blue;
        display: none;
    }
    /* bottom part: Microsoft is spying on you */
    div[data-automation-id=CanvasLayout]:nth-of-type(1) > div.fui-FluentProvider:nth-of-type(3) {
       display: none;
       border: thick solid magenta;
    }
}

/* middle part: news items */
div[data-automation-id=CanvasLayout]:nth-of-type(1) > div.fui-FluentProvider:nth-of-type(2) {
    /* border: thick solid green; */
}

/* middle part: news items: link "buttons" */
div[data-automation-id=CanvasLayout]:nth-of-type(1) > div.fui-FluentProvider:nth-of-type(2) div.ms-List-cell {
    /* border: thick solid green; */
    width: 150px;
}
div[data-automation-id=CanvasLayout]:nth-of-type(1) > div.fui-FluentProvider:nth-of-type(2) div[role=listitem] {
    /* border: thick solid green; */
    width: 140px;
}




/****************************************************************************/
/****************************************************************************/
/****************************************************************************/
/* right section with bookmarks and agenda */
div[data-automation-id=CanvasLayout]:nth-of-type(2) {
    /* border: thick solid blue; */
}

/* top part: bookmarks */
div[data-automation-id=CanvasLayout]:nth-of-type(2) div.ControlZone:nth-of-type(1) {
    /* border: thick solid green; */
}

/* middle part: agenda */
div[data-automation-id=CanvasLayout]:nth-of-type(2) div.ControlZone:nth-of-type(2) {
    border: thick solid green;
    display: none;
}

/* bottom part: new colleagues */
div[data-automation-id=CanvasLayout]:nth-of-type(2) div.ControlZone:nth-of-type(4) {
    border: thick solid green;
    display: none;
}
}

Reviews

No reviews yet.