2012-07-15 05:27:36 +02:00
|
|
|
/*
|
|
|
|
WebKit Defaults:
|
|
|
|
----------------------
|
|
|
|
display: inline;
|
|
|
|
font-family: monospace;
|
|
|
|
height: auto;
|
|
|
|
width: auto;
|
|
|
|
|
|
|
|
Apple Keyboard font: VAG Rounded
|
|
|
|
*/
|
|
|
|
|
2012-07-16 14:50:02 +02:00
|
|
|
// Le variables
|
|
|
|
// ----------------------
|
2012-07-15 05:27:36 +02:00
|
|
|
|
|
|
|
@textColor: #444;
|
|
|
|
@textColorDark: #eee;
|
|
|
|
@fontFamily: "Lucida Grande", Lucida, Verdana, sans-serif;
|
|
|
|
|
2012-07-16 12:26:28 +02:00
|
|
|
|
|
|
|
/* Le kbd
|
|
|
|
---------------------- */
|
|
|
|
|
2012-07-15 05:27:36 +02:00
|
|
|
kbd {
|
|
|
|
color: @textColor;
|
|
|
|
font-family: @fontFamily;
|
|
|
|
font-weight: normal;
|
|
|
|
font-style: normal;
|
|
|
|
text-align: center;
|
2012-07-16 12:26:28 +02:00
|
|
|
line-height: 1em;
|
2012-07-15 05:27:36 +02:00
|
|
|
text-shadow: 0 1px 0 #fff;
|
|
|
|
|
|
|
|
display: inline;
|
|
|
|
padding: .3em .55em;
|
|
|
|
|
2012-07-16 12:26:28 +02:00
|
|
|
.border-radius(6px);
|
2012-07-15 05:27:36 +02:00
|
|
|
border: 1px solid #bbb;
|
|
|
|
|
|
|
|
background-color: #f7f7f7;
|
2012-07-16 12:26:28 +02:00
|
|
|
#gradient > .vertical(rgba(0,0,0,0.1), rgba(0,0,0,0));
|
2012-07-15 05:27:36 +02:00
|
|
|
|
2012-07-16 12:26:28 +02:00
|
|
|
box-shadow: 0px 2px 0 #bbb,
|
2012-07-15 05:27:36 +02:00
|
|
|
0 3px 1px #999,
|
2012-07-16 12:26:28 +02:00
|
|
|
0 3px 0 #bbb,
|
|
|
|
inset 0 1px 1px #fff,
|
|
|
|
inset 0 -1px 3px #ccc;
|
2012-07-15 05:27:36 +02:00
|
|
|
|
|
|
|
&.dark {
|
|
|
|
color: @textColorDark;
|
|
|
|
text-shadow: 0 -1px 0 #000;
|
|
|
|
|
2012-07-16 12:26:28 +02:00
|
|
|
border-color: #000;
|
2012-07-15 05:27:36 +02:00
|
|
|
|
|
|
|
background-color: #4d4c4c;
|
2012-07-16 12:26:28 +02:00
|
|
|
#gradient > .vertical-three-colors(rgba(0,0,0,0.5), rgba(0,0,0,0), 80%, rgba(0,0,0,0));
|
2012-07-15 05:27:36 +02:00
|
|
|
|
2012-07-16 12:26:28 +02:00
|
|
|
box-shadow: 0px 2px 0 #000,
|
2012-07-15 05:27:36 +02:00
|
|
|
0 3px 1px #999,
|
2012-07-16 12:26:28 +02:00
|
|
|
inset 0 1px 1px #aaa,
|
|
|
|
inset 0 -1px 3px #272727;
|
2012-07-15 05:27:36 +02:00
|
|
|
}
|
2012-07-16 12:26:28 +02:00
|
|
|
|
2012-07-16 14:50:02 +02:00
|
|
|
&.ios {
|
|
|
|
font-family: Helvetica, "Helvetica Neue", Arial, sans-serif;
|
|
|
|
color: #000;
|
|
|
|
border-color: rgba(0,0,0,.6);
|
|
|
|
border-top-color: rgba(0,0,0,.4);
|
|
|
|
|
|
|
|
background-color: ##b7b7bc;
|
|
|
|
#gradient > .vertical(#efeff0, #b7b7bc);
|
|
|
|
|
|
|
|
box-shadow: 0 1px 2px rgba(0,0,0,.6),
|
|
|
|
0 2px 3px rgba(0,0,0,.1),
|
|
|
|
inset 0 1px 0 #fff;
|
|
|
|
}
|
2012-07-16 12:26:28 +02:00
|
|
|
|
2012-07-16 14:50:02 +02:00
|
|
|
&.android {
|
|
|
|
font-family: "Helvetica Neue", Helvetica, Arial, sans-serif;
|
|
|
|
// Uncomment the following line to load Roboto.
|
|
|
|
// Make sure to include the font files
|
|
|
|
// somewhere in your project structure.
|
|
|
|
//.font-roboto;
|
|
|
|
color: #ffffff;
|
|
|
|
text-shadow: none;
|
|
|
|
padding: .3em;
|
|
|
|
border: 1px solid rgba(0,0,0,.05);
|
|
|
|
.border-radius(3px);
|
|
|
|
background: #5e5e5e;
|
|
|
|
box-shadow: 0 2px 2px rgba(0,0,0,.3),
|
|
|
|
0 1px 0 #444,
|
|
|
|
inset 0 1px 0 #868686;
|
|
|
|
&.dark {
|
|
|
|
background: #222222;
|
2012-07-16 15:05:44 +02:00
|
|
|
box-shadow: 0 2px 2px rgba(0,0,0,.7),
|
2012-07-16 13:08:34 +02:00
|
|
|
0 1px 0 #444,
|
2012-07-16 14:50:02 +02:00
|
|
|
inset 0 1px 0 #505050;
|
2012-07-16 12:26:28 +02:00
|
|
|
}
|
2012-07-16 14:50:02 +02:00
|
|
|
&.color {
|
|
|
|
background: #083c5b;
|
2012-07-16 15:05:44 +02:00
|
|
|
box-shadow: 0 2px 2px rgba(0,0,0,.7),
|
2012-07-16 14:50:02 +02:00
|
|
|
0 1px 0 #444,
|
|
|
|
inset 0 1px 0 #36647b;
|
|
|
|
}
|
|
|
|
}
|
2012-07-15 05:27:36 +02:00
|
|
|
}
|
|
|
|
|
2012-07-16 12:26:28 +02:00
|
|
|
|
2012-07-16 14:50:02 +02:00
|
|
|
// Mixins
|
|
|
|
// ----------------------
|
2012-07-16 12:26:28 +02:00
|
|
|
|
|
|
|
// Border Radius
|
|
|
|
.border-radius(@radius) {
|
|
|
|
-webkit-border-radius: @radius;
|
|
|
|
-moz-border-radius: @radius;
|
|
|
|
border-radius: @radius;
|
|
|
|
-moz-background-clip: padding;
|
|
|
|
-webkit-background-clip: padding-box;
|
|
|
|
background-clip: padding-box;
|
|
|
|
}
|
|
|
|
|
|
|
|
// Drop shadows
|
|
|
|
.box-shadow(@shadow) {
|
|
|
|
-webkit-box-shadow: @shadow;
|
|
|
|
-moz-box-shadow: @shadow;
|
|
|
|
box-shadow: @shadow;
|
|
|
|
}
|
|
|
|
|
|
|
|
// Gradient
|
|
|
|
#gradient {
|
|
|
|
.vertical(@startColor, @endColor) {
|
|
|
|
background-image: -moz-linear-gradient(top, @startColor, @endColor);
|
|
|
|
background-image: -webkit-gradient(linear, 0 0, 0 100%, from(@startColor), to(@endColor));
|
|
|
|
background-image: -webkit-linear-gradient(top, @startColor, @endColor);
|
|
|
|
background-image: -o-linear-gradient(top, @startColor, @endColor);
|
|
|
|
background-image: linear-gradient(top, @startColor, @endColor);
|
|
|
|
background-repeat: repeat-x;
|
|
|
|
filter: e(%("progid:DXImageTransform.Microsoft.gradient(startColorstr='%d', endColorstr='%d', GradientType=0)",argb(@startColor),argb(@endColor)));
|
|
|
|
}
|
|
|
|
.vertical-three-colors(@startColor, @midColor, @colorStop, @endColor) {
|
|
|
|
background-image: -webkit-gradient(linear, 0 0, 0 100%, from(@startColor), color-stop(@colorStop, @midColor), to(@endColor));
|
|
|
|
background-image: -webkit-linear-gradient(@startColor, @midColor @colorStop, @endColor);
|
|
|
|
background-image: -moz-linear-gradient(top, @startColor, @midColor @colorStop, @endColor);
|
|
|
|
background-image: -o-linear-gradient(@startColor, @midColor @colorStop, @endColor);
|
|
|
|
background-image: linear-gradient(@startColor, @midColor @colorStop, @endColor);
|
|
|
|
background-repeat: no-repeat;
|
|
|
|
filter: e(%("progid:DXImageTransform.Microsoft.gradient(startColorstr='%d', endColorstr='%d', GradientType=0)",argb(@startColor),argb(@endColor)));
|
|
|
|
}
|
2012-07-16 13:08:34 +02:00
|
|
|
}
|
2012-07-16 14:50:02 +02:00
|
|
|
// import roboto styles
|
2012-07-16 13:08:34 +02:00
|
|
|
@import 'roboto.less';
|