betaflight-configurator/tabs/led_strip.css

381 lines
9.8 KiB
CSS
Raw Normal View History

2015-01-09 01:11:46 +00:00
.tab-led-strip .help {
padding: 10px;
background-color: #ffcb18;
margin-bottom: 10px;
}
.tab-led-strip .section {
color: #565656;
margin: 20px 0 5px 0;
2015-01-09 01:11:46 +00:00
border-bottom: 1px solid silver;
}
.tab-led-strip .mainGrid {
2015-11-13 17:44:57 +00:00
width: calc((24px + 7px) * 16);
height: calc((24px + 7px) * 16);
2015-01-09 01:11:46 +00:00
float: left;
margin-right: 10px;
2015-11-14 11:29:29 +00:00
border-radius: 3px;
2016-06-17 17:47:09 +00:00
background-color: #dcdcdc;
border: silver;
2015-01-09 01:11:46 +00:00
}
.tab-led-strip .mainGrid .gPoint {
float: left;
2015-11-07 23:21:49 +00:00
border: solid 1px #ADADAD;
width: 23px;
height: 23px;
2015-01-09 01:11:46 +00:00
margin: 3px;
border-radius: 7px;
2016-06-17 17:47:09 +00:00
background: #e9e9e9;
2015-01-09 01:11:46 +00:00
cursor: pointer;
}
.tab-led-strip .gPoint.function-w { /* Warning */
2015-01-09 01:11:46 +00:00
background: red;
box-shadow: inset 0 0 30px rgba(0, 0, 0, .7);
border-color: red;
2015-01-09 01:11:46 +00:00
}
.tab-led-strip .gPoint.function-f { /* Flight mode & orientation */
2015-01-09 01:11:46 +00:00
background: rgb(50, 205, 50);
box-shadow: inset 0 0 30px rgba(0, 0, 0, .7);
border-color: rgb(50, 205, 50);
}
.tab-led-strip .gPoint.function-i { /* Indicator */
background: yellow;
box-shadow: inset 0 0 30px rgba(0, 0, 0, .7);
border-color: yellow;
}
.tab-led-strip .gPoint.function-a { /* Armed Mode */
background: rgb(52, 155, 255);
box-shadow: inset 0 0 30px rgba(0, 0, 0, .7);
border-color: rgb(52, 155, 255);
}
.tab-led-strip .gPoint.function-t { /* Thrust Mode */
background: orange;
box-shadow: inset 0 0 30px rgba(0, 0, 0, .7);
border-color: orange;
}
.tab-led-strip .gPoint.function-c { /* Color */
background: linear-gradient( to bottom right, rgba(255, 0, 0, .5) 0%, rgba(255, 255, 0, 0.5) 15%, rgba(0, 255, 0, .5) 30%, rgba(0, 255, 255, .5) 50%, rgba(0, 0, 255, .5) 65%, rgba(255, 0, 255, .5) 80%, rgba(255, 0, 0, .5) 100%);
box-shadow: inset 0 0 30px rgba(0, 0, 0, .7);
border-color: grey;
}
.tab-led-strip .gPoint.function-r { /* Ring */
background: radial-gradient(ellipse at center, rgba(0,0,0,1) 0%, rgba(0,0,0,1) 60%, white 60%,white 70%,black 70%, black 100%);
box-shadow: inset 0 0 30px rgba(0, 0, 0, .7);
border-color: black;
}
.tab-led-strip .gPoint.function-g { /* GPS */
background: green;
box-shadow: inset 0 0 30px rgba(0, 0, 0, .7);
border-color: rgb(52, 155, 255);
}
.tab-led-strip .gPoint.function-s { /* RSSI */
background: brown;
box-shadow: inset 0 0 30px rgba(0, 0, 0, .7);
border-color: rgb(52, 155, 255);
}
.tab-led-strip .gPoint.function-b { /* Blink */
background: white;
box-shadow: inset 0 0 30px rgba(0, 0, 0, .7);
border-color: rgb(52, 155, 255);
}
.tab-led-strip .gPoint.function-i.function-f {
background: linear-gradient(to bottom, yellow 0%,yellow 50%,rgb(50, 205, 50) 50%, rgb(50, 205, 50) 100%);
}
.tab-led-strip .gPoint.function-i.function-a {
background: linear-gradient(to bottom, yellow 0%,yellow 50%,rgb(52, 155, 255) 50%, rgb(52, 155, 255) 100%);
}
.tab-led-strip .gPoint.function-i.function-f.function-a {
background: linear-gradient(to bottom, yellow 0%,yellow 33%,rgb(50, 205, 50) 33%, rgb(50, 205, 50) 66%, rgb(52, 155, 255) 66%, rgb(52, 155, 255) 100%);
}
.tab-led-strip .gPoint.function-i.function-w.function-a {
background: linear-gradient(to bottom, yellow 0%,yellow 33%,red 33%, red 66%, rgb(52, 155, 255) 66%, rgb(52, 155, 255) 100%);
}
.tab-led-strip .gPoint.function-t.function-f.function-w {
background: linear-gradient(to bottom, orange 0%,orange 33%,rgb(50, 205, 50) 33%, rgb(50, 205, 50) 66%, red 66%, red 100%);
}
.tab-led-strip .gPoint.function-i.function-w {
2015-01-22 20:53:34 +00:00
background: linear-gradient(to bottom, yellow 0%,yellow 50%,#ff5454 50%,#ba3535 100%);
2015-01-09 01:11:46 +00:00
}
.tab-led-strip .gPoint.function-f.function-w {
background: linear-gradient(to bottom, rgb(50, 205, 50) 0%,rgb(50, 205, 50) 50%,#ff5454 50%,#ba3535 100%);
}
2015-01-22 20:53:34 +00:00
.tab-led-strip .gPoint.function-f.function-t {
background: linear-gradient(to bottom, rgb(50, 205, 50) 0%,rgb(50, 205, 50) 50%,orange 50%,orange 100%);
}
2015-01-09 01:11:46 +00:00
.tab-led-strip .gPoint select {
background: #000;
width: 13px;
height: 13px;
}
.tab-led-strip .wire {
2015-11-14 11:29:29 +00:00
color: rgba(255,255,255,.5);
2015-01-09 01:11:46 +00:00
text-align: center;
2015-11-13 17:44:57 +00:00
font-size: 12px;
2015-01-09 01:11:46 +00:00
text-shadow: 1px 1px rgba(0,0,0,.4);
padding-top: 0px;
display: block;
2015-11-13 17:44:57 +00:00
/* font-family: monospace; */
2015-11-07 23:21:49 +00:00
margin-left: -1px;
2015-11-13 17:44:57 +00:00
margin-top: -21px;
2015-11-07 23:21:49 +00:00
width: 24px;
height: 24px;
2015-01-09 01:11:46 +00:00
}
.gridWire .wire {
color: rgba(255,255,255,1);
}
.gridWire {
background: rgba(15, 171, 22, .5) !important;
2015-01-09 01:11:46 +00:00
}
/*function buttons*/
.tab-led-strip button {
text-align: center;
font-weight: bold;
border: 1px solid silver;
background-color: #ececec;
2016-06-17 17:13:29 +00:00
border-radius: 3px;
2015-01-23 08:20:38 +00:00
padding: 7px 6px;
2015-01-09 01:11:46 +00:00
margin: 3px 0;
}
.tab-led-strip button:hover {
2015-01-09 01:11:46 +00:00
background-color: #acacac;
}
.tab-led-strip .funcWire.btnOn {
background: rgb(15, 171, 22);
}
2016-01-03 14:42:21 +00:00
.tab-led-strip .w100 {
2015-01-09 01:11:46 +00:00
width: 100%;
}
2016-01-03 14:42:21 +00:00
.tab-led-strip .w50 {
2015-01-09 01:11:46 +00:00
width: 49%;
}
.tab-led-strip .functions .function-w.btnOn {background: red;}
.tab-led-strip .functions .function-f.btnOn {background: rgb(50, 205, 50);}
.tab-led-strip .functions .function-i.btnOn {background: yellow; color: #333;}
2016-06-17 17:47:09 +00:00
.tab-led-strip .functions .function-a.btnOn {background: #0084ff;}
.tab-led-strip .functions .function-t.btnOn {background: orange;}
.tab-led-strip .functions .function-r.btnOn {background: #acacac;}
.tab-led-strip .functions .function-c.btnOn {
background: linear-gradient( to bottom right, rgba(255, 0, 0, .5) 0%, rgba(255, 255, 0, 0.5) 15%, rgba(0, 255, 0, .5) 30%, rgba(0, 255, 255, .5) 50%, rgba(0, 0, 255, .5) 65%, rgba(255, 0, 255, .5) 80%, rgba(255, 0, 0, .5) 100%);
}
.tab-led-strip .functions .function-g.btnOn {background: green;}
.tab-led-strip .functions .function-s.btnOn {background: brown;}
.tab-led-strip .functions .function-b.btnOn {background: white;}
.tab-led-strip .color-1 {background: white;}
.tab-led-strip .color-2 {background: red;}
.tab-led-strip .color-3 {background: orange;}
.tab-led-strip .color-4 {background: yellow;}
.tab-led-strip .color-5 {background: greenyellow;}
.tab-led-strip .color-6 {background: limegreen;}
.tab-led-strip .color-7 {background: palegreen;}
.tab-led-strip .color-8 {background: cyan;}
.tab-led-strip .color-9 {background: lightcyan;}
.tab-led-strip .color-10 {background: dodgerblue;}
.tab-led-strip .color-11 {background: darkviolet;}
.tab-led-strip .color-12 {background: magenta;}
.tab-led-strip .color-13 {background: deeppink;}
2016-01-03 14:42:21 +00:00
2015-03-29 14:57:09 +00:00
.tab-led-strip .directions button.btnOn,
.tab-led-strip .functions button.btnOn,
.tab-led-strip .colors .btnOn {
border-color: #000;
}
.tab-led-strip .colors button:hover {
2015-03-29 14:57:09 +00:00
border-color: inherit;
border-style: solid;
}
.tab-led-strip .directions .btnOn {
background: #FFF; color: #000;
}
2015-01-09 01:11:46 +00:00
.tab-led-strip .indicators {
position: relative;
2015-11-07 23:21:49 +00:00
height: 24px
2015-01-09 01:11:46 +00:00
}
.tab-led-strip .indicators span {
width: 0;
height: 0;
2015-01-09 01:11:46 +00:00
position: absolute;
display: none;
font-size: 10px;
font-weight: bold;
}
.tab-led-strip .indicators .north {
2015-11-07 23:21:49 +00:00
top: -9px;
left: 4px;
2015-01-09 01:11:46 +00:00
border-left: 7px solid transparent;
border-right: 7px solid transparent;
2015-01-09 01:11:46 +00:00
border-bottom: 7px solid rgba(0,0,0,.8);
}
.tab-led-strip .indicators .south {
2015-11-09 11:01:19 +00:00
bottom: -8px;
2015-11-07 23:21:49 +00:00
left: 4px;
2015-01-09 01:11:46 +00:00
border-left: 7px solid transparent;
border-right: 7px solid transparent;
2015-01-09 01:11:46 +00:00
border-top: 7px solid rgba(0,0,0,.8);
}
.tab-led-strip .indicators .east {
2015-11-09 11:01:19 +00:00
bottom: 7px;
2015-11-07 23:21:49 +00:00
right: -9px;
2015-01-09 01:11:46 +00:00
border-top: 7px solid transparent;
border-bottom: 7px solid transparent;
2015-01-09 01:11:46 +00:00
border-left: 7px solid rgba(0,0,0,.8);
}
.tab-led-strip .indicators .west {
2015-11-09 11:01:19 +00:00
bottom: 7px;
2015-11-07 23:21:49 +00:00
left: -9px;
2015-01-09 01:11:46 +00:00
border-top: 7px solid transparent;
border-bottom: 7px solid transparent;
2015-01-09 01:11:46 +00:00
border-right: 7px solid rgba(0,0,0,.8);
}
.tab-led-strip .indicators .up {
top: 0px;
left: 2px;
2015-01-09 01:11:46 +00:00
}
.tab-led-strip .indicators .down {
bottom: 17px;
right: 10px;
2015-01-09 01:11:46 +00:00
}
.tab-led-strip .dir-n .north {display: inline;}
.tab-led-strip .dir-s .south {display: inline;}
.tab-led-strip .dir-e .east {display: inline;}
.tab-led-strip .dir-w .west {display: inline;}
.tab-led-strip .dir-u .up {display: inline;}
.tab-led-strip .dir-d .down {display: inline;}
.tab-led-strip .controls {
position: relative;
float: left;
2015-10-29 18:17:34 +00:00
width: 285px;
2015-01-09 01:11:46 +00:00
}
.tab-led-strip .directions,
.tab-led-strip .colors {
height: 130px;
2015-01-09 01:11:46 +00:00
position: relative;
2015-11-14 11:29:29 +00:00
display: inline-block;
width: 49%;
2015-01-09 01:11:46 +00:00
}
.tab-led-strip .directions button {
2015-01-09 01:11:46 +00:00
position: absolute;
width: 30px;
height: 30px;
}
.tab-led-strip .directions .dir-n {top: 0; left: 32px;}
.tab-led-strip .directions .dir-s {top: 64px; left: 32px;}
.tab-led-strip .directions .dir-e {left: 64px; top: 32px;}
.tab-led-strip .directions .dir-w {left: 0; top: 32px;}
.tab-led-strip .directions .dir-u {right: 10px; top: 15px;}
.tab-led-strip .directions .dir-d {right: 10px; top: 54px;}
.tab-led-strip .colors button {
width: 23%;
}
2015-01-09 01:11:46 +00:00
.tab-led-strip .wires-remaining {
float: right;
text-align: center;
font-size: 14px;
}
.tab-led-strip .wires-remaining div {
font-size: 40px;
2016-06-17 17:13:29 +00:00
color: #ffbb00;
margin-bottom: -5px;
2016-06-17 17:47:09 +00:00
margin-top: -10px;
2015-01-09 01:11:46 +00:00
}
.tab-led-strip .wires-remaining.error div {
color: #FF5700;
}
.tab-led-strip > .buttons {
margin-top: 10px;
}
2015-01-23 08:20:38 +00:00
.gridSections {
position: absolute;
z-index: -1;
2015-11-07 23:21:49 +00:00
width: 496px;
border: 1px solid rgb(236, 236, 236);
margin-top: -1px;
margin-left: -1px;
2015-11-13 17:44:57 +00:00
border-radius: 3px;
2015-01-23 08:20:38 +00:00
}
.gridSections .block {
2015-11-07 23:21:49 +00:00
width: 122px;
height: 122px;
2015-01-23 08:20:38 +00:00
float: left;
border: solid 1px rgb(236, 236, 236);
2015-01-23 08:20:38 +00:00
}
/*******JQUERYUI**********/
.tab-led-strip .ui-selected {
box-shadow: inset 0 0 8px rgba(255, 0, 255, 1) !important;
2015-11-09 11:04:30 +00:00
border: solid 1px #000 !important;
2015-01-23 08:20:38 +00:00
}
.tab-led-strip .ui-selecting {
box-shadow: inset 0 0 30px rgba(255, 0, 255, .7) !important;
2015-11-09 11:04:30 +00:00
border: solid 1px #000 !important;
2015-01-23 08:20:38 +00:00
}
.tab-led-strip .ui-selectable-helper {
background: rgba(0,0,0,.4);
position: absolute;
z-index: 100;
border: 1px dotted white;
2015-01-23 08:20:38 +00:00
}
2016-01-03 14:42:21 +00:00
.tab-led-strip .spacebottom {
margin-bottom: 20px;
}