sample.scss 1.9 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100
  1. /* stylelint-disable */
  2. .TUIKit {
  3. display: flex;
  4. width: 100vw;
  5. height: 100vh;
  6. overflow: hidden;
  7. text-align: left;
  8. .TUIKit-navbar {
  9. background: #e8e8e9;
  10. overflow: hidden;
  11. .TUIKit-navbar-item {
  12. padding: 10px;
  13. color: #147aff;
  14. font-weight: 500;
  15. cursor: pointer;
  16. }
  17. .TUIKit-navbar-item-active {
  18. background: #dddddd;
  19. }
  20. }
  21. .TUIKit-main-container {
  22. flex: 1;
  23. display: flex;
  24. overflow: hidden;
  25. .TUIKit-main {
  26. flex: 1;
  27. display: flex;
  28. .TUIKit-main-aside {
  29. min-width: 285px;
  30. flex: 0 0 24%;
  31. border-right: 1px solid #f4f5f9;
  32. }
  33. .TUIKit-main-main {
  34. flex: 1;
  35. display: flex;
  36. .chat{
  37. flex: 1;
  38. }
  39. .chat-aside {
  40. position: absolute;
  41. top: 50px;
  42. right: 0;
  43. box-sizing: border-box;
  44. max-width: 360px;
  45. max-height: calc(100% - 50px);
  46. border-radius: 8px 0 0 8px;
  47. z-index: 9999;
  48. }
  49. }
  50. }
  51. .callkit-container {
  52. position: fixed;
  53. left: calc(50% - 25rem);
  54. top: calc(50% - 18rem);
  55. width: 50rem;
  56. height: 36rem;
  57. }
  58. .callkit-container.miniMized {
  59. left: auto;
  60. right: 10px;
  61. top: 70px;
  62. background: transparent;
  63. }
  64. }
  65. }
  66. .TUIKit-h5 {
  67. display: flex;
  68. flex-direction: column-reverse;
  69. .TUIKit-navbar {
  70. display: flex;
  71. flex-direction: row;
  72. .TUIKit-navbar-item {
  73. flex: 1;
  74. text-align: center;
  75. cursor: none;
  76. }
  77. }
  78. .TUIKit-main-container {
  79. flex: 1;
  80. .TUIKit-main {
  81. .TUIKit-main-aside {
  82. flex: 1;
  83. }
  84. .TUIKit-main-main {
  85. .chat-popup {
  86. position: absolute;
  87. max-width: 100%;
  88. max-height: 100%;
  89. }
  90. }
  91. }
  92. .callkit-container {
  93. left: 0;
  94. top: 0;
  95. width: 100%;
  96. height: 100%;
  97. }
  98. }
  99. }