Advertisement
Guest User

Untitled

a guest
Mar 15th, 2023
75
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
CSS 8.59 KB | Gaming | 0 0
  1.  
  2.  
  3. @import url('https://fonts.googleapis.com/css2?family=Open+Sans&display=swap');
  4. @import url('https://fonts.googleapis.com/css2?family=Alegreya+Sans+SC&display=swap');
  5.  
  6. :root {
  7.     --backgroundColor: #303030;
  8.     --secondaryColor: #424242;
  9.     --secondaryColorHover: #414141;
  10.     --barColor: #212121;
  11.     --accentColor: #1e90ff;
  12.     --accentColorHover: #1c7ddf;
  13.     --mainTextColor: #fdfdfd;
  14.     --secondaryTextColor: #818181;
  15.     --secondaryTextColorHover: #6d6d6d;
  16.     --iconColor: #fdfdfd;
  17.     --iconColorHover: #979797;
  18. }
  19.  
  20.  
  21.  
  22.  
  23. body, html {
  24.     margin: 0;
  25.     height: 100%;
  26.     font-family: 'Open Sans', sans-serif;
  27.     color: var(--mainTextColor);
  28.     background-color: var(--backgroundColor);
  29.  
  30. }
  31.  
  32.  
  33. .username {
  34.     color: var(--accentColor);
  35.     padding-right: 3px;
  36.     display: block;
  37.     font-size: 14px;
  38. }
  39. .bumper {
  40.     height: 100px;
  41. }
  42.  
  43. h3 {
  44.     font-size: 20px;
  45. }
  46.  
  47. p {
  48.     font-size: 16px;
  49.     margin: 0;
  50. }
  51.  
  52. a {
  53.     text-decoration: none;
  54. }
  55.  
  56. img {
  57.     width: 40px;
  58.     height: 40px;
  59.     /* border: 2px solid var(--mainTextColor); */
  60.     border-radius: 50%;
  61. }
  62.  
  63.  
  64. #sideBar {
  65.   height: 100%;
  66.   width: 0;
  67.   position: fixed;
  68.   z-index: 1;
  69.   background-color: var(--barColor);
  70.   overflow-x: hidden;
  71.   transition: 0.5s;
  72.   /* padding-top: 50px; */
  73.     box-shadow: 0 0 #111;
  74. }
  75.  
  76.  
  77.  
  78. #sideBar #sideBarTop {
  79.     display: flex;
  80.     /* justify-content: center; */
  81.     margin-bottom: 10px;
  82. }
  83.  
  84.  
  85.  
  86. #sideBar .close {
  87.   /* position: absolute; */
  88.     top: 10px;
  89.     right: 10px;
  90.   font-size: 36px;
  91.   /* margin-left: 50px; */
  92.     background: transparent;
  93.     border: none;
  94.     color: var(--secondaryTextColor);
  95.     cursor: pointer;
  96.     margin-left: auto;
  97.     margin-right: 5px;
  98. }
  99.  
  100. #sideBar #sideBarTop .iconContainer {
  101.     display: flex;
  102.     gap: 20px;
  103.     margin-left: 10px;
  104.     margin-top: 10px;
  105. }
  106.  
  107. #sideBar #addFriend {
  108.     border: none;
  109.     background-color: var(--accentColor);
  110.     border-radius: 4px;
  111.     width: 150px;
  112.     height: 35px;
  113.     display: flex;
  114.     justify-content: center;
  115.     align-items: center;
  116.     gap: 10px;
  117.     color: var(--mainTextColor);
  118.     font-family: 'Open Sans', sans-serif;
  119.     font-size: 16px;
  120.     margin-left: 10px;
  121.     margin-top: 10px;
  122.     transition-duration: 0.2s;
  123.     cursor: pointer;
  124. }
  125.  
  126. #sideBar #addFriend:hover {
  127.     background-color: var(--accentColorHover);
  128.     transform: scale(1.05);
  129. }
  130.  
  131.  
  132. #sideBar .addFriend {
  133.     font-size: 20px;
  134.     margin-top: 2px;
  135. }
  136.  
  137. #sideBar .addFriend:hover {
  138.     color: var(--iconColor);
  139. }
  140.  
  141. #sideBar .container {
  142.     display: flex;
  143.     flex-direction: column;
  144.     gap: 20px;
  145.     margin-left: 10px;
  146.     color: #818181;
  147.   overflow-x: hidden;
  148.     padding: 10px;
  149. }
  150.  
  151. #sideBar summary {
  152.     cursor: pointer;
  153. }
  154.  
  155.  
  156. #sideBar h3 {
  157.     color: var(--secondaryTextColor);
  158.     font-family: 'Alegreya Sans SC', sans-serif;
  159.     margin: 0;
  160.     display: inline;
  161. }
  162.  
  163. #sideBar .group {
  164.     display: flex;
  165.     /* justify-content: center; */
  166.     align-items: center;
  167.     gap: 5px;
  168.     padding-left: 10px;
  169.     border-radius: 4px;
  170.     height: 50px;
  171.     margin-top: 10px;
  172.     transition-duration: 0.2s;
  173.     cursor: pointer;
  174. }
  175.  
  176.  
  177. #sideBar .group:hover, #sideBar .group.active {
  178.     background-color: var(--secondaryColor);
  179.     width: 250px;
  180. }
  181.  
  182.  
  183. #sideBar h4 {
  184.   /* text-decoration: none; */
  185.   display: block;
  186.   transition: 0.3s;
  187.     color: var(--mainTextColor);
  188. }
  189.  
  190.  
  191. #sideBar #sideBarBottom {
  192.     border-top: 1px solid var(--secondaryColor);
  193.     width: 90%;
  194.     margin-left: auto;
  195.     margin-right: auto;
  196.    
  197.     position: absolute;
  198. bottom: 0;
  199.     margin-bottom: 20px;
  200.     margin-left: 10px;
  201. }
  202.  
  203. #sideBar #sideBarBottom .iconContainer {
  204.     display: flex;
  205.     /* align-items: center; */
  206.     /* gap: 10px; */
  207.     position: relative;
  208.     top: 10px;
  209. }
  210.  
  211. #sideBar #profile {
  212.     display: flex;
  213.     align-items: center;
  214.     gap: 10px;
  215.     cursor: pointer;
  216.     transition-duration: 0.2s;
  217. }
  218.  
  219. #sideBar #profile:hover .icon.profile, #sideBar #profile:hover p {
  220.     color: var(--secondaryTextColorHover);
  221. }
  222.  
  223.  
  224. #sideBar .settings {
  225.     margin-left: auto;
  226.     margin-right: 10px;
  227.     font-size: 28px;
  228. }
  229.  
  230.  
  231.  
  232.  
  233.  
  234.  
  235. #main {
  236.     /* height: auto; */
  237.     background-color: var(--backgroundColor);
  238.     transition: opacity 0.5s;
  239.     height: 90%;
  240. }
  241.  
  242. #main .container {
  243.     width: 100%;
  244.     margin-top: auto;  
  245. }
  246.  
  247. #main .open {
  248.     background: transparent;
  249.     border: none;
  250.     cursor: pointer;
  251.    
  252.     margin: 10px;
  253.     margin-left: 0;
  254.     color: var(--secondaryTextColor);
  255.     transition-duration: 0.2s;
  256. }
  257.  
  258. #main .open:hover {
  259.     color: var(--secondaryColorHover);
  260. }
  261.  
  262.  
  263.  
  264.  
  265. #main #topBar {
  266.     width: 100%;
  267.     height: 60px;
  268.     background-color: var(--barColor);
  269.     display: flex;
  270.     align-items: center;
  271.     gap: 10px;
  272.     position: fixed;
  273.     z-index: 1;
  274.     top: 0;
  275. }
  276.  
  277.  
  278. .status {
  279.     width: 10px;
  280.     height: 10px;
  281.     border-radius: 50%;
  282. }
  283.  
  284. .online {
  285.     background-color: #5bc236;
  286. }
  287.  
  288. .offline {
  289.     background-color: var(--secondaryColor);
  290. }
  291.  
  292. .doNotDisturb {
  293.     background-color: #960018;
  294.     display: flex;
  295.     justify-content: center;
  296.     align-items: center;
  297. }
  298.  
  299. .doNotDisturb .dash {
  300.     width: 7px;
  301.     height: 3px;
  302.     background-color: #000000;
  303. }
  304.  
  305. .unread {
  306.     position: relative;
  307.     background-color: var(--accentColor);
  308.     width: 20px;
  309.     height: 20px;
  310.     font-size: 13px;
  311.     display: flex;
  312.     justify-content: center;
  313.     align-items: center;
  314.  
  315.     color: var(--mainTextColor);
  316.    
  317.     left: -20px;
  318.     top: 10px;
  319. }
  320.  
  321. .unread.active {
  322.     background: transparent;
  323. }
  324.  
  325. #main #callVideoContainer {
  326.     display: flex;
  327.     gap: 20px;
  328.     margin-left: auto;
  329.     margin-right: 16px;
  330. }
  331.  
  332. .icon {
  333.     font-size: 32px;
  334.     cursor: pointer;
  335.     transition-duration: 0.2s;
  336.     color: var(--iconColor);
  337. }
  338.  
  339. .icon:hover {
  340.     color: var(--iconColorHover);
  341. }
  342.  
  343.  
  344.  
  345.  
  346. #main #content {
  347.     display: flex;
  348.     justify-content: center;
  349.     /* padding-top: 50px; */
  350.     padding-bottom: 110px;
  351.     /* padding-bottom: 110px; */
  352.     height: 100%;
  353. }
  354.  
  355. #main #messages {
  356.     margin-left: auto;
  357.     margin-right: auto;
  358.     width: 70%;
  359. }
  360.  
  361. #main .message {
  362.     max-width: 60%;
  363.     width: auto;
  364.     /* display: flex; */
  365.     /* gap: 10px; */
  366.     border-radius: 8px;
  367.     /* border: 2px solid blue; */
  368.     margin-top: 40px;
  369.     padding: 10px;
  370.     paddin-bottom: 0;
  371.     background-color: var(--secondaryColor);
  372. }
  373.  
  374. #main .message  {
  375.     display:inline-block;
  376.     clear: both;
  377.     float: left;
  378.    
  379. }
  380.  
  381.  
  382.  
  383. #main .message.right {
  384.    
  385.     flex-direction: row-reverse;
  386.     background-color: var(--accentColor);
  387.     float: right;
  388. }
  389.  
  390. #main .message img {
  391.     width: 30px;
  392. }
  393.  
  394.  
  395.  
  396.  
  397. #main .timeStamp {
  398.     /* margin-top: 5px; */
  399.     margin-left: 5px;
  400.     color: var(--secondaryTextColor);
  401.     font-family: 'Alegreya Sans SC', sans-serif;
  402.     font-size: 15px;
  403.     position: relative;
  404.     top: 20px;
  405.     height: 0;
  406. }
  407.  
  408. #main .timeStamp.right {
  409.     /* margin-left: 590px; */
  410.     text-align: right;
  411. }
  412.  
  413. #main .timeStamp.general {
  414.     text-align: center;
  415.     margin-top: 16px;
  416.     padding-bottom: 8px;
  417.     font-size: 17px;
  418. }
  419.  
  420.  
  421. #main #input {
  422.     width: 100%;
  423.     height: 40px;
  424.     display: flex;
  425.     justify-content: center;
  426.     align-items: center;
  427.     gap: 10px;
  428.     position: fixed;
  429.     bottom: 0;
  430.     background-color: var(--barColor);
  431.     padding: 10px;
  432. }
  433.  
  434. #main #input .icon.inputIcon {
  435.     border-radius: 4px;
  436.     background: var(--secondaryColor);
  437.     padding: 5px;
  438.     /* border: 3px solid var(--secondaryColor); */
  439.     font-size: 26px;
  440.     height: 26px;
  441.     width: 26px;
  442. }
  443.  
  444. #main #input input {
  445.     width: 60%;
  446.     height: 35px;
  447.     border: none;
  448.     border-radius: 4px;
  449.     font-family: 'Open Sans', sans-serif;
  450.     padding-left: 10px;
  451.     color: var(--secondaryTextColor);
  452. }
  453.  
  454. #main #input input:focus {
  455.     box-shadow: 0 0 2px 3px var(--accentColor);
  456.     outline: none;
  457. }
  458.  
  459. #main #input button {
  460.     background-color: var(--accentColor);
  461.     border: none;
  462.     border-radius: 50%;
  463.     height: 40px;
  464.     width: 40px;
  465.     display: flex;
  466.     justify-content: center;
  467.     align-items: center;
  468.     gap: 5px;
  469.     color: var(--mainTextColor);
  470.     font-size: 24px;
  471.     padding-left: 10px;
  472.     cursor: pointer;
  473.     transition-duration: 0.2s;
  474. }
  475.  
  476. #main #input button:hover {
  477.     background-color: var(--accentColorHover);
  478.     transform: scale(1.05);
  479. }
  480.  
  481.  
  482. @media screen and (max-width: 620px) {
  483.     #main #messages {
  484.         width: 100%;
  485.     }
  486.  
  487.  
  488.  
  489.     #main .message.right {
  490.         margin-left: 100px;
  491.     }
  492. }
  493.  
  494. @media screen and (max-width: 400px) {
  495.  
  496.     p {
  497.         font-size: 14px;
  498.     }
  499.  
  500.     #main .timeStamp {
  501.         font-size: 13px;
  502.     }
  503.  
  504.     #main .message {
  505.         margin-left: 5px;
  506.     }
  507.  
  508.     #main .message.right {
  509.         margin-right: 5px;
  510.     }
  511.  
  512.     #main #input {
  513.         gap: 5px;
  514.         padding-left: 0;
  515.        
  516.     }
  517.  
  518.     #main #input input {
  519.         font-size: 16px;
  520.         width: 48%;
  521.     }
  522.  
  523.     #main #input button {
  524.         /* font-size: 48px; */
  525.         padding-right: 10px;
  526.     }
  527. }
  528.  
  529. ::-webkit-scrollbar {
  530.   width: 8px;
  531. }
  532.  
  533. ::-webkit-scrollbar-track {
  534.   background-color: var(--secondaryColorHover);
  535. }
  536.  
  537. ::-webkit-scrollbar-thumb {
  538.   background-color: var(--accentColor);
  539.     border-radius: 8px;
  540. }
  541.  
  542. ::-webkit-scrollbar-thumb:hover {
  543.     background-color: var(--accentColorHover);
  544. }
  545.  
  546. ::selection {
  547.     background-color: var(--accentColor);
  548.     color: var(--mainTextColor);
  549. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement