index_chart.vue 21 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760761762763764765766767768769770771772773774775776777778779780781782783784785786787788789790791792793794795796797798799800801802803804805806807808809810811812813814815816817818819820821822823824825826827828829830831832833834835836837838839840841842843844845846847848849850851852853854855856857858859860861862863864865866867868869
  1. <template>
  2. <div class="app-container home">
  3. <!-- <el-row :gutter="20"></el-row>
  4. <el-row :gutter="20"></el-row>
  5. <el-divider/>
  6. <el-dialog :title="upload.title" :visible.sync="upload.open" width="400px" append-to-body>
  7. <el-upload ref="upload" :limit="1" accept=".xlsx, .xls" :headers="upload.headers"
  8. :action="upload.url + '?updateSupport=' + upload.updateSupport" :disabled="upload.isUploading"
  9. :on-progress="handleFileUploadProgress" :on-success="handleFileSuccess" :auto-upload="false" drag>
  10. <i class="el-icon-upload"></i>
  11. <div class="el-upload__text">将文件拖到此处,或<em>点击上传</em></div>
  12. <div class="el-upload__tip text-center" slot="tip">
  13. <div class="el-upload__tip" slot="tip">
  14. <el-checkbox v-model="upload.updateSupport"/>
  15. 是否更新已经存在的用户数据
  16. </div>
  17. <span>仅允许导入xls、xlsx格式文件。</span>
  18. <el-link type="primary" :underline="false" style="font-size: 12px; vertical-align: baseline"
  19. @click="importTemplate">下载模板
  20. </el-link>
  21. </div>
  22. </el-upload>
  23. <div slot="footer" class="dialog-footer">
  24. <el-button type="primary" @click="submitFileForm">确 定</el-button>
  25. <el-button @click="upload.open = false">取 消</el-button>
  26. </div>
  27. </el-dialog>
  28. <button @click="upload.open = true">上传文件</button>
  29. <el-row :gutter="20">
  30. <el-col :xs="24" :sm="24" :md="12" :lg="8"></el-col>
  31. <el-col :xs="24" :sm="24" :md="12" :lg="8">
  32. <el-card class="update-log">
  33. <div slot="header" class="clearfix">
  34. <span>更新日志</span>
  35. </div>
  36. <el-collapse accordion> 123123</el-collapse>
  37. </el-card>
  38. </el-col>
  39. <el-col :xs="24" :sm="24" :md="12" :lg="8">
  40. <el-card class="update-log">
  41. <div slot="header" class="clearfix">
  42. <span>捐赠支持</span>
  43. </div>
  44. <div class="body"></div>
  45. </el-card>
  46. </el-col>
  47. </el-row> -->
  48. <div class="info-content">
  49. <!-- <div class="header" @click="toPersonalCenter"> -->
  50. <!-- <img :src="avatar" class="user-avatar" /> -->
  51. <!-- </div> -->
  52. <!-- <div class="name">{{ nickName }}</div> -->
  53. <!-- <div class="tenant-name">{{ tenantName }}</div> -->
  54. <!-- <div class="date">{{ date }}</div> -->
  55. <!-- <div class="title">欢迎登录Mec OS 工业应用操作系统</div> -->
  56. <!-- <div class="title">欢迎登录Mec OS 化纤行业生产管理系统</div> -->
  57. <div class="echarts1">
  58. <div class="pieChart" ref="pieChart"></div>
  59. <div
  60. :class="'describe' + (parseInt(index) + 1)"
  61. v-for="(item, index) in processList"
  62. :key="index"
  63. >
  64. <P class="text">{{ item.name }}</P>
  65. <P class="num">{{ item.value }}</P>
  66. </div>
  67. </div>
  68. <div class="echarts2">
  69. <div class="lineChart" ref="lineChart"></div>
  70. </div>
  71. <div class="echarts3">
  72. <p class="title">操作日志</p>
  73. <div class="text">
  74. <span class="peo">操作人</span>
  75. <span class="add">ip</span>
  76. </div>
  77. <div class="swiper-container">
  78. <div class="swiper-scrollbar"></div>
  79. <div class="swiper-wrapper">
  80. <div
  81. class="swiper-slide"
  82. v-for="(item, index) in swiperList"
  83. :key="index"
  84. >
  85. <div>
  86. <span class="name">{{ item.operName }}</span>
  87. <span class="ip">{{ item.operIp }}</span>
  88. </div>
  89. </div>
  90. </div>
  91. </div>
  92. </div>
  93. <div class="echarts4">
  94. <div class="gaugeChart" ref="gaugeChart"></div>
  95. </div>
  96. <div class="echarts5">
  97. <div class="barChart" ref="barChart"></div>
  98. </div>
  99. </div>
  100. </div>
  101. </template>
  102. <script>
  103. import { formatDate } from "@/utils";
  104. import { getToken } from "@/utils/auth";
  105. import { mapGetters, mapState } from "vuex";
  106. import "swiper/css/swiper.css";
  107. import Swiper from "swiper";
  108. import {
  109. getTask,
  110. getPipeline,
  111. getOperation,
  112. getMaterial,
  113. getLogin,
  114. } from "@/api/homePage/index";
  115. export default {
  116. name: "Index",
  117. data() {
  118. return {
  119. chartObj: {
  120. myChart1: null,
  121. myChart2: null,
  122. myChart3: null,
  123. myChart4: null,
  124. },
  125. processList: [],
  126. swiperList: [
  127. /* {
  128. name: "111",
  129. ip: "192.168.1.1"
  130. },
  131. {
  132. name: "222",
  133. ip: "192.168.1.2"
  134. },
  135. {
  136. name: "333",
  137. ip: "192.168.1.3"
  138. },
  139. {
  140. name: "444",
  141. ip: "192.168.1.4"
  142. },
  143. {
  144. name: "555",
  145. ip: "192.168.1.5"
  146. },
  147. {
  148. name: "666",
  149. ip: "192.168.1.6"
  150. }, */
  151. ],
  152. // 用户导入参数
  153. upload: {
  154. // 是否显示弹出层(用户导入)
  155. open: false,
  156. // 弹出层标题(用户导入)
  157. title: "",
  158. // 是否禁用上传
  159. isUploading: false,
  160. // 是否更新已经存在的用户数据
  161. updateSupport: 0,
  162. // 设置上传的请求头部
  163. headers: { Authorization: "Bearer " + getToken() },
  164. // 上传的地址
  165. url: process.env.VUE_APP_BASE_API3 + "common/importDataInfo",
  166. },
  167. // 版本号
  168. version: "3.8.5",
  169. };
  170. },
  171. mounted() {
  172. // 初始化 echarts
  173. this.initChart1();
  174. this.initChart2();
  175. this.initChart3();
  176. this.initChart4();
  177. this.initData();
  178. },
  179. methods: {
  180. initData() {
  181. //任务统计
  182. getTask().then((response) => {
  183. if (response.code == 200) {
  184. this.processList = response.data;
  185. // console.log(this.processList);
  186. this.chartObj.myChart1.setOption({
  187. series: [
  188. {
  189. data: response.data,
  190. },
  191. ],
  192. });
  193. } else {
  194. console.log(response);
  195. this.$message.error("获取数据失败");
  196. }
  197. });
  198. //管道统计
  199. getPipeline().then((response) => {
  200. if (response.code == 200) {
  201. // console.log(response.data);
  202. // console.log(response.data[0].date);
  203. let xAxisData = response.data[0].date;
  204. xAxisData = xAxisData.map(function (dateStr) {
  205. var date = new Date(dateStr);
  206. return date.getMonth() + 1 + "月" + date.getDate() + "日";
  207. });
  208. let loginList = response.data.map((item) => item.name);
  209. this.chartObj.myChart2.setOption({
  210. legend: {
  211. data: loginList,
  212. },
  213. xAxis: {
  214. data: xAxisData,
  215. },
  216. series: response.data,
  217. });
  218. } else {
  219. console.log(response);
  220. this.$message.error("获取数据失败");
  221. }
  222. });
  223. //操作日志
  224. getOperation().then((response) => {
  225. if (response.code == 200) {
  226. this.swiperList = response.data;
  227. this.$nextTick(() => {
  228. var swiper = new Swiper(".swiper-container", {
  229. direction: "vertical",
  230. loop: true,
  231. autoplay: {
  232. delay: 1000,
  233. disableOnInteraction: false,
  234. },
  235. scrollbar: {
  236. el: ".swiper-scrollbar",
  237. },
  238. slidesPerView: 3,
  239. freeMode: true,
  240. // spaceBetween: 1,
  241. });
  242. });
  243. } else {
  244. console.log(response);
  245. this.$message.error("获取数据失败");
  246. }
  247. });
  248. //原材料统计
  249. getMaterial().then((response) => {
  250. if (response.code == 200) {
  251. // console.log(response.data);
  252. let tabularList = response.data;
  253. // tabularList.push({ name: "多表数量", value: 30 });
  254. let labelList = response.data.map((item) => item.name);
  255. this.chartObj.myChart3.setOption({
  256. yAxis: {
  257. data: labelList,
  258. },
  259. series: [
  260. {
  261. data: response.data,
  262. },
  263. ],
  264. });
  265. } else {
  266. console.log(response);
  267. this.$message.error("获取数据失败");
  268. }
  269. });
  270. //用户登录统计
  271. getLogin().then((response) => {
  272. if (response.code == 200) {
  273. let modelData = response.data;
  274. // console.log(modelData);
  275. this.chartObj.myChart4?.setOption({
  276. series: [
  277. {
  278. data: [modelData],
  279. },
  280. ],
  281. });
  282. } else {
  283. console.log(response);
  284. this.$message.error("获取数据失败");
  285. }
  286. });
  287. },
  288. initChart1() {
  289. this.chartObj.myChart1 = this.$echarts.init(this.$refs.pieChart);
  290. let option = {
  291. color: ["#9370db", "#ffd700", "#00ccff", "#ff6600", "#ff9900"],
  292. title: {
  293. text: "任务统计",
  294. left: "left",
  295. textStyle: {
  296. fontSize: 16,
  297. fontWeight: "normal",
  298. color: "#696969",
  299. },
  300. },
  301. tooltip: {
  302. trigger: "item",
  303. },
  304. legend: {
  305. left: "60%",
  306. top: "60%",
  307. },
  308. series: [
  309. {
  310. // name: 'Access From',
  311. type: "pie",
  312. radius: ["40%", "100%"],
  313. avoidLabelOverlap: false,
  314. itemStyle: {
  315. // borderRadius: 10,
  316. borderColor: "#fff",
  317. borderWidth: 2,
  318. },
  319. right: "40%",
  320. top: "50%",
  321. data: [
  322. { value: 10, name: "工艺流" },
  323. { value: 20, name: "审批流" },
  324. ],
  325. label: {
  326. show: false,
  327. position: "center",
  328. },
  329. labelLine: {
  330. show: false,
  331. },
  332. emphasis: {
  333. label: {
  334. show: true,
  335. fontSize: 20,
  336. fontWeight: "bold",
  337. },
  338. },
  339. },
  340. ],
  341. };
  342. this.chartObj.myChart1.setOption(option);
  343. },
  344. initChart2() {
  345. this.chartObj.myChart2 = this.$echarts.init(this.$refs.lineChart);
  346. let option = {
  347. color: ["#FF88E0", "#9FE080"],
  348. title: {
  349. text: "管道统计",
  350. textStyle: {
  351. fontSize: 16,
  352. fontWeight: "normal",
  353. color: "#696969",
  354. },
  355. },
  356. tooltip: {
  357. trigger: "axis",
  358. },
  359. legend: {
  360. data: ["在产生产任务", "完成数量"],
  361. },
  362. grid: {
  363. left: "3%",
  364. right: "4%",
  365. top: "20%",
  366. bottom: "0%",
  367. containLabel: true,
  368. },
  369. xAxis: {
  370. type: "category",
  371. boundaryGap: false,
  372. data: [
  373. "01\nMon",
  374. "02\nTue",
  375. "03\nWed",
  376. "04\nThu",
  377. "05\nFri",
  378. "06\nSat",
  379. "07\nSun",
  380. "08\nMon",
  381. "09\nTue",
  382. "10\nWed",
  383. "11\nThu",
  384. "12\nFri",
  385. "13\nSat",
  386. "14\nSun",
  387. "15\nMon",
  388. "16\nTue",
  389. "17\nWed",
  390. "18\nThu",
  391. "19\nFri",
  392. "20\nSat",
  393. "21\nSun",
  394. "22\nMon",
  395. "23\nTue",
  396. "24\nWed",
  397. "25\nThu",
  398. "26\nFri",
  399. "27\nSat",
  400. "28\nSun",
  401. "29\nMon",
  402. "30\nTue",
  403. ],
  404. },
  405. yAxis: {
  406. type: "value",
  407. },
  408. series: [
  409. {
  410. name: "客户端",
  411. type: "line",
  412. smooth: true,
  413. data: [
  414. 10, 23, 42, 13, 30, 25, 40, 30, 42, 55, 40, 28, 20, 30, 45, 25,
  415. 20, 30, 40, 33, 35, 40, 46, 31, 13, 34, 20, 10, 36, 43,
  416. ],
  417. },
  418. {
  419. name: "工具端",
  420. type: "line",
  421. smooth: true,
  422. data: [
  423. 20, 30, 29, 40, 55, 33, 30, 26, 36, 45, 50, 34, 38, 25, 28, 43,
  424. 16, 30, 45, 52, 40, 46, 33, 57, 50, 33, 40, 59, 56, 56,
  425. ],
  426. },
  427. ],
  428. };
  429. this.chartObj.myChart2.setOption(option);
  430. },
  431. initChart3() {
  432. this.chartObj.myChart3 = this.$echarts.init(this.$refs.gaugeChart);
  433. let option = {
  434. color: ["#00ccff", "#ff6600", "#ff9900", "#9370db", "#ffd700"],
  435. title: {
  436. text: "原材料统计",
  437. left: "left",
  438. textStyle: {
  439. fontSize: 16,
  440. fontWeight: "normal",
  441. color: "#696969",
  442. },
  443. },
  444. tooltip: {
  445. trigger: "axis",
  446. axisPointer: {
  447. type: "shadow",
  448. },
  449. },
  450. grid: {
  451. left: "0%",
  452. right: "3%",
  453. top: "20%",
  454. bottom: "0%",
  455. containLabel: true,
  456. },
  457. xAxis: {
  458. type: "value",
  459. nameLocation: "middle",
  460. nameTextStyle: {
  461. align: "center",
  462. },
  463. splitLine: {
  464. show: false,
  465. },
  466. },
  467. yAxis: {
  468. type: "category",
  469. data: ["总数", "入库数量", "出库数量"],
  470. inverse: true, // 使类目从右向左排列
  471. },
  472. series: [
  473. {
  474. type: "bar",
  475. barWidth: "18",
  476. orientation: "horizontal",
  477. data: [
  478. { value: 88, name: "表单" },
  479. { value: 66, name: "表格" },
  480. { value: 33, name: "三级联动" },
  481. ],
  482. showBackground: true,
  483. backgroundStyle: {
  484. color: "#F0F8FF",
  485. },
  486. },
  487. ],
  488. };
  489. this.chartObj.myChart3.setOption(option);
  490. },
  491. initChart4() {
  492. this.chartObj.myChart4 = this.$echarts.init(this.$refs.barChart);
  493. let option = {
  494. color: ["#5D84FE"],
  495. title: {
  496. text: "用户登录统计",
  497. textStyle: {
  498. fontSize: 16,
  499. fontWeight: "normal",
  500. color: "#696969",
  501. },
  502. },
  503. tooltip: {
  504. trigger: "axis",
  505. axisPointer: {
  506. type: "shadow",
  507. },
  508. },
  509. xAxis: {
  510. type: "category",
  511. data: [
  512. "1月",
  513. "2月",
  514. "3月",
  515. "4月",
  516. "5月",
  517. "6月",
  518. "7月",
  519. "8月",
  520. "9月",
  521. "10月",
  522. "11月",
  523. "12月",
  524. ],
  525. },
  526. yAxis: {
  527. type: "value",
  528. min: 0,
  529. max: 100,
  530. interval: 20,
  531. splitLine: {
  532. show: false, // 关闭y轴的水平分割线
  533. },
  534. },
  535. grid: {
  536. left: "5%",
  537. right: "5%",
  538. top: "30%",
  539. bottom: "0%",
  540. containLabel: true,
  541. },
  542. series: [
  543. {
  544. data: [0],
  545. type: "bar",
  546. barWidth: "30", // 设置柱体宽度
  547. showBackground: true,
  548. backgroundStyle: {
  549. color: "#E8EFFF",
  550. },
  551. },
  552. ],
  553. };
  554. this.chartObj.myChart4.setOption(option);
  555. },
  556. /** 导入按钮操作 */
  557. handleImport() {
  558. this.upload.title = "用户导入";
  559. this.upload.open = true;
  560. },
  561. /** 下载模板操作 */
  562. importTemplate() {
  563. this.download(
  564. "system/user/importTemplate",
  565. {},
  566. `user_template_${new Date().getTime()}.xlsx`
  567. );
  568. },
  569. // 文件上传中处理
  570. handleFileUploadProgress(event, file, fileList) {
  571. this.upload.isUploading = true;
  572. },
  573. // 文件上传成功处理
  574. handleFileSuccess(response, file, fileList) {
  575. this.upload.open = false;
  576. this.upload.isUploading = false;
  577. this.$refs.upload.clearFiles();
  578. this.$alert(
  579. "<div style='overflow: auto;overflow-x: hidden;max-height: 70vh;padding: 10px 20px 0;'>" +
  580. response.msg +
  581. "</div>",
  582. "导入结果",
  583. { dangerouslyUseHTMLString: true }
  584. );
  585. this.getList();
  586. },
  587. // 提交上传文件
  588. submitFileForm() {
  589. this.$refs.upload.submit();
  590. },
  591. goTarget(href) {
  592. window.open(href, "_blank");
  593. },
  594. toPersonalCenter() {
  595. this.$router.push("/user/profile");
  596. },
  597. },
  598. computed: {
  599. ...mapState({
  600. username: (state) => state.user.name,
  601. owner: (state) => state.user?.tenant.owner,
  602. tenantName: (state) => state.user?.tenant.tenantName,
  603. nickName: (state) => state.user?.nickName,
  604. }),
  605. ...mapGetters(["avatar"]),
  606. date: () => {
  607. return formatDate(new Date());
  608. },
  609. },
  610. };
  611. </script>
  612. <style lang="scss" scoped>
  613. .home {
  614. position: relative;
  615. width: 100%;
  616. /* height: 500px; */
  617. background-color: #eff2f7;
  618. .info-content {
  619. width: 100%;
  620. height: 100%;
  621. display: flex;
  622. flex-direction: row;
  623. flex-wrap: wrap;
  624. .echarts1 {
  625. position: relative;
  626. width: 20%;
  627. height: 280px;
  628. margin: auto;
  629. padding: 20px 15px;
  630. box-shadow: 10px 10px 5px #e0e0e0;
  631. background-color: #fff;
  632. border-radius: 10px;
  633. .pieChart {
  634. width: 100%;
  635. height: 100%;
  636. }
  637. .describe1 {
  638. .text {
  639. position: absolute;
  640. left: 50px;
  641. top: 90px;
  642. }
  643. .num {
  644. position: absolute;
  645. font-size: 20px;
  646. color: black;
  647. left: 63px;
  648. top: 55px;
  649. }
  650. }
  651. .describe2 {
  652. .text {
  653. position: absolute;
  654. left: 157px;
  655. top: 90px;
  656. }
  657. .num {
  658. position: absolute;
  659. font-size: 20px;
  660. color: black;
  661. left: 170px;
  662. top: 55px;
  663. }
  664. }
  665. }
  666. .echarts2 {
  667. width: 76%;
  668. height: 280px;
  669. margin: auto;
  670. padding: 20px 15px;
  671. box-shadow: 10px 10px 5px #e0e0e0;
  672. background-color: #fff;
  673. border-radius: 10px;
  674. margin-right: 30px;
  675. .lineChart {
  676. width: 100%;
  677. height: 100%;
  678. }
  679. }
  680. .echarts3 {
  681. width: 23%;
  682. height: 200px;
  683. margin: auto;
  684. padding: 20px 15px;
  685. box-shadow: 10px 10px 5px #e0e0e0;
  686. background-color: #fff;
  687. border-radius: 10px;
  688. margin-top: 20px;
  689. p {
  690. margin: 0;
  691. }
  692. .title {
  693. font-size: 16px;
  694. color: "#696969";
  695. }
  696. .text {
  697. display: flex;
  698. flex-direction: row;
  699. margin-top: 10px;
  700. .peo {
  701. font-size: 14px;
  702. color: black;
  703. font-weight: bold;
  704. margin-left: 20px;
  705. margin-right: 120px;
  706. }
  707. .add {
  708. font-size: 14px;
  709. color: black;
  710. font-weight: bold;
  711. }
  712. }
  713. .swiper-container {
  714. display: flex;
  715. flex-direction: row;
  716. flex-wrap: wrap;
  717. width: 90%;
  718. height: 80px;
  719. /* overflow: auto; */
  720. margin-top: 10px;
  721. .name {
  722. text-align: center;
  723. font-size: 16px;
  724. margin-left: 2px;
  725. margin-right: 59px;
  726. }
  727. .ip {
  728. text-align: center;
  729. font-size: 16px;
  730. }
  731. }
  732. }
  733. .echarts4 {
  734. width: 20%;
  735. height: 200px;
  736. margin: auto;
  737. padding: 20px 15px;
  738. box-shadow: 10px 10px 5px #e0e0e0;
  739. background-color: #fff;
  740. border-radius: 10px;
  741. margin-top: 20px;
  742. .gaugeChart {
  743. width: 100%;
  744. height: 100%;
  745. }
  746. }
  747. .echarts5 {
  748. width: 53%;
  749. height: 200px;
  750. margin: auto;
  751. padding: 20px 15px;
  752. box-shadow: 10px 10px 5px #e0e0e0;
  753. background-color: #fff;
  754. border-radius: 10px;
  755. margin-top: 20px;
  756. margin-right: 30px;
  757. .barChart {
  758. width: 100%;
  759. height: 100%;
  760. }
  761. }
  762. /* .header {
  763. white-space: nowrap;
  764. margin-bottom: 5px;
  765. cursor: pointer;
  766. .user-avatar {
  767. width: 160px;
  768. border-radius: 50%;
  769. }
  770. } */
  771. .name {
  772. font-size: 30px;
  773. margin-bottom: 5px;
  774. }
  775. .tenant-name {
  776. font-size: 20px;
  777. }
  778. .date {
  779. margin-bottom: 10px;
  780. }
  781. .title {
  782. font-size: 16px;
  783. }
  784. }
  785. }
  786. .home {
  787. blockquote {
  788. padding: 10px 20px;
  789. margin: 0 0 20px;
  790. font-size: 17.5px;
  791. /* border-left: 5px solid #eee; */
  792. }
  793. hr {
  794. margin-top: 20px;
  795. margin-bottom: 20px;
  796. border: 0;
  797. border-top: 1px solid #eee;
  798. }
  799. .col-item {
  800. margin-bottom: 20px;
  801. }
  802. ul {
  803. padding: 0;
  804. margin: 0;
  805. }
  806. font-family: "open sans", "Helvetica Neue", Helvetica, Arial, sans-serif;
  807. font-size: 13px;
  808. color: #676a6c;
  809. overflow-x: hidden;
  810. ul {
  811. list-style-type: none;
  812. }
  813. h4 {
  814. margin-top: 0px;
  815. }
  816. h2 {
  817. margin-top: 10px;
  818. font-size: 26px;
  819. font-weight: 100;
  820. }
  821. p {
  822. margin-top: 10px;
  823. b {
  824. font-weight: 700;
  825. }
  826. }
  827. .update-log {
  828. ol {
  829. display: block;
  830. list-style-type: decimal;
  831. margin-block-start: 1em;
  832. margin-block-end: 1em;
  833. margin-inline-start: 0;
  834. margin-inline-end: 0;
  835. padding-inline-start: 40px;
  836. }
  837. }
  838. }
  839. </style>