Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Split out tab css from features #15

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
244 changes: 1 addition & 243 deletions stylesheets/_community/_features.less
Original file line number Diff line number Diff line change
Expand Up @@ -7,249 +7,7 @@
margin-right: auto;
}

/* ------------------ Red Hat Tab & "A JBoss project box - Necessary for every JBoss projectregardless of hosting location ------------------------- */

.dropup {
/* --- This is the standard RH tab that overlaps what's below it (project banner or navigation bar) --- */
/* display: none; HIDE IT UNTIL WORKING */
height: 37px;
background-image: url("http://static.jboss.org/common/images/tabzilla/tabzilla-redhat-logo-sprite.png");
background-repeat: no-repeat;
background-position: right top;
width: 250px;
background-color: transparent;
position: absolute;
right: 40px;
margin-bottom: -40px;
z-index: 999;
text-align: center;
margin-top: -1px !important;
}

/* -- These styles come into play when subprojects is marked as "true" on "_layouts/subproject.html.haml" --- */

#subproject .navbar {
margin-top: 40px;
}

#subproject #navbar-fixed {
margin-top: 0px;
}

#subproject .navbar-inverse {
margin-top: 0px;
}

/* --- end of subproject styles --- */

#tabnav-panel {
background-color: transparent;
li {
list-style: none;
}
.middlewarelogo {
border-right: 1px solid @grayLight;
text-align: center;
margin: 0 auto;
padding: 0 35px 20px 0;
}
}

#tabnav {
background-color: #FFF;
margin:0px auto;
display:block;
font-family: 'Helvetica Neue', Helvetica, Verdana, Arial, sans-serif;
font-size:13.5px;
height:100%;

text-align:left;

.tabcontent {
padding-top: 30px;
background: linear-gradient(to bottom, #e1eef4 0%, #FFF 60%) no-repeat scroll 0 0 transparent;
height: 100%;
clear:both;
padding:20px 25px;
border: 1px solid #E1EEF4;
.overview {
padding-bottom: 30px;
font-size: 15px;
}
}
.span6 {
padding: 20px 10px 0 10px;
}
ul li {
color: @grayDark;
line-height: 23px;
list-style:none;
padding:0px;
a {
text-decoration:none;
text-shadow:0 1px 1px #e4eaf1;
}
a:hover {
text-shadow:1px 1px 1px #e4eaf1;
text-decoration:none;
}
}
}


/* (I renamed all tabzilla to tabnav here...) */
#tabnav-panel.tabnav-opened {
height:240px;
border-bottom: 1px solid @grayLight;
}
#tabnav-panel {
-webkit-transition: all 0.2s ease-in-out;
-moz-transition: all 0.2s ease-in-out;
-o-transition: all 0.2s ease-in-out;
-ms-transition: all 0.2s ease-in-out;
transition: all 0.2s ease-in-out;
font-family: 'Helvetica Neue', Helvetica, Verdana, Arial, sans-serif;
font-size: 11px;
font-style: normal;
font-weight: normal;
height: 0;
line-height: 1.3;
overflow: hidden;
position: relative;
}


#tabnav-contents {
bottom: 0;
left: 50%;
right: 0;
text-align: left;
}
* html #tabnav-contents { zoom: 1; } /* IE6 */
*:first-child+html #tabnav-contents { zoom: 1; } /* IE7 */

#tabnav-contents:after {
clear: both;
content: " ";
display: block;
font-size: 0;
height: 0;
visibility: hidden;
}

#tabnav-promo .snippet h4, #tabnav-panel #tabnav-nav, #tabnav-panel #tabnav-nav h2 {
color: #484848;
font-family: 'Helvetica Neue', Helvetica, Verdana, Arial, sans-serif;
font-style: normal;
font-weight: normal;
margin: 0;
padding: 0;
}
#tabnav-panel #tabnav-nav ul {
margin: 0;
padding: 0;
}
#tabnav-panel #tabnav-nav h2 {
font-size: 13px;
font-weight: 600;
margin: 0 20px 0.4em;
white-space: nowrap;
}

#tabnav-panel #tabnav-nav ul li ul li {
border-right: 0 none;
float: none;
height: auto;
margin: 0;
}
#tabnav-panel #tabnav-nav a {
color: #484848;
display: block;
outline: 0 none;
padding: 0.1em 8px 0.2em 20px;
}

#tabnav ul li#tabnav-search {
border-right: 0 none;
}
#tabnav #tabnav-search ul li {
background: none repeat scroll 0 0 transparent;
border-right: 1px dotted #D6D6D6;
display: inline;
float: left;
height: 95px;
line-height: 1.1;
list-style-type: none;
margin: 20px 0 0;
padding: 0;
width: 16.5%;
}
#tabnav ul li#tabnav-search a {
padding-top: 0;
}
#tabnav ul li#tabnav-search form {
margin: 0.4em 10px;
}
#tabnav ul li#tabnav-search input:-moz-placeholder {
color: #173444;
}

/* --- The "A JBoss Project box --- */
#ajbossproject {
margin-top: 8px;
width: 130px;
height: 20px;
background-color: rgba(red(@grayDarker), green(@grayDarker), blue(@grayDarker), 0.75);
filter:alpha(opacity=75); /* For IE8 and earlier */
color: @grayLighter;
-moz-border-radius: 2px; /* firefox */
-webkit-border-radius: 2px; /* safari/chrome */
border-radius: 2px; /* CSS3, works in IE9 */
}


/* =Dropup Tab */
#tab.tabnav-opened:after {
-moz-transform: rotate(180deg);
-webkit-transform: rotate(180deg);
transform: rotate(180deg);}

#tab:after {
-moz-transform: rotate(0deg);
-webkit-transform: rotate(0deg);
transform: rotate(0deg);
-webkit-transition: all 0.2s ease-in-out;
-moz-transition: all 0.2s ease-in-out;
-o-transition: all 0.2s ease-in-out;
-ms-transition: all 0.2s ease-in-out;
transition: all 0.2s ease-in-out;
order-radius: 8px;

background: url("http://static.jboss.org/common/images/arrow-tabnav-down.png") repeat scroll 0 0 transparent;
content: "x";
height: 15px;
position: absolute;
right: 12px;
top: 9px;
width: 13px;
}
#tab.tabnav-opened, .darkbg #tab.tabnav-opened {
background-position: 0 -47px;
}

#tab {
/*background: url(../../images/common/tabnav-search.png) repeat scroll 0 0 transparent; */
display: block;
float: right;
height: 40px;
overflow: hidden;
position: absolute;
text-indent: -2000px;
width: 100px;
z-index: 999;
top:0px;
right:4px;
}
@import "_tab";

/* --- Resolution width adjustments ---*/

Expand Down
Loading