Team:Cornell/stylesheets/app

From 2012.igem.org

(Difference between revisions)
Line 82: Line 82:
visibility: hidden;
visibility: hidden;
}
}
-
.right-menu ul li a{
+
.right-menu ul li a {
background: none;
background: none;
color: #666;
color: #666;
}
}
-
.right-menu:hover ul{
+
.right-menu:hover ul {
visibility: visible;
visibility: visible;
}
}
Line 146: Line 146:
margin-bottom: 20px;
margin-bottom: 20px;
}
}
 +
/* -----------------------------------------
/* -----------------------------------------
  Fonts and Icons
  Fonts and Icons
  ----------------------------------------- */
  ----------------------------------------- */
 +
@font-face {
@font-face {
font-family: 'Foro-LightRegular';
font-family: 'Foro-LightRegular';
Line 173: Line 175:
  Lightbox
  Lightbox
  ----------------------------------------- */
  ----------------------------------------- */
-
#jquery-overlay {
+
/* line 6, ../sass/lightbox.sass */
 +
#lightboxOverlay {
position: absolute;
position: absolute;
top: 0;
top: 0;
left: 0;
left: 0;
-
z-index: 90;
+
z-index: 9999;
-
width: 100%;
+
background-color: black;
-
height: 500px;
+
filter: progid:DXImageTransform.Microsoft.Alpha(Opacity=85);
 +
opacity: 0.85;
 +
display: none;
}
}
-
#jquery-lightbox {
+
 
 +
/* line 15, ../sass/lightbox.sass */
 +
#lightbox {
position: absolute;
position: absolute;
-
top: 0;
 
left: 0;
left: 0;
width: 100%;
width: 100%;
-
z-index: 100;
+
z-index: 10000;
text-align: center;
text-align: center;
line-height: 0;
line-height: 0;
 +
font-family: "lucida grande", tahoma, verdana, arial, sans-serif;
 +
font-weight: normal;
}
}
-
#jquery-lightbox a img { border: none; }
+
/* line 24, ../sass/lightbox.sass */
-
#lightbox-container-image-box {
+
#lightbox img {
 +
width: auto;
 +
height: auto;
 +
}
 +
/* line 27, ../sass/lightbox.sass */
 +
#lightbox a img {
 +
border: none;
 +
}
 +
 
 +
/* line 30, ../sass/lightbox.sass */
 +
.lb-outerContainer {
position: relative;
position: relative;
-
background-color: #fff;
+
background-color: white;
 +
*zoom: 1;
width: 250px;
width: 250px;
height: 250px;
height: 250px;
margin: 0 auto;
margin: 0 auto;
 +
-webkit-border-radius: 4px;
 +
-moz-border-radius: 4px;
 +
-ms-border-radius: 4px;
 +
-o-border-radius: 4px;
 +
border-radius: 4px;
}
}
-
#lightbox-container-image { padding: 10px; }
+
/* line 38, ../../../../.rvm/gems/ruby-1.9.2-p290/gems/compass-0.12.1/frameworks/compass/stylesheets/compass/utilities/general/_clearfix.scss */
-
#lightbox-loading {
+
.lb-outerContainer:after {
 +
content: "";
 +
display: table;
 +
clear: both;
 +
}
 +
 
 +
/* line 39, ../sass/lightbox.sass */
 +
.lb-container {
 +
padding: 10px;
 +
}
 +
 
 +
/* line 42, ../sass/lightbox.sass */
 +
.lb-loader {
position: absolute;
position: absolute;
top: 40%;
top: 40%;
Line 208: Line 244:
line-height: 0;
line-height: 0;
}
}
-
#lightbox-nav {
+
 
 +
/* line 51, ../sass/lightbox.sass */
 +
.lb-nav {
position: absolute;
position: absolute;
top: 0;
top: 0;
Line 216: Line 254:
z-index: 10;
z-index: 10;
}
}
-
#lightbox-container-image-box > #lightbox-nav { left: 0; }
+
 
-
#lightbox-nav a { outline: none;}
+
/* line 59, ../sass/lightbox.sass */
-
#lightbox-nav-btnPrev, #lightbox-nav-btnNext {
+
.lb-container > .nav {
 +
left: 0;
 +
}
 +
 
 +
/* line 62, ../sass/lightbox.sass */
 +
.lb-nav a {
 +
outline: none;
 +
}
 +
 
 +
/* line 65, ../sass/lightbox.sass */
 +
.lb-prev, .lb-next {
width: 49%;
width: 49%;
height: 100%;
height: 100%;
-
zoom: 1;
+
background-image: url("data:image/gif;base64,R0lGODlhAQABAIAAAAAAAP///yH5BAEAAAAALAAAAAABAAEAAAIBRAA7");
 +
/* Trick IE into showing hover */
display: block;
display: block;
}
}
-
#lightbox-nav-btnPrev {  
+
 
-
left: 0;  
+
/* line 72, ../sass/lightbox.sass */
 +
.lb-prev {
 +
left: 0;
float: left;
float: left;
}
}
-
#lightbox-nav-btnNext {  
+
 
-
right: 0;  
+
/* line 76, ../sass/lightbox.sass */
 +
.lb-next {
 +
right: 0;
float: right;
float: right;
}
}
-
#lightbox-container-image-data-box {
+
 
-
font: 10px Verdana, Helvetica, sans-serif;
+
/* line 81, ../sass/lightbox.sass */
-
background-color: #fff;
+
.lb-prev:hover {
 +
background: url(../images/prev.png) left 48% no-repeat;
 +
}
 +
 
 +
/* line 85, ../sass/lightbox.sass */
 +
.lb-next:hover {
 +
background: url(../images/next.png) right 48% no-repeat;
 +
}
 +
 
 +
/* line 88, ../sass/lightbox.sass */
 +
.lb-dataContainer {
margin: 0 auto;
margin: 0 auto;
-
line-height: 1.4em;
+
padding-top: 5px;
-
overflow: auto;
+
*zoom: 1;
width: 100%;
width: 100%;
-
padding: 0 10px 0;
+
-moz-border-radius-bottomleft: 4px;
 +
-webkit-border-bottom-left-radius: 4px;
 +
-ms-border-bottom-left-radius: 4px;
 +
-o-border-bottom-left-radius: 4px;
 +
border-bottom-left-radius: 4px;
 +
-moz-border-radius-bottomright: 4px;
 +
-webkit-border-bottom-right-radius: 4px;
 +
-ms-border-bottom-right-radius: 4px;
 +
-o-border-bottom-right-radius: 4px;
 +
border-bottom-right-radius: 4px;
}
}
-
#lightbox-container-image-data {
+
/* line 38, ../../../../.rvm/gems/ruby-1.9.2-p290/gems/compass-0.12.1/frameworks/compass/stylesheets/compass/utilities/general/_clearfix.scss */
-
padding: 0 10px;  
+
.lb-dataContainer:after {
-
color: #666;  
+
content: "";
 +
display: table;
 +
clear: both;
}
}
-
#lightbox-container-image-data #lightbox-image-details {  
+
 
-
width: 70%;  
+
/* line 95, ../sass/lightbox.sass */
-
float: left;  
+
.lb-data {
-
text-align: left;  
+
padding: 0 10px;
-
}
+
color: #bbbbbb;
-
#lightbox-image-details-caption { font-weight: bold; }
+
}
-
#lightbox-image-details-currentNumber {
+
/* line 98, ../sass/lightbox.sass */
-
display: block;  
+
.lb-data .lb-details {
-
clear: left;  
+
width: 85%;
-
padding-bottom: 1.0em;
+
float: left;
-
}
+
text-align: left;
-
#lightbox-secNav-btnClose {
+
line-height: 1.1em;
-
width: 66px;  
+
}
 +
/* line 103, ../sass/lightbox.sass */
 +
.lb-data .lb-caption {
 +
font-size: 13px;
 +
font-weight: bold;
 +
line-height: 1em;
 +
}
 +
/* line 107, ../sass/lightbox.sass */
 +
.lb-data .lb-number {
 +
display: block;
 +
clear: left;
 +
padding-bottom: 1em;
 +
font-size: 11px;
 +
}
 +
/* line 112, ../sass/lightbox.sass */
 +
.lb-data .lb-close {
 +
width: 35px;
float: right;
float: right;
-
padding-bottom: 0.7em;
+
padding-bottom: 0.7em;
 +
outline: none;
}
}
 +
/* line 117, ../sass/lightbox.sass */
 +
.lb-data .lb-close:hover {
 +
cursor: pointer;
 +
}
 +
/* -----------------------------------------
/* -----------------------------------------
  Shared Styles
  Shared Styles
Line 492: Line 588:
div.sponsors-wrapper ul {
div.sponsors-wrapper ul {
padding: 5px 0px;
padding: 5px 0px;
-
 
}
}

Revision as of 01:43, 26 October 2012

/* --------------------------------------------------

Table of Contents
-----------------------------------------------------
::iGEM Reset
::Fonts and Icons
::Shared Styles
::Header & Footer
::Homepage
*/

/* -----------------------------------------

iGEM Reset
----------------------------------------- */
  1. globalWrapper {

background-color: transparent; border: none; margin: 0; padding: 0; width: 100%; height: 100%; }

  1. content {

background-color: transparent; border: none; padding: 0; margin: 0; width: 100%; overflow: visible; height: 100%; }

  1. bodyContent {

border: none; padding: 0; margin: 0; width: 100%; height: 100%; }

  1. top-section {

height: 15px; margin: 0px; margin-left: auto; margin-right: auto; margin-bottom: 0 !important; padding: 0; border: none; font-size: 10px; }

  1. p-logo {

height: 1px; overflow: hidden; display: none; }

  1. search-controls {

overflow: hidden; display: block; background: none; position: absolute; top: 100px; right: 40px; } .left-menu { width: 500px !important; display: block; margin-top: -80px; border: none; text-align: right; } .left-menu ul { border: none; }

  1. menubar.right-menu {

display: block; width: 300px; float: left; margin-top: 2px; margin-right: 0px; border: none; } .right-menu ul { width: 300px; margin: 0px; visibility: hidden; } .right-menu ul li a { background: none; color: #666; } .right-menu:hover ul { visibility: visible; }

  1. footer-box {

width: 100%; margin: -10px auto 0 auto; padding: 20px 0; } .visualClear { display: none; }

  1. footer {

border: none; width: 965px; margin: 0 auto; padding: 0; } .firstHeading { display: none; }

  1. f-list a {

color: #333; font-size: 10px; }

  1. f-list a:hover {

color: #666; } .printfooter { display: none; }

  1. footer ul {

margin: 0; padding: 0; }

  1. footer ul li {

margin-top: 0; margin-bottom: 0; margin-left: 10px; margin-right: 10px; padding: 0; }

  1. search-controls {

display: none; } h3#siteSub { display: none; }

  1. contentSub {

display: none; } p:first-child { display: none; }

  1. catlinks {

display: none; }

  1. footer-box {

width: 977px; margin-bottom: 20px; }

/* -----------------------------------------

Fonts and Icons
----------------------------------------- */

@font-face { font-family: 'Foro-LightRegular'; src: url('https://dl.dropbox.com/u/3824307/iGEM/fonts/forolig-webfont.eot'); src: url('https://dl.dropbox.com/u/3824307/iGEM/fonts/forolig-webfont.eot?#iefix') format('embedded-opentype'), url('https://dl.dropbox.com/u/3824307/iGEM/fonts/forolig-webfont.woff') format('woff'), url('https://dl.dropbox.com/u/3824307/iGEM/fonts/forolig-webfont.ttf') format('truetype'), url('https://dl.dropbox.com/u/3824307/iGEM/fonts/forolig-webfont.svg#Foro-LightRegular') format('svg'); font-weight: normal; font-style: normal; }

@font-face { font-family: 'Droid Sans'; font-style: normal; font-weight: 400; src: local('Droid Sans'), local('DroidSans'), url(http://themes.googleusercontent.com/static/fonts/droidsans/v3/s-BiyweUPV0v-yRb-cjciBsxEYwM7FgeyaSgU71cLG0.woff) format('woff'); }

@font-face { font-family: 'Droid Sans'; font-style: normal; font-weight: 700; src: local('Droid Sans Bold'), local('DroidSans-Bold'), url(http://themes.googleusercontent.com/static/fonts/droidsans/v3/EFpQQyG9GqCrobXxL-KRMQFhaRv2pGgT5Kf0An0s4MM.woff) format('woff'); } /* -----------------------------------------

Lightbox
----------------------------------------- */

/* line 6, ../sass/lightbox.sass */

  1. lightboxOverlay {

position: absolute; top: 0; left: 0; z-index: 9999; background-color: black; filter: progid:DXImageTransform.Microsoft.Alpha(Opacity=85); opacity: 0.85; display: none; }

/* line 15, ../sass/lightbox.sass */

  1. lightbox {

position: absolute; left: 0; width: 100%; z-index: 10000; text-align: center; line-height: 0; font-family: "lucida grande", tahoma, verdana, arial, sans-serif; font-weight: normal; } /* line 24, ../sass/lightbox.sass */

  1. lightbox img {

width: auto; height: auto; } /* line 27, ../sass/lightbox.sass */

  1. lightbox a img {

border: none; }

/* line 30, ../sass/lightbox.sass */ .lb-outerContainer { position: relative; background-color: white; *zoom: 1; width: 250px; height: 250px; margin: 0 auto; -webkit-border-radius: 4px; -moz-border-radius: 4px; -ms-border-radius: 4px; -o-border-radius: 4px; border-radius: 4px; } /* line 38, ../../../../.rvm/gems/ruby-1.9.2-p290/gems/compass-0.12.1/frameworks/compass/stylesheets/compass/utilities/general/_clearfix.scss */ .lb-outerContainer:after { content: ""; display: table; clear: both; }

/* line 39, ../sass/lightbox.sass */ .lb-container { padding: 10px; }

/* line 42, ../sass/lightbox.sass */ .lb-loader { position: absolute; top: 40%; left: 0%; height: 25%; width: 100%; text-align: center; line-height: 0; }

/* line 51, ../sass/lightbox.sass */ .lb-nav { position: absolute; top: 0; left: 0; height: 100%; width: 100%; z-index: 10; }

/* line 59, ../sass/lightbox.sass */ .lb-container > .nav { left: 0; }

/* line 62, ../sass/lightbox.sass */ .lb-nav a { outline: none; }

/* line 65, ../sass/lightbox.sass */ .lb-prev, .lb-next { width: 49%; height: 100%; background-image: url("data:image/gif;base64,R0lGODlhAQABAIAAAAAAAP///yH5BAEAAAAALAAAAAABAAEAAAIBRAA7"); /* Trick IE into showing hover */ display: block; }

/* line 72, ../sass/lightbox.sass */ .lb-prev { left: 0; float: left; }

/* line 76, ../sass/lightbox.sass */ .lb-next { right: 0; float: right; }

/* line 81, ../sass/lightbox.sass */ .lb-prev:hover { background: url(../images/prev.png) left 48% no-repeat; }

/* line 85, ../sass/lightbox.sass */ .lb-next:hover { background: url(../images/next.png) right 48% no-repeat; }

/* line 88, ../sass/lightbox.sass */ .lb-dataContainer { margin: 0 auto; padding-top: 5px; *zoom: 1; width: 100%; -moz-border-radius-bottomleft: 4px; -webkit-border-bottom-left-radius: 4px; -ms-border-bottom-left-radius: 4px; -o-border-bottom-left-radius: 4px; border-bottom-left-radius: 4px; -moz-border-radius-bottomright: 4px; -webkit-border-bottom-right-radius: 4px; -ms-border-bottom-right-radius: 4px; -o-border-bottom-right-radius: 4px; border-bottom-right-radius: 4px; } /* line 38, ../../../../.rvm/gems/ruby-1.9.2-p290/gems/compass-0.12.1/frameworks/compass/stylesheets/compass/utilities/general/_clearfix.scss */ .lb-dataContainer:after { content: ""; display: table; clear: both; }

/* line 95, ../sass/lightbox.sass */ .lb-data { padding: 0 10px; color: #bbbbbb; } /* line 98, ../sass/lightbox.sass */ .lb-data .lb-details { width: 85%; float: left; text-align: left; line-height: 1.1em; } /* line 103, ../sass/lightbox.sass */ .lb-data .lb-caption { font-size: 13px; font-weight: bold; line-height: 1em; } /* line 107, ../sass/lightbox.sass */ .lb-data .lb-number { display: block; clear: left; padding-bottom: 1em; font-size: 11px; } /* line 112, ../sass/lightbox.sass */ .lb-data .lb-close { width: 35px; float: right; padding-bottom: 0.7em; outline: none; } /* line 117, ../sass/lightbox.sass */ .lb-data .lb-close:hover { cursor: pointer; }

/* -----------------------------------------

Shared Styles
----------------------------------------- */

body { background: #f2f2f2; font-family: 'Droid Sans', Helvetica, sans-serif; font-size: 15px; line-height: 23px; }

h1, h2, h3, h4, h5, h6 { font-family: 'Foro-LightRegular', serif; color: #000; border-bottom: none; margin-bottom: none; }

h1.centered, h2.centered, h3.centered, h4.centered, h5.centered, h6.centered { text-align: center; }

div.clearfix { content: "."; display: block; clear: both; visibility: hidden; line-height: 0; height: 0; }

div.twelve.columns.no-pad { padding: 0px; }

.off-canvas { width: 100%; }

a, a:visited { color: #b31b1b; text-decoration: none; }

a:hover { color: #871414; text-decoration: none; }

.button { background: #b31b1b; border: 1px solid #691010; color: #fff; }

a.button, a.button:hover { color: #fff; }

.button:hover { background-color: #871414; }

.button:focus { -webkit-box-shadow: 0 0 4px #b31b1b, 0 1px 0 rgba(255,255,255,0.5) inset; -moz-box-shadow: 0 0 4px #b31b1b, 0 1px 0 rgba(255,255,255,0.5) inset; box-shadow: 0 0 4px #b31b1b, 0 1px 0 rgba(255,255,255,0.5) inset; }

.nav-bar { background: #b31b1b; }

.nav-bar > li { border: 1px solid #871414; }

.nav-bar > li:last-child { border-right: solid 1px #871414; }

.nav-bar > li.active { background: #4c0b0b; border-color: #4c0b0b; }

.nav-bar > li.active:hover { background: #4c0b0b; }

.nav-bar > li:hover { background: #871414; }

.nav-bar a { color: #f2f2f2; }

ul.side-nav li.divider { border-top: 1px solid #ddd; }

dl.tabs.pill dd a { background: #ddd; color: #000; }

dl.tabs.pill dd.active a { background-color: #b31b1b; color: #e6e6e6; }

iframe.slides { width: 577px; height: 476px; margin: 5px auto; } /* -----------------------------------------

Header & Footer
----------------------------------------- */

div.row.header { background: #b31b1b; margin: 0px auto 40px; }

div#header-wrapper { width: 940px; margin: 0px auto; }

div#logo-wrapper { position: absolute; top: -20px; left: 0px; background: green; border: 10px solid #b31b1b; height: 80px; }

div#logo-wrapper img { height: 60px; }

div#igem-attr { position: absolute; top: -12px; left: 147px; height: 60px; transition: transform 0.5s; -moz-transition: -moz-transform 0.5s; /* Firefox 4 */ -webkit-transition: -webkit-transform 0.5s; /* Safari and Chrome */ -o-transition: -o-transform 0.5s; /* Opera */ }

div#igem-attr:hover { transform: rotate(-15deg); -ms-transform: rotate(-15deg); /* IE 9 */ -webkit-transform: rotate(-15deg); /* Safari and Chrome */ -o-transform: rotate(-15deg); /* Opera */ -moz-transform: rotate(-15deg); /* Firefox */ }

div#igem-attr img { height: 60px; }

div#header-wrapper .nav-bar { float: right; margin: 0px; }

/* -----------------------------------------

Home Page
----------------------------------------- */

div#homepage-slideshow { margin-bottom: 30px; }

div.homepage-section { padding: 10px; }

div.homepage-force { height: 174px; }

div.controls { position: absolute; bottom: 0px; }

div.controls a.button { float: right; }

div.homepage-section.tl { border-bottom: 1px solid #ddd; border-right: 1px solid #ddd; padding-top: 0px; padding-left: 0px; }

div.homepage-section.tr { border-bottom: 1px solid #ddd; padding-top: 0px; padding-right: 0px; }

div.homepage-section.bl { border-right: 1px solid #ddd; padding-bottom: 0px; padding-left: 0px; }

div.homepage-section.br { padding-bottom: 0px; padding-right: 0px; }

div.homepage-thumb { margin-bottom: -6px; }

div.sponsors-wrapper { margin-top: 20px; }

div.sponsors-wrapper ul { padding: 5px 0px; }

div.sponsors-wrapper ul li { padding: 5px 10px; display: inline-block; list-style: none; }

div.sponsors-wrapper ul li img { height: 105px; display: block; margin: 5px auto; }

/* -----------------------------------------

Team Page
----------------------------------------- */

div.team-bios-container div.row { padding: 0px 0px 10px; border-bottom: 1px solid #ddd; }

div.team-bios-container div.last-ele { border-bottom: none; }

div.team-bios-container img { max-height: 166px; margin: 29px 0px; }

div.team-bios-container img.inline { max-height: none; }

div#grd-members, div#fac-members { margin-top: 80px; }

/* -----------------------------------------

Notebook Page
----------------------------------------- */

ul.side-nav h6 { margin: 47px 0px 0px; }

ul.side-nav.ntbk-nav h6 { margin: 87px 0px 0px; }