main.css 4.44 KB
Newer Older
Qiang Xue committed
1
body {
2
    padding-top: 70px;
Qiang Xue committed
3 4 5
}

.footer {
6 7 8
    border-top: 1px solid #ddd;
    margin-top: 30px;
    padding: 15px 0 30px;
Qiang Xue committed
9 10 11
}

.jumbotron {
12 13
    text-align: center;
    background-color: transparent;
Qiang Xue committed
14 15 16
}

.jumbotron .btn {
17 18
    font-size: 21px;
    padding: 14px 24px;
Qiang Xue committed
19 20 21
}

.navbar-brand {
22 23
    padding: 0;
    margin: 0;
Qiang Xue committed
24 25 26
}

.default-index .generator {
27 28
    min-height: 200px;
    margin-bottom: 20px;
Qiang Xue committed
29 30 31
}

.list-group .glyphicon {
32
    float: right;
Qiang Xue committed
33 34 35
}

.popover {
36 37
    max-width: 400px;
    width: 400px;
Qiang Xue committed
38 39 40
}

.hint-block {
41
    display: none;
Qiang Xue committed
42
}
Qiang Xue committed
43

44
.error-summary {
45 46 47 48 49
    color: #a94442;
    background: #fdf7f7;
    border-left: 3px solid #eed3d7;
    padding: 10px 20px;
    margin: 0 0 15px 0;
50 51
}

Qiang Xue committed
52
.default-view .sticky-value {
53 54 55 56
    padding: 6px 12px;
    background: lightyellow;
    white-space: pre;
    word-wrap: break-word;
Qiang Xue committed
57 58
}

Qiang Xue committed
59
.default-view .form-group label.help {
60 61
    border-bottom: 1px dashed #888;
    cursor: help;
Qiang Xue committed
62 63
}

Qiang Xue committed
64
.default-view .modal-dialog {
65
    width: 800px;
Qiang Xue committed
66 67 68
}

.default-view .modal-dialog .error {
69
    color: #d9534f;
Qiang Xue committed
70 71
}

Qiang Xue committed
72
.default-view .modal-dialog .content {
73 74 75 76
    background: #fafafa;
    border-left: #eee 5px solid;
    padding: 5px 10px;
    overflow: auto;
Qiang Xue committed
77 78 79
}

.default-view .modal-dialog code {
80
    background: transparent;
Qiang Xue committed
81 82 83
}

.default-view-files table .action {
84
    width: 100px;
Qiang Xue committed
85 86
}

Qiang Xue committed
87
.default-view-files table .check {
88 89
    width: 25px;
    text-align: center;
Qiang Xue committed
90
}
Qiang Xue committed
91 92

.default-view-results pre {
93 94 95 96 97 98 99
    overflow: auto;
    background-color: #333;
    max-height: 300px;
    color: white;
    padding: 10px;
    border-radius: 0;
    white-space: nowrap;
Qiang Xue committed
100 101
}

Qiang Xue committed
102
.default-view-results pre .error {
103 104 105
    background: #FFE0E1;
    color: black;
    padding: 1px;
Qiang Xue committed
106 107
}

108
.default-view-results .alert pre {
109
    background: white;
110 111
}

Qiang Xue committed
112
.default-diff pre {
113 114 115 116
    padding: 0;
    margin: 0;
    background: transparent;
    border: none;
Qiang Xue committed
117 118 119
}

.default-diff pre del {
120
    background: pink;
Qiang Xue committed
121 122 123
}

.default-diff pre ins {
124 125
    background: lightgreen;
    text-decoration: none;
Qiang Xue committed
126
}
Qiang Xue committed
127 128

.Differences {
129 130 131 132
    width: 100%;
    border-collapse: collapse;
    border-spacing: 0;
    empty-cells: show;
Qiang Xue committed
133 134 135
}

.Differences thead {
136
    display: none;
Qiang Xue committed
137 138 139
}

.Differences tbody th {
140 141 142 143 144 145 146 147 148 149
    text-align: right;
    background: #FAFAFA;
    padding: 1px 2px;
    border-right: 1px solid #eee;
    vertical-align: top;
    font-size: 13px;
    font-family: Monaco, Menlo, Consolas, 'Courier New', monospace;
    font-weight: normal;
    color: #999;
    width: 5px;
Qiang Xue committed
150 151 152
}

.Differences td {
153 154 155
    padding: 1px 2px;
    font-size: 13px;
    font-family: Monaco, Menlo, Consolas, 'Courier New', monospace;
Qiang Xue committed
156 157 158
}

.DifferencesSideBySide .ChangeInsert td.Left {
159
    background: #dfd;
Qiang Xue committed
160 161 162
}

.DifferencesSideBySide .ChangeInsert td.Right {
163
    background: #cfc;
Qiang Xue committed
164 165 166
}

.DifferencesSideBySide .ChangeDelete td.Left {
167
    background: #f88;
Qiang Xue committed
168 169 170
}

.DifferencesSideBySide .ChangeDelete td.Right {
171
    background: #faa;
Qiang Xue committed
172 173 174
}

.DifferencesSideBySide .ChangeReplace .Left {
175
    background: #fe9;
Qiang Xue committed
176 177 178
}

.DifferencesSideBySide .ChangeReplace .Right {
179
    background: #fd8;
Qiang Xue committed
180 181 182
}

.Differences ins, .Differences del {
183
    text-decoration: none;
Qiang Xue committed
184 185 186
}

.DifferencesSideBySide .ChangeReplace ins, .DifferencesSideBySide .ChangeReplace del {
187
    background: #fc0;
Qiang Xue committed
188 189 190
}

.Differences .Skipped {
191
    background: #f7f7f7;
Qiang Xue committed
192 193 194 195
}

.DifferencesInline .ChangeReplace .Left,
.DifferencesInline .ChangeDelete .Left {
196
    background: #fdd;
Qiang Xue committed
197 198 199 200
}

.DifferencesInline .ChangeReplace .Right,
.DifferencesInline .ChangeInsert .Right {
201
    background: #dfd;
Qiang Xue committed
202 203 204
}

.DifferencesInline .ChangeReplace ins {
205
    background: #9e9;
Qiang Xue committed
206 207 208
}

.DifferencesInline .ChangeReplace del {
209
    background: #e99;
Qiang Xue committed
210
}
211

Alexander Makarov committed
212
.DifferencesInline th[data-line-number]:before {
213
    content: attr(data-line-number);
Alexander Makarov committed
214 215
}

Qiang Xue committed
216 217
/* additional styles for typeahead.js, adapted from http://twitter.github.io/typeahead.js/examples/ */

218 219 220
.twitter-typeahead {
    display: block !important;
}
Qiang Xue committed
221 222 223 224 225 226 227 228 229 230 231 232 233 234 235 236 237 238 239 240 241 242 243 244 245 246 247 248 249 250 251 252 253

.tt-query {
    -webkit-box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.075);
    -moz-box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.075);
    box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.075);
}

.tt-hint {
    color: #999
}

.tt-dropdown-menu {
    width: 422px;
    margin-top: 2px;
    padding: 8px 0;
    background-color: #fff;
    border: 1px solid #ccc;
    border: 1px solid rgba(0, 0, 0, 0.2);
    -webkit-box-shadow: 0 5px 10px rgba(0, 0, 0, .2);
    -moz-box-shadow: 0 5px 10px rgba(0, 0, 0, .2);
    box-shadow: 0 5px 10px rgba(0, 0, 0, .2);
}

.tt-suggestion {
    padding: 3px 20px;
    font-size: 18px;
    line-height: 24px;
}

.tt-suggestion.tt-cursor {
    color: #fff;
    background-color: #0097cf;

254
}
Qiang Xue committed
255 256 257 258 259

.tt-suggestion p {
    margin: 0;
}