main.css 5.8 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349
  1. /*
  2. 👾 Cute Useless Robot CSS theme (´・ω・`)
  3. Note: This css theme is designed to be completely
  4. off-grid, do not include url or external resources
  5. */
  6. @font-face {
  7. font-family: 'mulishB';
  8. src: url('src/Mulish-Bold.ttf') format('truetype'), /* Safari, Android, iOS */
  9. }
  10. @font-face {
  11. font-family: 'mulishR';
  12. src: url('src/Mulish-Regular.ttf') format('truetype'), /* Safari, Android, iOS */
  13. }
  14. :root{
  15. --theme-base: #000000;
  16. --theme-dark: #141414;
  17. --theme-divider: #252525;
  18. --theme-dark-alt: #282828;
  19. --theme-active: #230046;
  20. --theme-primary: #E8E9EB;
  21. --theme-secondary: #320064;
  22. --theme-text-color: white;
  23. }
  24. body{
  25. margin: 0 !important;
  26. font-family: 'mulishR' !important;
  27. color: var(--theme-text-color);
  28. background-color: var(--theme-dark);
  29. }
  30. /* Global CSS Rules */
  31. .button{
  32. border: 1px solid transparent;
  33. background-color: transparent;
  34. transition: background-color ease-in-out 0.1s, opacity ease-in-out 0.1s;
  35. cursor: pointer;
  36. padding: 0.4em;
  37. padding-left: 0.6em;
  38. padding-right: 0.6em;
  39. }
  40. .button:hover{
  41. background-color: rgba(255,255,255,0.1);
  42. opacity: 0.8;
  43. }
  44. .inverse.button{
  45. border: 1px solid var(--theme-dark);
  46. background-color: var(--theme-active);
  47. color: white;
  48. }
  49. .inverse.button:hover{
  50. background-color: var(--theme-secondary);
  51. }
  52. .button .btnicon{
  53. width: 100%;
  54. height: 100%;
  55. }
  56. .container{
  57. padding: 0.6em;
  58. padding-left: 1.2em;
  59. padding-right: 1.2em;
  60. width: 100%;
  61. position: relative;
  62. box-sizing: border-box;
  63. }
  64. @media (min-width: 700px) {
  65. .container{
  66. padding-left: 20%;
  67. padding-right: 20%;
  68. }
  69. }
  70. @media (min-width: 1024px) {
  71. .container{
  72. padding-left: 30%;
  73. padding-right: 30%;
  74. }
  75. }
  76. .header{
  77. display: flex;
  78. align-items: center;
  79. }
  80. .header img {
  81. margin-right: 10px;
  82. }
  83. .divider{
  84. width: 100%;
  85. margin-top: 1em;
  86. border-bottom: 1px solid var(--theme-divider);
  87. }
  88. a:link {
  89. text-decoration: none;
  90. }
  91. /* Side bar */
  92. #sidebarWrapper{
  93. width: 100%;
  94. height: 100%;
  95. position: relative;
  96. display:none;
  97. }
  98. #blurcover{
  99. width: 100%;
  100. height: 100%;
  101. position: fixed;
  102. top:0;
  103. right:0;
  104. background-color: rgba(0,0,0,0.7);
  105. }
  106. #sidebar{
  107. height: 100vh;
  108. position: fixed;
  109. right: 0;
  110. top: 0;
  111. width: 250px;
  112. background-color: var(--theme-dark-alt);
  113. padding-top: 1em;
  114. box-sizing: border-box;
  115. }
  116. #sidebar .item{
  117. width: 100%;
  118. padding: 0.6em;
  119. font-size: 1em;
  120. display: flex;
  121. align-items: center;
  122. color: white;
  123. }
  124. #sidebar .item.clickable{
  125. cursor: pointer;
  126. }
  127. #sidebar .item img{
  128. margin-right: 0.6em;
  129. }
  130. #sidebar .item.clickable:hover{
  131. background-color: var( --theme-active);
  132. }
  133. /* Top Menu */
  134. #menu{
  135. background-color: var(--theme-base);
  136. color: white;
  137. }
  138. #menu .logo{
  139. font-size: 1.5em;
  140. font-family: 'mulishB';
  141. }
  142. #menu .togglemenu{
  143. position: absolute;
  144. right: 1.2em;
  145. top: 0.4em;
  146. height: 38px;
  147. width: 38px;
  148. }
  149. #menu .back.button{
  150. height: 38px;
  151. width: 38px;
  152. margin: 0.6em;
  153. margin-left: 1.2em;
  154. border: 1px solid rgb(122, 122, 122);
  155. border-radius: 0.4em;
  156. }
  157. /* Animation Selection */
  158. .styled-dropdown {
  159. background-color: black;
  160. color: white;
  161. border: 1px solid white;
  162. border-radius: 0.6em;
  163. padding: 0.5em;
  164. font-size: 1em;
  165. outline: none;
  166. width: 100%;
  167. }
  168. .styled-dropdown option {
  169. background-color: black;
  170. color: white;
  171. }
  172. /* Emoji buttons */
  173. .emoji-control .reload.button{
  174. padding: 10px;
  175. margin: 5px;
  176. background-color: rgb(74, 148, 74);
  177. color: white;
  178. font-size: 16px;
  179. }
  180. #emojibtns .expressionbtn{
  181. padding: 10px;
  182. margin: 5px;
  183. background-color: rgb(119, 233, 125);
  184. color: white;
  185. font-size: 16px;
  186. border: none;
  187. cursor: pointer;
  188. }
  189. /* Action Control Buttons */
  190. .action-controls{
  191. display: flex;
  192. width: 100%;
  193. margin-top: 0.6em;
  194. }
  195. .action-controls .button {
  196. flex: 1;
  197. padding: 10px;
  198. margin: 5px;
  199. text-align: center;
  200. background-color: #7e68df;
  201. color: white;
  202. border: none;
  203. cursor: pointer;
  204. font-size: 16px;
  205. text-align: center;
  206. }
  207. /* Direction Control Buttons */
  208. .direction-controls {
  209. display: flex;
  210. width: 100%;
  211. }
  212. .direction-controls .button {
  213. flex: 1;
  214. padding: 10px;
  215. margin: 5px;
  216. text-align: center;
  217. background-color: #df6868;
  218. color: white;
  219. border: none;
  220. cursor: pointer;
  221. font-size: 16px;
  222. border-radius: 0.1em;
  223. }
  224. .direction-controls .button img{
  225. height: 40px;
  226. }
  227. .direction-controls .button.active {
  228. background-color: #af5050;
  229. }
  230. /* SD Browser */
  231. .addrbar{
  232. background-color: white;
  233. padding: 0.6em;
  234. color: var(--theme-dark);
  235. }
  236. .sdcontent{
  237. height: 400px;
  238. padding: 0.6em;
  239. background-color: white;
  240. color: var(--theme-dark);
  241. overflow-y: auto;
  242. margin-top: 0.6em;
  243. }
  244. .sdcontent ul{
  245. list-style-type: none;
  246. padding-left: 1em;
  247. }
  248. .sdcontent .fileobject{
  249. cursor: pointer;
  250. }
  251. .segment{
  252. background-color: white;
  253. color: var(--theme-dark);
  254. padding: 1.2em;
  255. margin-top: 1em;
  256. }
  257. .upload-container .button{
  258. float: right;
  259. margin-top: -3px;
  260. }
  261. #uploadProgress{
  262. margin-top: 0.6em;
  263. width: 100%;
  264. border: 1px solid var(--theme-dark);
  265. height: 15px;
  266. }
  267. #uploadProgress .bar{
  268. width: 0px;
  269. background-color: var(--theme-secondary);
  270. height: 15px;
  271. text-align: right;
  272. color: white;
  273. font-size: 0.8em;
  274. }
  275. .fileopr.disabled{
  276. opacity: 0.6;
  277. pointer-events: none;
  278. user-select: none;
  279. }
  280. #messagebox{
  281. display:none;
  282. position: fixed;
  283. right: 1em;
  284. bottom: 1em;
  285. background-color: #9dd188;
  286. min-width: 100px;
  287. padding: 1em;
  288. border-radius: 0.6em;
  289. }
  290. #messagebox.failed{
  291. background-color: #d18888;
  292. }
  293. #messagebox p{
  294. margin: 0;
  295. }