Skip to content

Commit b364f15

Browse files
committed
Start working on theming new github
1 parent 1c0402d commit b364f15

324 files changed

Lines changed: 9117 additions & 4539 deletions

File tree

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

css/global.classic.css

Lines changed: 135 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,135 @@
1+
2+
/*******************************
3+
Global CSS
4+
*******************************/
5+
6+
/*--------------
7+
Global Styles
8+
---------------*/
9+
10+
b {
11+
color: #333
12+
}
13+
14+
a:hover b {
15+
color: inherit;
16+
}
17+
18+
19+
/*--------------
20+
Page Header
21+
---------------*/
22+
23+
.page.header {
24+
background-color: #F5F5F5;
25+
border-bottom: 1px solid #E5E5E5;
26+
padding: 5px 0px;
27+
}
28+
29+
/* No padding on menu */
30+
.page.header .menu {
31+
margin-top: 0em;
32+
margin-bottom: 0em;
33+
}
34+
35+
/* Space right of input */
36+
.page.header .menu .item:first-child {
37+
padding-left: 0em;
38+
}
39+
.page.header .menu .item .input {
40+
margin-right: 1em;
41+
}
42+
.page.header .menu .item input {
43+
width: 250px;
44+
}
45+
46+
/* Min Width on Dropdown */
47+
.page.header .ui.dropdown .menu {
48+
min-width: 175px;
49+
}
50+
51+
/* Resize images */
52+
.page.header .menu .item > .logo.image {
53+
width: auto;
54+
height: 28px;
55+
}
56+
.page.header .menu .item > .user.image {
57+
width: auto;
58+
height: 20px;
59+
}
60+
61+
.page.header .plus.icon + .dropdown.icon {
62+
margin-left: 2px;
63+
}
64+
65+
/* Notification Bubble */
66+
.page.header .notification.label {
67+
top: -1px;
68+
right: 1px;
69+
left: auto;
70+
}
71+
72+
/*--------------
73+
User Dropdown
74+
---------------*/
75+
76+
/* Align dropdown with dropdown icon */
77+
.page.header .add.dropdown .menu {
78+
margin: 0 -7px 0 0 !important;
79+
}
80+
81+
.page.header .user.dropdown .menu {
82+
margin: 0 -7px 0 0 !important;
83+
}
84+
.page.header .user.dropdown .user.header {
85+
font-size: inherit;
86+
padding-bottom: 0em;
87+
}
88+
.page.header .user.dropdown .user.header b {
89+
color: inherit;
90+
}
91+
92+
93+
/*--------------
94+
Repo Menu
95+
---------------*/
96+
97+
.repo.menu:first-child {
98+
margin-top: 0.35em;
99+
}
100+
.column .checkout p {
101+
font-size: 11px;
102+
margin: 5px 0px;
103+
color: #767676;
104+
}
105+
.column .checkout > .button {
106+
margin-top: 10px;
107+
}
108+
.column .checkout > .button:last-child {
109+
margin: 7px 0px;
110+
}
111+
112+
113+
/*--------------
114+
Watch Button
115+
---------------*/
116+
117+
.watch.dropdown.button > .menu h4 {
118+
margin-bottom: 5px;
119+
}
120+
121+
122+
/*--------------
123+
Footer
124+
---------------*/
125+
126+
.footer.container {
127+
position: relative;
128+
padding-bottom: 2.5em;
129+
}
130+
.footer.container .github.mark {
131+
position: absolute;
132+
top: 50%;
133+
left: 50%;
134+
transform: translateX(-50%) translateY(-50%);
135+
}

css/layouts/home.classic.css

Lines changed: 144 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,144 @@
1+
2+
/*******************************
3+
Page CSS
4+
*******************************/
5+
6+
7+
/* This CSS is used to make per-page adjustments
8+
Each page is given a body #id tag to descend
9+
from for page-specific rules
10+
11+
*/
12+
13+
14+
/*--------------
15+
Top Ribbon
16+
---------------*/
17+
18+
#home .repo.ribbon {
19+
border-bottom: 1px solid #EEEEEE;
20+
padding: 18px 0px;
21+
}
22+
23+
#home .repo.description {
24+
margin: 0.35em 0em 1em;
25+
font-size: 16px;
26+
line-height: 22px;
27+
color: #666666;
28+
}
29+
30+
31+
/*----------------
32+
Language Used
33+
-----------------*/
34+
35+
#home .ui.language.segments {
36+
border-radius: 0px 0px 4px 4px;
37+
box-shadow: none;
38+
border: none;
39+
width: calc(100% + 2px);
40+
margin: 0px 0px 10px 0px;
41+
overflow: hidden;
42+
}
43+
#home .language.segments .segment {
44+
padding: 0.25em;
45+
}
46+
47+
/*----------------
48+
Latest Commits
49+
-----------------*/
50+
51+
#home .recent.message {
52+
padding: 7px 9px;
53+
}
54+
55+
#home .latest.segment {
56+
padding: 0.35em 0.5em;
57+
color: #999999;
58+
}
59+
#home .latest.attached.segment {
60+
border-top: 1px solid #DDD;
61+
}
62+
63+
/* Clippy */
64+
#home .latest .clippy.icon {
65+
float: right;
66+
margin-left: 5px;
67+
}
68+
69+
/* Latest SHA */
70+
#home .latest .sha {
71+
cursor: pointer;
72+
font-family: Consolas,"Liberation Mono",Menlo,Courier,monospace;
73+
font-size: 12px;
74+
color: #888888;
75+
float: right;
76+
}
77+
#home .latest .sha b {
78+
font-weight: normal;
79+
color: #333;
80+
}
81+
#home .latest .sha:hover {
82+
text-decoration: underline;
83+
}
84+
85+
/*----------------
86+
Stats
87+
-----------------*/
88+
89+
#home .stats {
90+
padding: 0em;
91+
border-bottom: none;
92+
}
93+
#home .stats.menu {
94+
margin: 0em;
95+
}
96+
#home .stats.menu b {
97+
margin-right: 3px;
98+
}
99+
100+
/*----------------
101+
Repo Buttons
102+
-----------------*/
103+
104+
#home .repo.options {
105+
float: right;
106+
}
107+
108+
/*----------------
109+
Branch Dropdown
110+
-----------------*/
111+
112+
/* Branch label */
113+
#home .branch.button .text {
114+
font-weight: normal;
115+
color: #888888;
116+
}
117+
/* Branch name */
118+
#home .branch.button b {
119+
display: inline-block;
120+
margin-left: 2px;
121+
color: rgba(0, 0, 0, 0.8);
122+
}
123+
124+
#home .branch.button + .breadcrumb {
125+
margin-left: 5px;
126+
}
127+
128+
/*----------------
129+
Files
130+
-----------------*/
131+
132+
133+
#home .files.table {
134+
color: #888888;
135+
}
136+
137+
138+
/*----------------
139+
Readme
140+
-----------------*/
141+
142+
#home .readme {
143+
font-size: 16px;
144+
}

css/layouts/home.css

Lines changed: 7 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -16,8 +16,12 @@
1616
---------------*/
1717

1818
#home .repo.ribbon {
19-
border-bottom: 1px solid #EEEEEE;
20-
padding: 18px 0px;
19+
background-color: #FAFAFA;
20+
padding-top: 20px;
21+
margin-bottom: 20px;
22+
}
23+
#home .repo.ribbon .tabular.menu {
24+
margin-top: 20px;
2125
}
2226

2327
#home .repo.description {
@@ -141,4 +145,4 @@
141145

142146
#home .readme {
143147
font-size: 16px;
144-
}
148+
}

css/layouts/theme.css

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,6 @@
1717
margin-top: 0.5em;
1818
}
1919

20-
2120
.alternate.menu {
2221
display: none;
23-
}
22+
}

css/ui/components/accordion.css

Lines changed: 13 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
/*!
2-
* # Semantic UI x.x - Accordion
2+
* # Semantic UI 2.1.8 - Accordion
33
* http://github.com/semantic-org/semantic-ui/
44
*
55
*
@@ -64,11 +64,12 @@
6464
margin: 0em 0.25rem 0em 0rem;
6565
padding: 0em;
6666
font-size: 1em;
67-
-webkit-transition: -webkit-transform 0.1s ease, opacity 0.1s ease;
68-
transition: transform 0.1s ease, opacity 0.1s ease;
67+
-webkit-transition: opacity 0.1s ease, -webkit-transform 0.1s ease;
68+
transition: opacity 0.1s ease, -webkit-transform 0.1s ease;
69+
transition: transform 0.1s ease, opacity 0.1s ease;
70+
transition: transform 0.1s ease, opacity 0.1s ease, -webkit-transform 0.1s ease;
6971
vertical-align: baseline;
7072
-webkit-transform: none;
71-
-ms-transform: none;
7273
transform: none;
7374
}
7475

@@ -86,7 +87,6 @@
8687
float: right;
8788
margin: 0.21425em 0em 0em 1em;
8889
-webkit-transform: rotate(180deg);
89-
-ms-transform: rotate(180deg);
9090
transform: rotate(180deg);
9191
}
9292

@@ -104,12 +104,10 @@
104104
.ui.accordion .active.title .dropdown.icon,
105105
.ui.accordion .accordion .active.title .dropdown.icon {
106106
-webkit-transform: rotate(90deg);
107-
-ms-transform: rotate(90deg);
108107
transform: rotate(90deg);
109108
}
110109
.ui.accordion.menu .item .active.title > .dropdown.icon {
111110
-webkit-transform: rotate(90deg);
112-
-ms-transform: rotate(90deg);
113111
transform: rotate(90deg);
114112
}
115113

@@ -129,7 +127,7 @@
129127
.ui.styled.accordion,
130128
.ui.styled.accordion .accordion {
131129
border-radius: 0.28571429rem;
132-
background: #ffffff;
130+
background: #FFFFFF;
133131
box-shadow: 0px 1px 2px 0 rgba(34, 36, 38, 0.15), 0px 0px 0px 1px rgba(34, 36, 38, 0.15);
134132
}
135133
.ui.styled.accordion .title,
@@ -140,7 +138,7 @@
140138
font-weight: bold;
141139
border-top: 1px solid rgba(34, 36, 38, 0.15);
142140
-webkit-transition: background 0.1s ease, color 0.1s ease;
143-
transition: background 0.1s ease, color 0.1s ease;
141+
transition: background 0.1s ease, color 0.1s ease;
144142
}
145143
.ui.styled.accordion > .title:first-child,
146144
.ui.styled.accordion .accordion .title:first-child {
@@ -247,3 +245,9 @@
247245
.ui.accordion .accordion .title .dropdown.icon:before {
248246
content: '\f0da' /*rtl:'\f0d9'*/;
249247
}
248+
249+
250+
/*******************************
251+
User Overrides
252+
*******************************/
253+

css/ui/components/accordion.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
/*!
2-
* # Semantic UI x.x - Accordion
2+
* # Semantic UI 2.1.8 - Accordion
33
* http://github.com/semantic-org/semantic-ui/
44
*
55
*
@@ -592,5 +592,5 @@ $.extend( $.easing, {
592592
}
593593
});
594594

595-
})( jQuery, window , document );
595+
})( jQuery, window, document );
596596

0 commit comments

Comments
 (0)