aboutsummaryrefslogtreecommitdiffstats
path: root/server/sonar-web/src/main/js/app/styles/components/boxed-group.css
blob: 119c9a9cf400f39b1ac4ebffaaaf6930e2316179 (plain)
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
117
118
119
120
121
122
123
/*
 * SonarQube
 * Copyright (C) 2009-2019 SonarSource SA
 * mailto:info AT sonarsource DOT com
 *
 * This program is free software; you can redistribute it and/or
 * modify it under the terms of the GNU Lesser General Public
 * License as published by the Free Software Foundation; either
 * version 3 of the License, or (at your option) any later version.
 *
 * This program is distributed in the hope that it will be useful,
 * but WITHOUT ANY WARRANTY; without even the implied warranty of
 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
 * Lesser General Public License for more details.
 *
 * You should have received a copy of the GNU Lesser General Public License
 * along with this program; if not, write to the Free Software Foundation,
 * Inc., 51 Franklin Street, Fifth Floor, Boston, MA  02110-1301, USA.
 */
.boxed-group {
  margin-bottom: calc(2.5 * var(--gridSize));
  border: 1px solid var(--barBorderColor);
  border-radius: 2px;
  background-color: #fff;
}

.boxed-group-centered {
  margin-left: auto;
  margin-right: auto;
  max-width: 500px;
}

.boxed-group > h2 {
  line-height: var(--controlHeight);
  padding: calc(2 * var(--gridSize)) 20px 0;
}

.boxed-group > h2.boxed-title {
  padding: 0 0 8px;
  margin: 0;
  font-weight: 600;
}

.boxed-group hr {
  height: 0;
  border-top: 1px solid var(--gray94);
  margin: calc(2 * var(--gridSize)) -20px;
}

.boxed-group-header {
  position: relative;
  z-index: 10;
  padding: calc(2 * var(--gridSize)) 20px 0;
}

.boxed-group-header > h2 {
  display: inline-block;
  vertical-align: middle;
  line-height: var(--controlHeight);
}

.boxed-group-actions {
  position: relative;
  z-index: 12;
  float: right;
  margin-top: calc(2 * var(--gridSize));
  margin-right: 20px;
}

.boxed-group-inner {
  padding: calc(2 * var(--gridSize)) 20px;
}

.boxed-group-inner:empty {
  padding-top: 0;
}

.boxed-group-list {
  margin-top: -var(--gridSize);
  margin-bottom: -var(--gridSize);
}

.boxed-group-list > li {
  margin-left: -20px;
  margin-right: -20px;
  padding: var(--gridSize) 20px;
}

.boxed-group-accordion {
  margin-bottom: var(--gridSize);
  transition: border-color 0.3s ease;
}

.boxed-group-accordion:not(.no-hover):hover {
  border-color: var(--blue);
}

.boxed-group-accordion:not(.no-hover):hover .boxed-group-accordion-title {
  color: var(--blue);
}

.boxed-group-accordion .boxed-group-header {
  cursor: pointer;
  padding-bottom: calc(2 * var(--gridSize));
}

.boxed-group-accordion-alert.boxed-group-accordion-alert {
  vertical-align: middle;
  margin-bottom: -6px;
  margin-top: -6px;
}

.boxed-group-accordion .boxed-group-inner {
  padding-top: 0;
}

.boxed-group-accordion-title {
  display: inline-flex;
  align-items: center;
  vertical-align: middle;
  font-weight: bold;
  transition: color 0.3s ease;
}