-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathstyles.css
101 lines (87 loc) · 1.56 KB
/
styles.css
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
body, html {
font-family: Arial, sans-serif;
margin: 0;
padding: 0;
height: 100%;
overflow: hidden;
}
#top-bar {
background-color: black;
color: white;
padding: 10px;
display: flex;
justify-content: space-between;
align-items: center;
}
#title {
font-size: 1.2em;
font-weight: bold;
}
#controls {
display: flex;
align-items: center;
}
#fileTypeDisplay {
margin-right: 10px;
}
#downloadBtn {
background-color: green;
color: white;
border: none;
padding: 5px 10px;
cursor: pointer;
margin-left: 10px;
}
#main-container {
display: flex;
height: calc(100% - 50px); /* 50pxはtop-barの高さ */
}
#editor-container, #preview-container {
flex: 1;
height: 100%;
display: flex;
flex-direction: column;
}
#editor {
width: 100%;
flex-grow: 1;
border-right: 1px solid gray;
}
#preview-container {
position: relative;
}
#preview-frame {
width: 100%;
height: 100%;
border: none;
}
#error-container {
position: absolute;
top: 0;
left: 0;
right: 0;
background-color: rgba(255, 220, 220, 0.95);
border-bottom: 1px solid #e0e0e0;
font-family: Arial, sans-serif;
font-size: 14px;
padding: 10px;
z-index: 1000;
max-height: 30%;
overflow-y: auto;
display: none;
}
.error-title {
font-size: 16px;
font-weight: bold;
color: #d32f2f;
margin-bottom: 10px;
}
.error-message {
color: #333;
margin-bottom: 5px;
}
.error-location {
font-size: 12px;
color: #666;
margin-bottom: 10px;
}