Advertisement
Guest User

Untitled

a guest
Mar 29th, 2020
209
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
CSS 3.31 KB | None | 0 0
  1. :root {
  2.     --online:#43b581;
  3.     --idle:#faa61a;
  4.     --dnd:#f04747;
  5.     --invisible:#747f8d;
  6. }
  7.  
  8. @keyframes statuspicker {
  9.     0% {
  10.         transform:translateY(5px);
  11.         opacity:0;
  12.     }
  13.     100% {
  14.         transform:none;
  15.         opacity:1;
  16.     }
  17. }
  18.  
  19. @keyframes statuspickeravatar {
  20.     0% {
  21.         transform:translateY(5px) translateX(-50%);
  22.         opacity:0;
  23.     }
  24.     100% {
  25.         transform:translateX(-50%);
  26.         opacity:1;
  27.     }
  28. }
  29.  
  30. /*get rid of the shitty default animation*/
  31. .full-motion .scale-3iLZhb {
  32.     transform:none !important;
  33.     opacity:1 !important;
  34. }
  35.  
  36. /*main code*/
  37. .menu-Sp6bN1[role="listbox"] {
  38.     width:fit-content;
  39.     height:fit-content;
  40.     display:flex;
  41.     flex-wrap:wrap;
  42.     align-items:center;
  43.     justify-content:center;
  44.     padding:15px;
  45.     background: radial-gradient(circle at center 0, transparent 32px, #292b2f 0);
  46.     box-shadow:0 4px 4px rgba(0,0,0,0.25);
  47.     border-radius:3px 3px 0 0;
  48.     box-sizing:border-box;
  49.     min-width:224px;
  50.     max-width:224px;
  51.     margin-bottom:32px;
  52.     padding-top:60px;
  53.     position:relative;
  54.     animation:statuspicker 350ms ease forwards;
  55. }
  56.  
  57. .menu-Sp6bN1[role="listbox"] .itemBase-1Qj4z6 {
  58.     padding:0;
  59.     margin:0 10px;
  60.     font-size:0;
  61.     min-height:unset;
  62.     height:25px;
  63.     width:25px;
  64.     border-radius:50px;
  65.     box-shadow:0 1px 4px rgba(0,0,0,0.35);
  66. }
  67.  
  68. .menu-Sp6bN1[role="listbox"] .itemBase-1Qj4z6:hover {
  69.     box-shadow:0 1px 5px rgba(0,0,0,0.5);
  70. }
  71.  
  72. .menu-Sp6bN1[role="listbox"] .helper-2c73HK,
  73. .menu-Sp6bN1[role="listbox"] .statusIconText-3b4TkH,
  74. .menu-Sp6bN1[role="listbox"] .separator-2zcjq8 {
  75.     display:none;
  76. }
  77.  
  78. .menu-Sp6bN1[role="listbox"] .itemBase-1Qj4z6:nth-child(1) {
  79.     background-color:var(--online);
  80.     margin-left:0;
  81. }
  82.  
  83. .menu-Sp6bN1[role="listbox"] .itemBase-1Qj4z6:nth-child(3) {
  84.     background-color:var(--idle);
  85. }
  86.  
  87. .menu-Sp6bN1[role="listbox"] .itemBase-1Qj4z6:nth-child(4) {
  88.     background-color:var(--dnd);
  89. }
  90.  
  91. .menu-Sp6bN1[role="listbox"] .itemBase-1Qj4z6:nth-child(5) {
  92.     background-color:var(--invisible);
  93.     margin-right:0;
  94. }
  95.  
  96. .itemActive-2V2HNc {
  97.     background-image:url('data:image/svg+xml;base64,PD94bWwgdmVyc2lvbj0iMS4wIj8+PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHdpZHRoPSIyNCIgaGVpZ2h0PSIyNCIgdmlld0JveD0iMCAwIDI0IDI0IiBmaWxsPSIjZmZmZmZmIj4gIDxwYXRoIGQ9Ik0yMC4yODUgMmwtMTEuMjg1IDExLjU2Ny01LjI4Ni01LjAxMS0zLjcxNCAzLjcxNiA5IDguNzI4IDE1LTE1LjI4NXoiLz48L3N2Zz4=');
  98.     background-size:48%;   
  99.     background-position:center;
  100.     background-repeat:no-repeat;
  101. }
  102.  
  103. .menu-Sp6bN1[role="listbox"] .itemBase-1Qj4z6:last-child {
  104.     background-color:var(--invisible);
  105.     border-radius:3px;
  106.     width:100%;
  107.     position:absolute;
  108.     bottom:-28px;
  109.     left:0;
  110.     margin:0;
  111.     padding:0 15px;
  112.     background:rgba(32,34,37);
  113.     backdrop-filter:blur(15px);
  114.     box-shadow:0 4px 4px rgba(0,0,0,0.25);
  115.     box-sizing:border-box;
  116.     height:28px;
  117.     font-size:12px;
  118.     transition:150ms ease;
  119.     border-radius:0 0 3px 3px;
  120. }
  121.  
  122. .container-3baos1 {
  123.     position:relative;
  124. }
  125.  
  126. .container-3baos1 .avatarWrapper-2yR4wp[aria-expanded="true"] .avatar-SmRMf2 {
  127.     position:absolute;
  128.     left:50%;
  129.     bottom:164px;
  130.     transform:translateX(-50%);
  131.     z-index:10;
  132.     height:50px !important;
  133.     width:50px !important;
  134.     opacity:1;
  135.     box-shadow:0 2px 4px rgba(0,0,0,0.25);
  136.     cursor:default;
  137.     animation:statuspickeravatar 350ms ease forwards;
  138. }
  139.  
  140. .container-3baos1 .avatarWrapper-2yR4wp[aria-expanded="true"] {
  141.     height:32px;
  142.     width:32px;
  143.     background:rgba(0,0,0,0.25);
  144.     border-radius:50px;
  145.     cursor:pointer;
  146. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement