Init commit
This commit is contained in:
52
css/flightindicators.css
Normal file
52
css/flightindicators.css
Normal file
@@ -0,0 +1,52 @@
|
||||
/*
|
||||
* jQuery Flight Indicators plugin
|
||||
* By Sébastien Matton (seb_matton@hotmail.com)
|
||||
* Published under GPLv3 License.
|
||||
*
|
||||
* https://github.com/sebmatton/jQuery-Flight-Indicators
|
||||
*/
|
||||
|
||||
/* Global block of an indicator*/
|
||||
div.instrument {
|
||||
width: 250px;
|
||||
height: 250px;
|
||||
position: relative;
|
||||
display: inline-block;
|
||||
overflow: hidden;
|
||||
}
|
||||
|
||||
/* The box containing any element of an indicator */
|
||||
div.instrument .box {
|
||||
position: absolute;
|
||||
top: 0;
|
||||
left: 0;
|
||||
width: 100%;
|
||||
height: 100%;
|
||||
}
|
||||
|
||||
/* Default transformations */
|
||||
|
||||
div.instrument.attitude div.roll {
|
||||
transform: rotate(0deg);
|
||||
}
|
||||
div.instrument.attitude div.roll div.pitch {
|
||||
top: 0%;
|
||||
}
|
||||
div.instrument.heading div.yaw {
|
||||
transform: rotate(0deg);
|
||||
}
|
||||
div.instrument.vario div.vario {
|
||||
transform: rotate(0deg);
|
||||
}
|
||||
div.instrument.speed div.airspeed {
|
||||
transform: rotate(90deg);
|
||||
}
|
||||
div.instrument.altimeter div.pressure {
|
||||
transform: rotate(40deg);
|
||||
}
|
||||
div.instrument.altimeter div.needle {
|
||||
transform: rotate(90deg);
|
||||
}
|
||||
div.instrument.altimeter div.needleSmall {
|
||||
transform: rotate(90deg);
|
||||
}
|
8
css/flightindicators.min.css
vendored
Normal file
8
css/flightindicators.min.css
vendored
Normal file
@@ -0,0 +1,8 @@
|
||||
/*
|
||||
* jQuery Flight Indicators plugin
|
||||
* By Sébastien Matton (seb_matton@hotmail.com)
|
||||
* Published under GPLv3 License.
|
||||
*
|
||||
* https://github.com/sebmatton/jQuery-Flight-Indicators
|
||||
*/
|
||||
div.instrument{width:250px;height:250px;position:relative;display:inline-block;overflow:hidden}div.instrument .box{position:absolute;top:0;left:0;width:100%;height:100%}div.instrument.attitude div.roll{transform:rotate(0deg)}div.instrument.attitude div.roll div.pitch{top:0}div.instrument.heading div.yaw,div.instrument.vario div.vario{transform:rotate(0deg)}div.instrument.speed div.airspeed{transform:rotate(90deg)}div.instrument.altimeter div.pressure{transform:rotate(40deg)}div.instrument.altimeter div.needle,div.instrument.altimeter div.needleSmall{transform:rotate(90deg)}
|
Reference in New Issue
Block a user