forked from codypearce/codegroundjs
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathcodeground.css
More file actions
116 lines (110 loc) · 1.89 KB
/
Copy pathcodeground.css
File metadata and controls
116 lines (110 loc) · 1.89 KB
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
.codeground {
height: 500px;
width: 100%;
border: 1px solid #eee;
font-family: helvetica, sans-serif;
box-shadow: 0 1px 3px 1px rgba(0,0,0, .1);
}
.topbar {
height: 50px;
width: 100%;
background-color: #e2e2e2;
border-radius: 3px 3px 0 0;
}
.topbar h2 {
color: #777272;
text-align: right;
padding: 10px;
display: inline;
float: right;
margin: 0;
}
.topbar .btn {
height: 50px;
width: 70px;
background: none;
border: none;
border-right: 1px solid #d6d6d6;
outline: none;
color: #777272;
font-size: 12px;
}
.topbar .btn:hover {
background: #c7c7c7;
color: #e6e6e6;
cursor: pointer;
}
.editor h3 {
margin: 0;
padding: 13px 10px;
background-color: #eee;
position:relative;
color: #777272;
font-size: 14px;
}
.editor textarea {
width: 100%;
height: 100%;
box-sizing: border-box;
border: none;
resize: none;
padding: 10px;
margin-top: -42px;
padding-top: 52px;
}
.editor textarea:focus {
outline: none;
}
.editors.rows .editor{
height: 33%
}
iframe {
width: 100%;
height: 100%;
border: none;
}
.fullwidth .editors, .fullwidth .output {
display: block;
height: 450px;
width: 100%;
}
.halfwidth .editors {
display: block;
height: 450px;
width: 49.9%;
float: left;
}
.halfwidth .output {
display: block;
height: 450px;
width: 50%;
border-left: 1px solid #eee;
float: left;
}
.fullscreen {
border: none;
height: 100%;
}
.fullscreen .topBar {
height: 5%;
}
.fullscreen .editors {
height: 94%;
}
.fullscreen .output {
height: 94%;
}
.fullscreen .editors textarea {
height: 100%
}
@media all and (max-width: 425px) {
.halfwidth .editors {
width: 100%;
float:none;
}
.halfwidth .output {
width: 100%;
border: none;
float: none;
}
}