manual: CI check with nitunit
[nit.git] / share / nitdoc / css / nitdoc.cards.css
1 /*
2 * Licensed under the Apache License, Version 2.0 (the "License");
3 * you may not use this file except in compliance with the License.
4 * You may obtain a copy of the License at
5 *
6 * http://www.apache.org/licenses/LICENSE-2.0
7 *
8 * Unless required by applicable law or agreed to in writing, software
9 * distributed under the License is distributed on an "AS IS" BASIS,
10 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
11 * See the License for the specific language governing permissions and
12 * limitations under the License.
13 */
14
15 /* cards */
16
17 .card.active {
18 border: 1px solid #1E9431;
19 }
20
21 .card-heading {
22 margin-top: 0;
23 margin-bottom: 5px;
24 }
25
26 .card {
27 display: table;
28 width: 100%;
29 background: #fff;
30 border: 1px solid #eee;
31 margin-top: 10px;
32 box-shadow: -1px -1px 3px rgba(0,0,0,.06), 1px 1px 3px rgba(0,0,0,.12);
33 }
34
35 .card-body, .card-left, .card-right {
36 display: table-cell;
37 padding: 15px;
38 }
39
40 .card-body {
41 padding: 15px 0;
42 width: 100%
43 }
44
45 .card-body:first-child {
46 padding-left: 15px;
47 }
48
49 .card-body:last-child {
50 padding-right: 15px;
51 }
52
53 .card-list {
54 margin-top: 10px;
55 }
56
57 .card-list > .card:first-child {
58 border-top: 1px solid #ddd;
59 }
60
61 .card-list > .card {
62 margin-top: 0;
63 border-top: none;
64 }
65
66 .card-title {
67 margin-top: 0;
68 }