1
1
/* CSS for SwiftPluginXBlock */
2
- .container {
3
- min-height : 950px ;
4
- }
5
- .swiftplugin > div {
6
- border : 0 !important ;
7
- }
8
- .nav-tabs .nav-link # yoursolution2-tab , .nav-link # empowrsolution-tab {
2
+
3
+ .swiftplugin .nav-tabs .nav-link # yoursolution2-tab ,
4
+ .swiftplugin .nav-link # empowrsolution-tab {
9
5
padding : 8px 16px ;
10
- color : # 9E9E9E!important ;
6
+ color : # 9E9E9E !important ;
11
7
}
12
8
13
- .code-solution-row {
14
- --bs-gutter-x : 0 !important ;
9
+ .swiftplugin . code-solution-row {
10
+ --bs-gutter-x : 0 !important ;
15
11
}
16
12
17
- .nav-pills # myTab , .nav-link .active # yoursolution2-tab , .nav-link .active # empowrsolution-tab {
18
- background-color : transparent!important ;
19
- border-radius : 16px 16px 0 0 !important ;
13
+ .swiftplugin .nav-pills # myTab ,
14
+ .swiftplugin .nav-link .active # yoursolution2-tab ,
15
+ .swiftplugin .nav-link .active # empowrsolution-tab {
16
+ background-color : transparent !important ;
17
+ border-radius : 16px 16px 0 0 !important ;
20
18
font-weight : bold;
21
- color : # 424242!important ;
19
+ color : # 424242 !important ;
22
20
}
23
- .nav-link .active # yoursolution2-tab : hover {
24
- background : none !important ;
25
- }
26
- .nav-link # yoursolution2-tab , .nav-link # empowrsolution-tab {
21
+
22
+ .swiftplugin .nav-link # yoursolution2-tab ,
23
+ .swiftplugin .nav-link # empowrsolution-tab {
27
24
display : block;
28
25
padding : .5rem 1rem ;
29
26
/* color: white; */
30
- color : # 424242!important ;
27
+ font-weight : 100 ;
28
+ color : # 424242 !important ;
31
29
text-decoration : none;
32
- transition : color .15s ease-in-out, background-color .15s ease-in-out, border-color .15s ease-in-out;
30
+ transition : color .15s ease-in-out, background-color .15s ease-in-out, border-color .15s ease-in-out;
33
31
}
34
32
35
33
36
- div # code-container-area {
34
+ . swiftplugin div # code-container-area {
37
35
border : 1px ;
38
36
border-style : solid;
39
37
border-radius : 16px ;
40
- border-color : rgb (132 , 132 , 132 )!important ;
38
+ border-color : rgb (132 , 132 , 132 ) !important ;
41
39
height : calc (70vmin + 40px );
42
- overflow : hidden;
40
+ overflow : hidden;
43
41
}
44
- div # code-container-area ul {
45
- list-style : none;
46
- }
47
- .response-txt {
42
+
43
+ .swiftplugin .response-txt {
48
44
color : black;
49
45
white-space : pre-wrap;
50
46
}
51
47
52
- .code-bottom {
48
+ .swiftplugin . code-bottom {
53
49
background : none;
54
50
/* height: 30vh; */
55
51
display : flex;
56
52
flex-direction : column;
57
53
}
58
54
59
- .tab-pane {
55
+ .swiftplugin . tab-pane {
60
56
min-height : 100px ;
61
57
}
62
58
63
- .instructions-container {
64
- padding-left : 16px !important ;
65
- padding-right : 16px !important ;
59
+ .swiftplugin . instructions-container {
60
+ padding-left : 16px !important ;
61
+ padding-right : 16px !important ;
66
62
}
67
63
68
- .CodeMirror-wrap {
64
+ .swiftplugin . CodeMirror-wrap {
69
65
width : 50% !important ;
70
66
border-right : 1px solid # e6e6e6 ;
71
67
/* min-height: 600px; */
72
68
border-radius : 16px 0 0 16px ;
73
69
74
70
}
75
71
76
- .btn-primary # run-btn , .btn-primary # submit-btn {
72
+ .swiftplugin .btn-primary # run-btn ,
73
+ .swiftplugin .btn-primary # submit-btn {
77
74
color : # fff !important ;
78
75
background-color : # 5c0e81 !important ;
79
76
border-color : # 5c0e81 !important ;
80
77
}
81
78
82
- .btn-primary # run-btn : hover , .btn-primary # submit-btn : hover {
79
+ .swiftplugin .btn-primary # run-btn : hover ,
80
+ .swiftplugin .btn-primary # submit-btn : hover {
83
81
background-color : # 7730b0 !important ;
84
82
border-color : # 7730b0 !important ;
85
83
}
86
84
87
- .btn-primary # select-lang-btn , .btn-primary # submit-btn {
85
+ .swiftplugin .btn-primary # select-lang-btn ,
86
+ .swiftplugin .btn-primary # submit-btn {
88
87
color : # fff !important ;
89
88
background-color : # 5c0e81 !important ;
90
89
border-color : # 5c0e81 !important ;
91
90
}
92
91
93
- .btn-primary # select-lang-btn : hover , .btn-primary # submit-btn : hover {
92
+ .swiftplugin .btn-primary # select-lang-btn : hover ,
93
+ .swiftplugin .btn-primary # submit-btn : hover {
94
94
background-color : # 7730b0 !important ;
95
95
border-color : # 7730b0 !important ;
96
96
}
97
97
98
- .CodeMirror {
98
+ .swiftplugin . CodeMirror {
99
99
height : auto !important ;
100
100
}
101
101
102
- .instructions-container , .CodeMirror-wrap {
102
+ .swiftplugin .instructions-container ,
103
+ .swiftplugin .CodeMirror-wrap {
103
104
height : 70vmin !important ;
104
105
overflow-y : scroll;
105
106
}
106
107
107
- .heading-dropdown-wrapper {
108
+ .swiftplugin . heading-dropdown-wrapper {
108
109
display : flex;
109
110
align-items : center;
110
111
justify-content : space-between;
111
112
}
112
113
113
- .tab-pane .fade .show .active + .tab-pane .fade .hidden .active {
114
+ .swiftplugin . tab-pane .fade .show .active + .tab-pane .fade .hidden .active {
114
115
margin-bottom : -70vmin ;
115
116
}
116
117
117
- .CodeMirror .cm-s-default .CodeMirror-wrap {
118
+ .swiftplugin . CodeMirror .cm-s-default .CodeMirror-wrap {
118
119
width : 100% !important ;
119
120
}
120
121
121
- .tab-content-wrapper {
122
+ .swiftplugin . tab-content-wrapper {
122
123
display : grid;
123
124
grid-template-columns : 1fr 1fr ;
124
125
}
125
126
126
- @media (max-width : 768px ){
127
- .CodeMirror-wrap {
127
+ @media (max-width : 768px ) {
128
+ .swiftplugin . CodeMirror-wrap {
128
129
width : 100% !important ;
129
130
/* min-height: 400px; */
130
- }
131
- div # code-container-area {
131
+ }
132
+
133
+ .swiftplugin div # code-container-area {
132
134
/* height:100vh; */
133
- overflow : hidden;
135
+ overflow : hidden;
134
136
}
135
-
136
- div # code-solution-area {
137
- height : 100vh ;
138
- overflow : hidden;
137
+
138
+ . swiftplugin div # code-solution-area {
139
+ height : 100vh ;
140
+ overflow : hidden;
139
141
}
140
142
}
141
143
142
144
@media only screen and (max-width : 992px ) {
143
- .heading-dropdown-wrapper {
145
+ .swiftplugin . heading-dropdown-wrapper {
144
146
flex-direction : column;
145
147
align-items : flex-start;
146
148
}
147
149
}
150
+
151
+ .CodeMirror-line {
152
+ margin : -1px 20px ;
153
+ }
154
+
155
+ .CodeMirror-gutter ,
156
+ .CodeMirror-linenumbers {
157
+ width : 26px ;
158
+ }
159
+
160
+ .CodeMirror-line {
161
+ margin : 0px 32px ;
162
+ }
163
+
164
+ .swiftplugin # code-container-area li {
165
+ list-style : none;
166
+ }
167
+
168
+ .swiftplugin .col-12 {
169
+ border : none;
170
+ }
0 commit comments