Skip to content
This repository was archived by the owner on Dec 15, 2022. It is now read-only.

Commit 2a50b9f

Browse files
committed
Bring in blank view styles
1 parent 7736430 commit 2a50b9f

File tree

1 file changed

+62
-0
lines changed

1 file changed

+62
-0
lines changed

styles/github-blank.less

Lines changed: 62 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,62 @@
1+
@import "variables";
2+
3+
.github-Blank {
4+
display: flex;
5+
flex-direction: column;
6+
width: 100%;
7+
height: 100%;
8+
9+
&-body {
10+
flex-grow: 1;
11+
display: flex;
12+
flex-direction: column;
13+
}
14+
15+
&-footer {
16+
flex-shrink: 0;
17+
padding: @component-padding*2 @component-padding;
18+
}
19+
20+
&-LargeIcon:before {
21+
margin-right: 0;
22+
margin-top: @component-padding * 5;
23+
margin-bottom: @component-padding * 5;
24+
width: auto;
25+
height: auto;
26+
font-size: 8em;
27+
color: mix(@base-background-color, @text-color, 66%); // 2/3 of bg color
28+
}
29+
30+
&-banner, &-context , &-explanation , &-LargeIcon {
31+
text-align: center;
32+
}
33+
34+
&-option {
35+
display: flex;
36+
flex-direction: row;
37+
align-items: center;
38+
39+
&--explained {
40+
margin-bottom: @component-padding/2;
41+
}
42+
}
43+
44+
&-actionBtn {
45+
flex: 1;
46+
margin: 0 10%;
47+
}
48+
49+
&-explanation {
50+
margin-left: 5%;
51+
margin-right: 5%;
52+
color: @text-color-subtle;
53+
}
54+
55+
&-tabLink {
56+
margin-left: 0.5em;
57+
58+
.icon {
59+
padding-right: 0;
60+
}
61+
}
62+
}

0 commit comments

Comments
 (0)