| 1 |
@import "../start"; |
| 2 |
|
| 3 |
.switch |
| 4 |
{ |
| 5 |
position: relative; |
| 6 |
display: inline-block; |
| 7 |
font-size: 1.6em; |
| 8 |
font-weight: bold; |
| 9 |
color: #ccc; |
| 10 |
text-shadow: 0px 1px 1px rgba(255, 255, 255, 0.8); |
| 11 |
height: 18px; |
| 12 |
padding: 6px 6px 5px 6px; |
| 13 |
border: 1px solid #ccc; |
| 14 |
border: 1px solid rgba(0, 0, 0, 0.2); |
| 15 |
border-radius: 4px; |
| 16 |
background: #ececec; |
| 17 |
box-shadow: 0px 0px 4px rgba(0, 0, 0, 0.1), inset 0px 1px 3px 0px rgba(0, 0, 0, 0.1); |
| 18 |
cursor: pointer; |
| 19 |
|
| 20 |
span |
| 21 |
{ |
| 22 |
display: inline-block; width: 35px; |
| 23 |
text-transform: uppercase; |
| 24 |
|
| 25 |
&.on |
| 26 |
{ |
| 27 |
color: $button-primary-bkg; |
| 28 |
} |
| 29 |
} |
| 30 |
|
| 31 |
.toggle |
| 32 |
{ |
| 33 |
position: absolute; |
| 34 |
top: 1px; |
| 35 |
width: 37px; |
| 36 |
height: 25px; |
| 37 |
border: 1px solid #ccc; |
| 38 |
border: 1px solid rgba(0, 0, 0, 0.3); |
| 39 |
border-radius: 4px; |
| 40 |
background: #fff; |
| 41 |
background: -moz-linear-gradient(top, #ececec 0%, #fff 100%); |
| 42 |
background: -webkit-gradient(linear, left top, left bottom, color-stop(0%, #ececec), color-stop(100%, #fff)); |
| 43 |
background: -webkit-linear-gradient(top, #ececec 0%, #fff 100%); |
| 44 |
background: -o-linear-gradient(top, #ececec 0%, #fff 100%); |
| 45 |
background: -ms-linear-gradient(top, #ececec 0%, #fff 100%); |
| 46 |
background: linear-gradient(top, #ececec 0%, #fff 100%); |
| 47 |
box-shadow: inset 0px 1px 0px 0px rgba(255, 255, 255, 0.5); |
| 48 |
z-index: 999; |
| 49 |
@include transition(all 0.15s ease-in-out); |
| 50 |
} |
| 51 |
|
| 52 |
&.on .toggle |
| 53 |
{ |
| 54 |
left: 2%; |
| 55 |
} |
| 56 |
&.off .toggle |
| 57 |
{ |
| 58 |
left: 54%; |
| 59 |
} |
| 60 |
|
| 61 |
/* Round switch */ |
| 62 |
&.round |
| 63 |
{ |
| 64 |
padding: 0px 20px; |
| 65 |
border-radius: 40px; |
| 66 |
|
| 67 |
.toggle |
| 68 |
{ |
| 69 |
border-radius: 40px; |
| 70 |
width: 14px; |
| 71 |
height: 14px; |
| 72 |
} |
| 73 |
|
| 74 |
&.on .toggle |
| 75 |
{ |
| 76 |
left: 3%; |
| 77 |
background: $button-primary-bkg; |
| 78 |
} |
| 79 |
&.off .toggle |
| 80 |
{ |
| 81 |
left: 58%; |
| 82 |
} |
| 83 |
} |
| 84 |
} |
| 85 |
|
| 86 |
.switch-label |
| 87 |
{ |
| 88 |
font-size: 20px; |
| 89 |
line-height: 31px; |
| 90 |
margin: 0 5px; |
| 91 |
} |
| 92 |
|
| 93 |
#fs_log_book { |
| 94 |
table { |
| 95 |
font-family: Consolas,Monaco,monospace; |
| 96 |
font-size: 12px; |
| 97 |
|
| 98 |
th { |
| 99 |
color: #ccc; |
| 100 |
} |
| 101 |
|
| 102 |
tr { |
| 103 |
background: #232525; |
| 104 |
|
| 105 |
&.alternate { |
| 106 |
background: #2b2b2b; |
| 107 |
} |
| 108 |
|
| 109 |
td { |
| 110 |
&.fs-col--logger { |
| 111 |
color: #5a7435; |
| 112 |
} |
| 113 |
&.fs-col--type { |
| 114 |
color: #ffc861; |
| 115 |
} |
| 116 |
&.fs-col--function { |
| 117 |
color: #a7b7b1; |
| 118 |
font-weight: bold; |
| 119 |
} |
| 120 |
&.fs-col--message { |
| 121 |
&, a |
| 122 |
{ |
| 123 |
color: #9a73ac !important; |
| 124 |
} |
| 125 |
} |
| 126 |
&.fs-col--file { |
| 127 |
color: #d07922; |
| 128 |
} |
| 129 |
&.fs-col--timestamp { |
| 130 |
color: #6596be; |
| 131 |
} |
| 132 |
} |
| 133 |
} |
| 134 |
} |
| 135 |
} |