feature/tauri-v2
css 113 lines 1.98 KB
Raw
1 *:focus-visible, *:focus {
2 outline: none;
3 }
4
5 html, body {
6 position: relative;
7 width: 100%;
8 height: 100%;
9 padding: 0;
10 margin: 0;
11 overflow: hidden;
12 }
13
14 html {
15 font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen-Sans, Ubuntu, Cantarell, "Helvetica Neue", sans-serif;
16 font-size: 16px;
17 line-height: 24px;
18 font-weight: 400;
19 user-select: none;
20 -webkit-user-select: none;
21
22 font-synthesis: none;
23 text-rendering: optimizeLegibility;
24 -webkit-font-smoothing: antialiased;
25 -moz-osx-font-smoothing: grayscale;
26 -webkit-text-size-adjust: 100%;
27 }
28
29 body {
30 box-sizing: border-box;
31 }
32
33 a {
34 color: rgb(0,100,200);
35 text-decoration: none;
36 }
37
38 a:hover {
39 text-decoration: underline;
40 }
41
42 label {
43 display: block;
44 }
45
46 input, button, select, textarea {
47 font-family: inherit;
48 font-size: inherit;
49 padding: 0.4em;
50 margin: 0;
51 outline: none;
52 box-sizing: border-box;
53 }
54
55 input:focus, textarea:focus {
56 outline: none;
57 }
58
59 input:disabled {
60 color: #ccc;
61 }
62
63 button {
64 cursor: pointer;
65 padding: 0;
66 background: none;
67 border: none;
68 }
69 ul {
70 padding: 0
71 }
72
73 .editor-panes .splitpanes__pane {
74 background-color: transparent;
75 transition: none !important;
76 }
77 .editor-panes .splitpanes__splitter {
78 position: relative;
79 }
80 .editor-panes .splitpanes__splitter.splitpanes__splitter__active {
81 z-index: 2;
82 }
83 .editor-panes .splitpanes__splitter::before {
84 content: '';
85 position: absolute;
86 left: 0;
87 top: 0;
88 transition: opacity 0.2s;
89 opacity: 0;
90 z-index: 1;
91 }
92 .editor-panes .splitpanes__splitter:hover::before {
93 opacity: 1;
94 }
95 .editor-panes.splitpanes--vertical > .splitpanes__splitter::before {
96 left: -1.5px;
97 right: -1.5px;
98 height: 100%;
99 cursor: ew-resize;
100 }
101 .editor-panes.splitpanes--horizontal > .splitpanes__splitter::before {
102 top: -1.5px;
103 bottom: -1.5px;
104 width: 100%;
105 cursor: ns-resize;
106 }
107
108 .editor-panes.splitpanes--vertical.splitpanes--dragging {
109 cursor: ew-resize;
110 }
111 .editor-panes.splitpanes--horizontal.splitpanes--dragging {
112 cursor: ns-resize;
113 }