style.css 7.8 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473
  1. /*
  2. The MIT License (MIT)
  3. Copyright (c) 2020 Tobias Ahlin
  4. Permission is hereby granted, free of charge, to any person obtaining a copy of
  5. this software and associated documentation files (the "Software"), to deal in
  6. the Software without restriction, including without limitation the rights to
  7. use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of
  8. the Software, and to permit persons to whom the Software is furnished to do so,
  9. subject to the following conditions:
  10. The above copyright notice and this permission notice shall be included in all
  11. copies or substantial portions of the Software.
  12. THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
  13. IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS
  14. FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR
  15. COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER
  16. IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN
  17. CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
  18. */
  19. * {
  20. box-sizing: border-box;
  21. }
  22. .articles article a.broken {
  23. color: #9c3535;
  24. cursor: not-allowed;
  25. text-decoration: none;
  26. pointer-events: none;
  27. }
  28. .fixedpanel {
  29. width: 100%;
  30. height: 50px;
  31. position: fixed;
  32. background-color: #FFF;
  33. padding: 16px;
  34. top: 0;
  35. z-index: 1;
  36. }
  37. .searchbox {
  38. width: 250px;
  39. font-size: 20px;
  40. line-height: 26px;
  41. color: #202020;
  42. height: 30px;
  43. -webkit-appearance: none;
  44. border: 1px solid #EEE;
  45. }
  46. .query {
  47. width: 30px;
  48. height: 30px;
  49. -webkit-appearance: none;
  50. border: none;
  51. color: #909090;
  52. background-color: #EEE;
  53. margin-left: 4px;
  54. cursor: pointer;
  55. }
  56. .content {
  57. position: relative;
  58. top: 40px;
  59. display: flex;
  60. flex-wrap: wrap;
  61. padding: 16px;
  62. }
  63. .articles {
  64. width: 800px;
  65. margin-left: 20px;
  66. flex-grow: 1;
  67. }
  68. .articles:empty {
  69. display: none;
  70. }
  71. .sidebar {
  72. max-width: 600px;
  73. padding: 8px;
  74. font-family: Arial;
  75. background-color: #EEE;
  76. position: relative;
  77. min-height: 48px;
  78. flex-grow: 1;
  79. }
  80. .sidebar.collapsed {
  81. height: 0;
  82. overflow-y: hidden;
  83. }
  84. .sidebar-header {
  85. display: flex;
  86. justify-content: space-between;
  87. height: 48px;
  88. }
  89. .sidebar-title {
  90. line-height: 36px;
  91. font-weight: bold;
  92. font-size: 24px;
  93. }
  94. .sidebar-content {
  95. padding: 0 16px;
  96. margin-top: 16px;
  97. }
  98. .sidebar-collapse-btn {
  99. position: absolute;
  100. top: 8px;
  101. right: 8px;
  102. width: 32px;
  103. height: 32px;
  104. display: flex;
  105. align-items: center;
  106. justify-content: center;
  107. }
  108. .sidebar-collapse-btn::before {
  109. border-style: solid;
  110. border-width: 3px 3px 0 0;
  111. content: '';
  112. display: inline-block;
  113. height: 8px;
  114. position: relative;
  115. top: -3px;
  116. transform: rotate(45deg) scaleY(-1);
  117. vertical-align: top;
  118. width: 8px;
  119. }
  120. .sidebar.collapsed .sidebar-collapse-btn {
  121. transform: scaleY(-1);
  122. }
  123. @media (max-width: 1440px) {
  124. .sidebar {
  125. order: -1;
  126. max-width: 900px;
  127. width: 100%;
  128. }
  129. }
  130. @media (max-width: 768px) {
  131. .fixedpanel {
  132. padding: 4px;
  133. }
  134. .content {
  135. padding: 4px;
  136. }
  137. body {
  138. margin: 4px;
  139. }
  140. }
  141. .articles article {
  142. font-family: sans-serif;
  143. font-size: 14px;
  144. color: rgb(32, 33, 34);
  145. line-height: 22.4px;
  146. }
  147. .articles article a {
  148. color:rgb(6, 69, 173);
  149. cursor: pointer;
  150. direction: ltr;
  151. display: inline;
  152. font-family: sans-serif;
  153. font-size: 14px;
  154. line-height: 22.4px;
  155. text-decoration-color: rgb(6, 69, 173);
  156. text-decoration-line: none;
  157. text-decoration-style: solid;
  158. }
  159. .articles article h1, .articles article h2, .articles article h3, .articles article h4, .articles article h5 {
  160. margin-bottom: 0.25em;
  161. padding: 0;
  162. font-family: 'Linux Libertine','Georgia','Times',serif;
  163. border-bottom-color: rgb(162, 169, 177);
  164. border-bottom-style: solid;
  165. border-bottom-width: 1px;
  166. font-weight: 400;
  167. color: rgb(0,0,0);
  168. }
  169. .articles article h2.title {
  170. line-height: 37.44px;
  171. font-size: 28.8px;
  172. }
  173. .articles article h1 {
  174. line-height: 27.3px;
  175. font-size: 21px;
  176. }
  177. .articles article h2:not(.title) {
  178. line-height: 26.88px;
  179. font-size: 16.8px;
  180. border: none;
  181. font-weight: 700;
  182. font-family: sans-serif;
  183. }
  184. .articles article h3 {
  185. line-height: 22.4px;
  186. font-size: 14px;
  187. border: none;
  188. font-weight: 700;
  189. font-family: sans-serif;
  190. }
  191. .articles article a:hover, .articles article a:focus {
  192. text-decoration: underline;
  193. }
  194. .sidebar li {
  195. margin-bottom: 8px;
  196. }
  197. .sidebar h2 {
  198. font-size: 16px;
  199. font-weight: bold;
  200. margin-top: 36px;
  201. }
  202. .sidebar h2:first-child {
  203. margin-top: 0;
  204. }
  205. .sidebar {
  206. color: #444;
  207. }
  208. .sidebar figure {
  209. margin: 0;
  210. }
  211. .sidebar table {
  212. width: 100%;
  213. font-size: 13px;
  214. }
  215. .sidebar table thead {
  216. text-align: left;
  217. }
  218. .suggestions {
  219. font-family: sans-serif;
  220. font-size: 13px;
  221. margin-top: 4px;
  222. margin-bottom: 0;
  223. display: block;
  224. padding: 4px;
  225. background-color: #FFF;
  226. }
  227. .suggestions > div {
  228. height: 19px;
  229. padding: 0.01em 0.25em;
  230. cursor: pointer;
  231. align-items: center;
  232. }
  233. .suggestions > div:hover {
  234. background-color: #666;
  235. color: #FFF;
  236. }
  237. .suggestions .highlight {
  238. font-weight: bold;
  239. }
  240. .nolistmarker {
  241. list-style: none;
  242. }
  243. .diagram {
  244. margin-top: 10px;
  245. display: flex;
  246. }
  247. @keyframes clientProcessingBottom {
  248. 0% {
  249. transform: translateX(0) scaleX(0);
  250. }
  251. 25% {
  252. transform: translateX(0) scaleX(1);
  253. }
  254. 75% {
  255. transform: translateX(0) scaleX(1);
  256. }
  257. 100% {
  258. transform: translateX(32px) scaleX(0);
  259. }
  260. }
  261. @keyframes clientProcessingMiddle {
  262. 0% {
  263. transform: translateX(0) scaleX(0);
  264. }
  265. 25% {
  266. transform: translateX(0) scaleX(0);
  267. }
  268. 50% {
  269. transform: translateX(0) scaleX(1);
  270. }
  271. 75% {
  272. transform: translateX(0) scaleX(1);
  273. }
  274. 100% {
  275. transform: translateX(32px) scaleX(0);
  276. }
  277. }
  278. @keyframes clientProcessingTop {
  279. 0% {
  280. transform: translateX(0) scaleX(0);
  281. }
  282. 50% {
  283. transform: translateX(0) scaleX(0);
  284. }
  285. 75% {
  286. transform: translateX(0) scaleX(1);
  287. }
  288. 100% {
  289. transform: translateX(32px) scaleX(0);
  290. }
  291. }
  292. .client {
  293. border: 4px solid #666;
  294. height: 48px;
  295. width: 48px;
  296. }
  297. .client .box {
  298. height: 8px;
  299. width: 32px;
  300. margin: 4px;
  301. background-color: #666;
  302. transform-origin: 0% 50%;
  303. }
  304. .client .box.top {
  305. animation: clientProcessingBottom 3s ease 0s infinite normal none;
  306. }
  307. .client .box.middle {
  308. animation: clientProcessingMiddle 3s ease 0s infinite normal none;
  309. }
  310. .client .box.bottom {
  311. animation: clientProcessingTop 3s ease 0s infinite normal none;
  312. }
  313. .box.complete {
  314. animation: none !important;
  315. }
  316. @keyframes expandRightLine {
  317. 0% {
  318. transform: scaleX(0);
  319. }
  320. 100% {
  321. transform: scaleX(1);
  322. }
  323. }
  324. @keyframes expandRightArrowhead {
  325. 0% {
  326. transform: translateX(0);
  327. }
  328. 100% {
  329. transform: translateX(200px);
  330. }
  331. }
  332. .upload .line {
  333. transform-origin: 0% 50%;
  334. /* animation: expandRightLine 3s ease 0s infinite normal none; */
  335. margin: 14px 4px 0 0;
  336. width: 200px;
  337. height: 4px;
  338. background-color: #666;
  339. position:relative;
  340. }
  341. .arrow {
  342. position: relative;
  343. }
  344. .arrowhead {
  345. /* animation: expandRightArrowhead 3s ease 0s infinite normal none; */
  346. content:"";
  347. position:absolute;
  348. height:0;
  349. width:0;
  350. top:-8px;
  351. border:10px solid transparent;
  352. border-left: 10px solid #666;
  353. }
  354. .server {
  355. border: 4px solid #666;
  356. height: 48px;
  357. width: 48px;
  358. margin-left: 200px;
  359. }
  360. .hidden {
  361. display: none;
  362. }
  363. .loadingbar {
  364. width: 100px;
  365. height: 14px;
  366. background-color: #EEE;
  367. padding: 2px;
  368. }
  369. .complete {
  370. width: 100%;
  371. height: 100%;
  372. background-color: #CDC;
  373. transform-origin: left;
  374. /* transition: transform ease-in 0.3s; */
  375. }
  376. .bar {
  377. display: flex;
  378. width: 200px;
  379. margin-bottom: 4px;
  380. }
  381. .bar .label {
  382. font-family: sans-serif;
  383. margin-left: 4px;
  384. font-size: 10px;
  385. display: flex;
  386. justify-content: center;
  387. align-content: center;
  388. color: #666;
  389. }
  390. .searchsuperbox {
  391. display: flex;
  392. }
  393. .loadingbars {
  394. margin-left: 10px;
  395. width: 100px;
  396. display: inline-block;
  397. }
  398. b, strong {
  399. font-weight: bold;
  400. }
  401. i, em {
  402. font-style: italic;
  403. }