Skip to content

Commit 0a62905

Browse files
committed
Issues-561: Updated styles for Group attributes
1 parent 3f7f2fd commit 0a62905

File tree

5 files changed

+83
-16
lines changed

5 files changed

+83
-16
lines changed

design/custom.css

Lines changed: 2 additions & 2 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

design/custom.css.map

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

src/scss/base/_group.scss

Lines changed: 74 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -8,31 +8,50 @@
88
.Group {
99
font-family: $global-body_fontFamily !important;
1010
.Group-Description {
11-
white-space: pre-line;
1211
color: $global-color_black_light;
1312
font-size: $global-large_fontSize;
14-
margin-bottom: 27px;
13+
margin-bottom: 33px;
14+
a {
15+
color: $global-blue;
16+
}
17+
> br {
18+
line-height: 0px;
19+
display: inline-block;
20+
content: '';
1521
}
22+
}
23+
1624
.Group-Header {
1725
.Group-Info {
1826
padding-left: 0px;
1927

2028
.Table {
21-
width: 100%;
29+
width: calc(100% + 46px);
30+
display: table;
31+
border-collapse: separate;
32+
border-spacing: 23px 0px;
33+
margin-left: -23px;
34+
margin-right: -23px;
35+
2236
.TableRow {
37+
border: none;
2338
.TableCell {
39+
width: 50%;
2440
padding: 10px;
25-
border-top: 1px solid #D4D4D4;
2641
color: $global-color_black_light;
2742
font-size: $global-medium_fontSize;
28-
}
29-
.Cell1 {
30-
width: 10%;
31-
}
32-
33-
.Cell2 {
34-
color: $global-color_grey;
35-
width: 90%;
43+
display:table-cell;
44+
background-clip: padding-box;
45+
border-top: 1px solid #D4D4D4;
46+
.MLabel {
47+
min-width: 90px;
48+
white-space: nowrap;
49+
display: inline-block;
50+
}
51+
.MValue {
52+
color: $global-color_grey;
53+
font-weight: $global-medium_fontWeight;
54+
}
3655
}
3756
}
3857
.TableRow.Last {
@@ -45,3 +64,46 @@
4564
}
4665
}
4766
}
67+
68+
@media screen and (max-width: 768px) {
69+
.Group {
70+
.Group-Header {
71+
.Group-Info {
72+
padding-left: 0px;
73+
.Table {
74+
width: 100%;
75+
margin: 0px;
76+
border-spacing:0px;
77+
78+
.TableRow {
79+
border: none;
80+
.TableCell {
81+
width: 100%;
82+
display:block;
83+
background-clip: padding-box;
84+
border-top: 1px solid #D4D4D4;
85+
.MLabel {
86+
min-width: 90px;
87+
white-space: nowrap;
88+
display: inline-block;
89+
}
90+
.MValue {
91+
color: $global-color_grey;
92+
font-weight: $global-medium_fontWeight;
93+
}
94+
}
95+
}
96+
.TableRow.Last {
97+
.TableCell {
98+
border-bottom: none;
99+
&:last-child {
100+
border-bottom: 1px solid #D4D4D4;
101+
}
102+
}
103+
}
104+
105+
}
106+
}
107+
}
108+
}
109+
}

src/scss/base/_variables.scss

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -45,6 +45,7 @@ $utility-SVGEncoding: 'data:image/svg+xml,';
4545
\* -------------------------------------------------------------- */
4646

4747
$global-normal_fontWeight: 400 !default;
48+
$global-medium_fontWeight: 500 !default;
4849
$global-semibold_fontWeight: 600 !default;
4950
$global-bold_fontWeight: 700 !default;
5051

src/scss/pages/_group.scss

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -33,12 +33,16 @@ body.Group {
3333

3434
}
3535
}
36+
// Over selected on core...
37+
.Group-Header.Group-Header.Group-Header.NoBanner {
38+
margin-bottom: 0px;
39+
}
3640

3741
.Group-Header.NoBanner {
3842
min-height: 1px;
3943
display: flex;
4044
.Group-Info {
41-
margin: 0px 0px 30px 0px;
45+
margin: 0px;
4246
padding-left: 0;
4347
}
4448
}

0 commit comments

Comments
 (0)