-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathsidepanel.css
122 lines (106 loc) · 1.94 KB
/
sidepanel.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
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
/* Styles généraux */
body {
font-family: Arial, sans-serif;
margin: 0;
padding: 0;
box-sizing: border-box;
}
.container {
display: flex;
flex-direction: column;
height: 97.6vh;
}
.header {
display: flex;
justify-content: space-between;
align-items: center;
padding: 10px 20px;
background-color: #3f51b5;
color: white;
}
.header h1 {
margin: 0;
font-size: 1.5em;
}
.button-group .btn {
background-color: #ffffff;
color: #3f51b5;
border: none;
padding: 10px 15px;
margin-left: 10px;
cursor: pointer;
border-radius: 5px;
font-size: 0.9em;
}
.button-group .btn:hover {
background-color: #e8e8e8;
}
.content {
flex: 1;
display: flex;
flex-direction: column;
gap: 20px;
padding: 20px;
overflow-y: auto;
}
.editors-container {
display: flex;
flex-direction: column;
gap: 20px;
}
.editor-wrapper,
.preview-container {
width: 100%;
}
.editor-header {
background-color: #f5f5f5;
padding: 5px 10px;
border: 1px solid #ccc;
border-bottom: none;
font-weight: bold;
}
.editor {
background-color: #f9f9f9;
border: 1px solid #ccc;
border-radius: 0 0 5px 5px;
overflow: auto;
/* min-height: 150px; */
padding: 10px;
resize: vertical;
display: block;
}
/* Styles pour les éditeurs Prism */
.editor code {
display: block;
min-height: 100%;
white-space: pre-wrap;
word-wrap: break-word;
outline: none;
font-family: 'Consolas', 'Monaco', 'Andale Mono', monospace;
font-size: 14px;
line-height: 1.5;
}
pre {
margin: 0;
}
.preview-container {
border: 1px solid #ccc;
border-radius: 5px;
background-color: #fff;
}
.preview-frame {
width: 100%;
height: 300px;
border: none;
resize: vertical;
}
footer {
background-color: #3f51b5;
color: white;
text-align: center;
padding: 10px 20px;
font-size: 0.9em;
}
footer .message {
margin: 0;
}