Skip to content

Commit

Permalink
Removed unused styling
Browse files Browse the repository at this point in the history
  • Loading branch information
Andrew Cobby committed Jan 17, 2013
1 parent 62ed3ce commit ff88ab7
Show file tree
Hide file tree
Showing 3 changed files with 40 additions and 100 deletions.
2 changes: 1 addition & 1 deletion component.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "tgm-bootstrap",
"version": "0.1.7",
"version": "0.1.8",
"dependencies": {
"bootstrap": "2.2.1"
}
Expand Down
136 changes: 38 additions & 98 deletions less/navbar.less
Original file line number Diff line number Diff line change
Expand Up @@ -39,111 +39,51 @@
}

// TGM STRIP
.navbar {
.tgm-strip {
background-color: #1b1b1b;

.tgm {
text-indent: -9000px;
display: inline-block;
background: transparent url('@{tgmLogoPath}') 0 0 no-repeat;
width: 390px;
margin: 8px 0;
}

.icons {
display: none;
margin: 6px 0;
float: right;
border: 1px solid rgba(255, 255, 255, 0.1);
.border-radius(5px);
}


.icons .about, .icons .share {
font-family: "Open Sans", Helvetica, Arial, sans-serif;
text-transform: uppercase;
font-weight: normal;
font-size: 11px;
padding: 6px 10px;
float: left;
color: white;
margin: 0;
line-height: 1.0;

&:hover, &:focus, &:active {
.opacity(60);
text-decoration: none;
}
}

.icons .about {
border-right: 1px solid rgba(255, 255, 255, 0.1);
margin-right: 4px;
}

.icons .share {
padding-left: 22px;
background: transparent url('@{shareIconPath}') 0 49% no-repeat;
}

.navbar .tgm-strip {
background-color: #1b1b1b;

.tgm {
text-indent: -9000px;
display: inline-block;
background: transparent url('@{tgmLogoPath}') 0 0 no-repeat;
width: 390px;
margin: 8px 0;
}

.navbar-inner {
position: relative;
.box-shadow(0 1px 10px rgba(0, 0, 0, 0.3));
min-height: 70px;
.icons {
display: none;
margin: 6px 0;
float: right;
border: 1px solid rgba(255, 255, 255, 0.1);
.border-radius(5px);
}

.brand {
display: inline-block;
padding: 0;
margin-top: 54px;
margin-left: 0;
font-size: 400%;
font-style: italic;
font-weight: 900;
letter-spacing: -5px;
}

.beta {
position: absolute;
bottom: 1px;
font-size: 10px;
color: #999;
z-index: 99;
.icons .about, .icons .share {
font-family: "Open Sans", Helvetica, Arial, sans-serif;
text-transform: uppercase;
font-weight: normal;
font-size: 11px;
padding: 6px 10px;
float: left;
color: white;
margin: 0;
line-height: 1.0;

&:hover, &:focus, &:active {
.opacity(60);
text-decoration: none;
}
}

.nav {
margin-bottom: 0;
margin-left: 2.3%;

& > li > a {
display: table-cell;
vertical-align: bottom;
padding-top: 70px;
width: 250px;
font-size: 160%;
text-transform: uppercase;
color: @grayDark;
border-left: 1px solid @tableBorder;
border-right: 1px solid @tableBorder;
}

& > li:nth-child(2) > a {
border-left: none;
}

.active a {
color: @grayDark;
background-color: transparent;
.box-shadow(inset 0 -4px 0 @peopleColor);
}
.icons .about {
border-right: 1px solid rgba(255, 255, 255, 0.1);
margin-right: 4px;
}

.active:nth-child(2) a {
.box-shadow(inset 0 -4px 0 @wordsColor);
border-left: none;
}
}
.icons .share {
padding-left: 22px;
background: transparent url('@{shareIconPath}') 0 49% no-repeat;
}
}

Expand Down
2 changes: 1 addition & 1 deletion less/variables.less
Original file line number Diff line number Diff line change
Expand Up @@ -154,7 +154,7 @@
@iconSpritePath: "../img/glyphicons-halflings.png";
@iconWhiteSpritePath: "../img/glyphicons-halflings-white.png";
@tgmLogoPath: "../img/tgm-strip-logo.png";
@shareIconParth: "../img/ico-share.png";
@shareIconPath: "../img/ico-share.png";


// Input placeholder text color
Expand Down

0 comments on commit ff88ab7

Please sign in to comment.