-
Notifications
You must be signed in to change notification settings - Fork 2
Expand file tree
/
Copy pathbodybuilder.css
More file actions
116 lines (103 loc) · 1.75 KB
/
Copy pathbodybuilder.css
File metadata and controls
116 lines (103 loc) · 1.75 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
/*
# Body builder
```
<table class="bodybuilder PUT">
<thead>
<tr>
<th>Parameter name</th>
<th>Value</th>
<th>Description</th>
</tr>
</thead>
<tbody>
<tr>
<td>field</td>
<td>string</td>
<td><p class="fixie"></p></td>
</tr>
<tr>
<td>field</td>
<td>string</td>
<td><p class="fixie"></p></td>
</tr>
</tbody>
</table>
```
*/
.bodybuilder {
width: 100%;
}
.bodybuilder th,
.bodybuilder td {
padding: 15px;
}
.bodybuilder th {
color: #fff;
font-size: 14px;
border-right: 1px dotted #fff;
}
.bodybuilder td {
font-size: 12px;
background: #fff;
}
.bodybuilder th:last-child {
border-right: none;
}
.method-POST {
background: #449122;
}
.method-DELETE {
background: #ce3442;
}
.method-PUT {
background: #e0871e;
}
.method-GET {
background: #2b82c5;
}
.bodybuilder.PUT {
border: 1px solid #e0871e;
}
.bodybuilder.PUT th {
background: #e0871e;
}
.bodybuilder.PUT td{
border-right: 1px dotted #e0871e;
border-bottom: 1px dotted #e0871e;
}
.bodybuilder.DELETE {
border: 1px solid #ce3442;
}
.bodybuilder.DELETE th {
background: #ce3442;
}
.bodybuilder.DELETE td{
border-right: 1px dotted #ce3442;
border-bottom: 1px dotted #ce3442;
}
.bodybuilder.POST {
border: 1px solid #449122;
}
.bodybuilder.POST th {
background: #449122;
}
.bodybuilder.POST td{
border-right: 1px dotted #449122;
border-bottom: 1px dotted #449122;
}
.bodybuilder.GET {
border: 1px solid #2b82c5;
}
.bodybuilder.GET th {
background: #2b82c5;
}
.bodybuilder.GET td{
border-right: 1px dotted #2b82c5;
border-bottom: 1px dotted #2b82c5;
}
.bodybuilder tr td:last-child{
border-right: none;
}
.bodybuilder tr:last-child td{
border-bottom: none;
}