Skip to content

Salesforce Overwrite by timmaurice

Screenshot of Salesforce Overwrite

Details

Authortimmaurice

LicenseNo License

CategorySalesforce

Created

Updated

Size1.6 kB

Statistics

Learn how we calculate statistics in the FAQ.

Failed to fetch stats.

Description

A stylus css salesforce overwrite that fix things

Notes

Userstyle doesn't have notes.

Source code

/* ==UserStyle==
@name           Stylus Salesforce Overwrite
@namespace      github.com/timmaurice/Stylus-Salesforce-Fixes
@version        1.0.1
@description    A stylus css salesforce overwrite that fix things
@author         Tim Maurice Bayer
==/UserStyle== */
@-moz-document domain("lightning.force.com"), domain("sandbox.my.salesforce.com"), domain("my.salesforce.com") {
  .slds-nav-vertical__action:hover {
    box-shadow: inset 0.125rem 0 0 #babc16;
  }
  .slds-nav-vertical__item:hover:before,
  .slds-nav-vertical__item.slds-is-active:before {
    background: rgba(244,245,174,0.2);
  }
  .slds-tree [role=treeitem][aria-selected=true]>.slds-tree__item,
  .onesetupSetupNavTree ul[data-name=all] .tree-node[aria-selected=true] .slds-tree__item,
  .slds-nav-vertical__item.slds-is-active .slds-nav-vertical__action {
    background: #f4f5ae;
    box-shadow: #babc16 4px 0 0 inset;
  }
  .slds-tree__item {
    cursor: default;
    padding: 0;
  }
  .slds-tree__item .slds-button {
    margin-top: 6px;
  }
  .slds-tree__item a {
    padding: 0.375rem 0;
    width: 100%;
  }
  .dataCell,
  .bPageBlock .detailList tr.detailRow td,
  .data2Col,
  [slot='outputField'],
  lightning-formatted-text[data-output-element-id='output-field'] {
    font-family: monospace;
    font-size: 10px;
    line-height: 90%;
    white-space: break-spaces;
  }
  tbody:has([id^='MonitorDeploymentsPage']) .dataCell,
  tbody:has([id^='listSandbox']) .dataCell {
    white-space: nowrap;
  }
  .x-grid3-cell-inner {
    text-overflow: unset;
    user-select: all;
    white-space: normal;
  }
}

Reviews

No reviews yet.