Template:Http://2014.igem.org/Team:Colombia

From 2014.igem.org

(Difference between revisions)
Line 1,401: Line 1,401:
<!--CSS-->
<!--CSS-->
<style>
<style>
-
@sans: 'Open Sans', sans-serif;
 
-
@serif: 'Roboto Slab', serif;
 
-
@grey: #445561;
 
-
@orange: #f26b43;
 
-
@letter-spacing: .1em;
 
-
 
-
.transition(...) {
 
-
  -webkit-transition: @arguments;
 
-
  -moz-transition: @arguments;
 
-
  -o-transition: @arguments;
 
-
  transition: @arguments;
 
-
}
 
-
 
* {
* {
-
   font-family: @sans;
+
   font-family: 'Open Sans', sans-serif;
}
}
-
 
.button-fill {
.button-fill {
-
    text-align: center;
+
  text-align: center;
-
    background: #ccc;
+
  background: #ccc;
-
    display: inline-block;
+
  display: inline-block;
-
    position: relative;
+
  position: relative;
-
    text-transform: uppercase;
+
  text-transform: uppercase;
-
    margin: 25px;
+
  margin: 25px;
-
 
+
}
-
    // CSS FOR GREY FILL BUTTONS
+
.button-fill.grey {
-
 
+
  background: #445561;
-
    &.grey {
+
  color: white;
-
    background: @grey;
+
}
-
    color: white;
+
.button-fill.orange {
-
    }
+
  background: #f26b43;
-
 
+
  color: #fff;
-
    // CSS FOR ORANGE FILL BUTTONS
+
}
-
 
+
.button-fill.orange .button-inside {
-
    &.orange {
+
  color: #f26b43;
-
    background: @orange;
+
}
-
    color: #fff;
+
.button-fill.orange .button-inside.full {
-
    .button-inside {
+
  border: 1px solid #f26b43;
-
    color: @orange;
+
-
    }
+
-
    .button-inside.full {
+
-
    border: 1px solid @orange;
+
-
    }
+
-
    }
+
}
}
-
 
.button-text {
.button-text {
-
    padding: 0 25px;
+
  padding: 0 25px;
-
    line-height: 56px;
+
  line-height: 56px;
-
    letter-spacing: .1em;
+
  letter-spacing: .1em;
}
}
-
 
-
 
.button-inside {
.button-inside {
-
    width: 0px;
+
  width: 0px;
-
    height: 54px;
+
  height: 54px;
-
    margin: 0;
+
  margin: 0;
-
    float: left;
+
  float: left;
-
    position: absolute;
+
  position: absolute;
-
    top: 1px;
+
  top: 1px;
-
    left: 50%;
+
  left: 50%;
-
    line-height: 54px;
+
  line-height: 54px;
-
    color: @grey;
+
  color: #445561;
-
    background: #fff;
+
  background: #fff;
-
    text-align: center;
+
  text-align: center;
-
    overflow: hidden;
+
  overflow: hidden;
-
    .transition(width .5s, left .5s, margin .5s;);
+
  -webkit-transition: width 0.5s, left 0.5s, margin 0.5s;
 +
  -moz-transition: width 0.5s, left 0.5s, margin 0.5s;
 +
  -o-transition: width 0.5s, left 0.5s, margin 0.5s;
 +
  transition: width 0.5s, left 0.5s, margin 0.5s;
}
}
-
 
+
.button-inside.full {
-
.button-inside.full { // HOVER STATE (jQuery)
+
  width: 100%;
-
    width: 100%;
+
  left: 0%;
-
    left: 0%;
+
  top: 0;
-
    top: 0;
+
  margin-right: -50px;
-
    margin-right: -50px;
+
  border: 1px solid #445561;
-
    border: 1px solid @grey;
+
}
}
-
 
.inside-text {
.inside-text {
-
text-align: center;
+
  text-align: center;
-
position: absolute;
+
  position: absolute;
-
right: 50%;
+
  right: 50%;
-
letter-spacing: .1em;
+
  letter-spacing: .1em;
-
text-transform: uppercase;
+
  text-transform: uppercase;
-
-webkit-transform: translateX(50%);
+
  -webkit-transform: translateX(50%);
-
-moz-transform: translateX(50%);
+
  -moz-transform: translateX(50%);
-
-ms-transform: translateX(50%);
+
  -ms-transform: translateX(50%);
-
transform: translateX(50%);
+
  transform: translateX(50%);
}
}
</style>
</style>

Revision as of 23:54, 28 September 2014

' Wheeltz - CSS3 Navigational Wheel Menu

  • Home
  • University
  • Facebook
  • Twitter