tyler771

spsservicenow.user.css

Aug 31st, 2023 (edited)
1,486
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
CSS 1.37 KB | Source Code | 0 0
  1. /* ==UserStyle==
  2. @name           SPS ServiceNow
  3. @namespace      USO Archive
  4. @author         tyler71
  5. @updateURL      https://pastebin.com/raw/X4H0Q0jx
  6. @description    `Styling improvements`
  7. @version        20230831-05
  8. @license        CC0-1.0
  9. @preprocessor   uso
  10. ==/UserStyle== */
  11.  
  12. @-moz-document regexp("^https://seattleschools.service-now.com.*") {
  13.    
  14.     :root {
  15.         --primary: rgb(79, 82, 189);
  16.         --highlight: #5fe6fb54;
  17.         --form-highlight: rgba(62, 187, 192, .11)
  18.          
  19.     }
  20.  
  21.     ::selection {
  22.         background: var(--highlight);
  23.     }
  24.    
  25.     /* Email message card */
  26.     /* Left bar card color */
  27.     .sn-card-component_accent-bar_dark {
  28.         background-color: var(--primary);
  29.     }
  30.     .h-card:hover .sn-card-component_accent-bar_dark {
  31.         background-color: var(--primary);
  32.         filter: brightness(110%);
  33.     }
  34.    
  35.     .h-card:hover span.sn-card-component-createdby,
  36.     .h-card:hover div.date-timeago {
  37.         font-size: 14px;
  38.         font-weight: bold;
  39.         color: black;
  40.     }
  41.     /* Content */
  42.     .h-card .sn-widget-textblock-body {
  43.         font-family: Lato, Arial, sans-serif, sans;
  44.         font-size: 15px;
  45.     }
  46.    
  47.     /* Form highlight color */
  48. /*    .form-control.hover, .form-control:hover {
  49.         background-color: var(--form-highlight);
  50.         border-color: #8d8d8d14;
  51.     }
  52. */
  53.    
  54. }
Advertisement