Skip to content

Commit 185182c

Browse files
committed
Cleaned styles
1 parent 1278af9 commit 185182c

File tree

4 files changed

+21
-29
lines changed

4 files changed

+21
-29
lines changed

css/styleguide.css

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

css/styleguide.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.

scss/styleguide.scss

Lines changed: 12 additions & 22 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,7 @@
11
$grey: #808080;
22
$dark-grey: #222;
33
$white: #fff;
4+
$font-family: "HelveticaNeue","Helvetica","Arial",sans-serif;
45

56
.styleGuideMaster{
67
border: 1px solid $grey;
@@ -21,29 +22,29 @@ $white: #fff;
2122
bottom: 0;
2223
left: 0;
2324
width: 20%;
24-
z-index: 9999;
25-
padding: 2em 0;
2625
margin: 0;
2726
background: $dark-grey none repeat scroll 0% 0%;
2827
color: $white;
29-
font-family: "HelveticaNeue","Helvetica","Arial",sans-serif;
28+
font-family: $font-family;
3029
text-transform: uppercase;
3130
overflow: auto;
32-
&:after{
33-
content: "";
34-
clear: both;
35-
display: block;
31+
ul{
32+
padding: 2em 0;
33+
margin: 0;
3634
}
37-
*{
38-
box-sizing: border-box;
35+
li{
36+
padding: 0;
37+
margin: 0;
38+
list-style: none;
39+
display: block;
3940
}
4041
a{
4142
font-size: 14px!important;
4243
color: $grey;
4344
text-decoration: none;
4445
display: block;
4546
line-height: 1;
46-
padding: 1em;
47+
padding: 0.5em 1em;
4748
transition: color 0.15s ease-out 0s;
4849
cursor: pointer;
4950
&:hover,
@@ -52,11 +53,6 @@ $white: #fff;
5253
background: $dark-grey none repeat scroll 0% 0%;
5354
}
5455
}
55-
li{
56-
list-style: none;
57-
display: block;
58-
}
59-
6056
}
6157
.styleGuideGroups{
6258
position: absolute;
@@ -73,16 +69,10 @@ $white: #fff;
7369
}
7470
.styleGuideTitle{
7571
margin: 2em 0px;
76-
font-family: "HelveticaNeue","Helvetica","Arial",sans-serif;
72+
font-family: $font-family;
7773
font-size: 14px!important;
7874
text-transform: uppercase;
7975
font-weight: normal;
8076
padding: 1em 0px;
8177
border-bottom: 1px solid $grey;
82-
a{
83-
font-size: 10px!important;
84-
color: $grey;
85-
text-decoration: none;
86-
float: right;
87-
}
8878
}

templates/Layout/StyleGuide.ss

Lines changed: 7 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,12 @@
11
<div class="styleGuideMaster">
22
<% if Styles %>
3-
<ul class="styleGuideNav">
4-
<% loop Styles %>
5-
<li><a href="#{$ID}">$Name</a></li>
6-
<% end_loop %>
7-
</ul>
3+
<div class="styleGuideNav">
4+
<ul>
5+
<% loop Styles %>
6+
<li><a href="#{$ID}">$Name</a></li>
7+
<% end_loop %>
8+
</ul>
9+
</div>
810
<div class="styleGuideGroups">
911
<h1>Style Guide</h1>
1012
<% loop Styles %>

0 commit comments

Comments
 (0)