overrides.less 7.4 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367
  1. // Backgrounds
  2. // ---------------------
  3. .tiny {
  4. font-size: 50%;
  5. }
  6. .smaller {
  7. font-size: 70%;
  8. }
  9. .small {
  10. font-size: 85%;
  11. }
  12. .large {
  13. font-size: 120%;
  14. }
  15. .strong {
  16. font-weight: bold;
  17. }
  18. a {
  19. cursor: pointer;
  20. }
  21. .normal {
  22. font-weight: normal;
  23. }
  24. .light {
  25. font-weight: 200;
  26. }
  27. .input-smaller {
  28. width: 75px;
  29. }
  30. .string {color:lighten(@textColor, 5%)}
  31. .number {color:lighten(@infoText, 5%)}
  32. .boolean {color:lighten(@warningText, 5%)}
  33. .key {color:lighten(@errorText, 5%)}
  34. .btn-active {
  35. background-color: #E6E6E6;
  36. background-image: none;
  37. box-shadow: 0 2px 4px rgba(0, 0, 0, 0.15) inset, 0 1px 2px rgba(0, 0, 0, 0.05);
  38. outline: 0 none
  39. }
  40. .remove:hover {
  41. background-color: @btnDangerBackgroundHighlight;
  42. }
  43. .faded {
  44. opacity: 0.2;
  45. }
  46. div.flot-text {
  47. color: @textColor !important;
  48. }
  49. .page-alert-list {
  50. z-index:8000;
  51. min-width: 300px;
  52. max-width: 300px;
  53. position: fixed;
  54. right: 20px;
  55. top: 56px;
  56. }
  57. .alert {
  58. color: @white;
  59. padding-bottom: 13px;
  60. position: relative;
  61. }
  62. .alert-close {
  63. position: absolute;
  64. top: -4px;
  65. right: -2px;
  66. width: 19px;
  67. height: 19px;
  68. padding: 0;
  69. background: @grayLighter;
  70. border-radius: 50%;
  71. border: none;
  72. font-size: 1.1rem;
  73. color: @grayDarker;
  74. }
  75. .alert-title {
  76. font-weight: bold;
  77. padding-bottom: 2px;
  78. }
  79. .alert-warning {
  80. background-color: @warningBackground;
  81. border-color: @warningBorder;
  82. }
  83. /* ===================================================
  84. * popover-extra-placements.css v0.1
  85. * http://twitter.github.com/bootstrap-popover-extra-placements
  86. * ===================================================
  87. * Copyright 2012 Daniel Kleehammer
  88. *
  89. * Licensed under the Apache License, Version 2.0 (the "License");
  90. * you may not use this file except in compliance with the License.
  91. * You may obtain a copy of the License at
  92. *
  93. * http://www.apache.org/licenses/LICENSE-2.0
  94. *
  95. * Unless required by applicable law or agreed to in writing, software
  96. * distributed under the License is distributed on an "AS IS" BASIS,
  97. * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
  98. * See the License for the specific language governing permissions and
  99. * limitations under the License.
  100. * ========================================================== */
  101. /*************************
  102. * Top Positions
  103. *************************/
  104. /** Top Left **/
  105. .popover.topLeft {
  106. margin-top: -10px;
  107. }
  108. .popover.topLeft .arrow {
  109. bottom: -10px;
  110. left: 25%;
  111. margin-left: -10px;
  112. border-width: 10px 10px 0;
  113. border-top-color: @popoverTitleBackground;
  114. }
  115. .popover.topLeft .arrow:after {
  116. border-width: 11px 11px 0;
  117. border-top-color: rgba(0, 0, 0, 0.25);
  118. bottom: -1px;
  119. left: -11px;
  120. }
  121. /** Top Right **/
  122. .popover.topRight {
  123. margin-top: -10px;
  124. }
  125. .popover.topRight .arrow {
  126. bottom: -10px;
  127. left: 75%;
  128. margin-left: -10px;
  129. border-width: 10px 10px 0;
  130. border-top-color: @popoverTitleBackground;;
  131. }
  132. .popover.topRight .arrow:after {
  133. border-width: 11px 11px 0;
  134. border-top-color: rgba(0, 0, 0, 0.25);
  135. bottom: -1px;
  136. left: -11px;
  137. }
  138. /*************************
  139. * Right Positions
  140. *************************/
  141. .popover {
  142. &.rightTop .arrow {
  143. top: 10%;
  144. left: -@popoverArrowOuterWidth;
  145. margin-top: -@popoverArrowOuterWidth;
  146. border-left-width: 0;
  147. border-right-color: #999; // IE8 fallback
  148. border-right-color: @popoverArrowOuterColor;
  149. &:after {
  150. left: 1px;
  151. bottom: -@popoverArrowWidth;
  152. border-left-width: 0;
  153. border-right-color: @popoverArrowColor;
  154. }
  155. }
  156. &.rightBottom .arrow {
  157. top: 90%;
  158. left: -@popoverArrowOuterWidth;
  159. margin-top: -@popoverArrowOuterWidth;
  160. border-left-width: 0;
  161. border-right-color: #999; // IE8 fallback
  162. border-right-color: @popoverArrowOuterColor;
  163. &:after {
  164. left: 1px;
  165. bottom: -@popoverArrowWidth;
  166. border-left-width: 0;
  167. border-right-color: @popoverArrowColor;
  168. }
  169. }
  170. &.bottomLeft .arrow {
  171. left: 10%;
  172. margin-left: -@popoverArrowOuterWidth;
  173. border-top-width: 0;
  174. border-bottom-color: #999; // IE8 fallback
  175. border-bottom-color: @popoverArrowOuterColor;
  176. top: -@popoverArrowOuterWidth;
  177. &:after {
  178. top: 1px;
  179. margin-left: -@popoverArrowWidth;
  180. border-top-width: 0;
  181. border-bottom-color: @popoverArrowColor;
  182. }
  183. }
  184. &.bottomRight .arrow {
  185. left: 90%;
  186. margin-left: -@popoverArrowOuterWidth;
  187. border-top-width: 0;
  188. border-bottom-color: #999; // IE8 fallback
  189. border-bottom-color: @popoverArrowOuterColor;
  190. top: -@popoverArrowOuterWidth;
  191. &:after {
  192. top: 1px;
  193. margin-left: -@popoverArrowWidth;
  194. border-top-width: 0;
  195. border-bottom-color: @popoverArrowColor;
  196. }
  197. }
  198. &.leftTop .arrow {
  199. top: 10%;
  200. right: -@popoverArrowOuterWidth;
  201. margin-top: -@popoverArrowOuterWidth;
  202. border-right-width: 0;
  203. border-left-color: #999; // IE8 fallback
  204. border-left-color: @popoverArrowOuterColor;
  205. &:after {
  206. right: 1px;
  207. border-right-width: 0;
  208. border-left-color: @popoverArrowColor;
  209. bottom: -@popoverArrowWidth;
  210. }
  211. }
  212. &.leftBottom .arrow {
  213. top: 90%;
  214. right: -@popoverArrowOuterWidth;
  215. margin-top: -@popoverArrowOuterWidth;
  216. border-right-width: 0;
  217. border-left-color: #999; // IE8 fallback
  218. border-left-color: @popoverArrowOuterColor;
  219. &:after {
  220. right: 1px;
  221. border-right-width: 0;
  222. border-left-color: @popoverArrowColor;
  223. bottom: -@popoverArrowWidth;
  224. }
  225. }
  226. &.topLeft .arrow {
  227. left: 10%;
  228. margin-left: -@popoverArrowOuterWidth;
  229. border-bottom-width: 0;
  230. border-top-color: #999; // IE8 fallback
  231. border-top-color: @popoverArrowOuterColor;
  232. bottom: -@popoverArrowOuterWidth;
  233. &:after {
  234. bottom: 1px;
  235. margin-left: -@popoverArrowWidth;
  236. border-bottom-width: 0;
  237. border-top-color: @popoverArrowColor;
  238. }
  239. }
  240. &.topRight .arrow {
  241. left: 90%;
  242. margin-left: -@popoverArrowOuterWidth;
  243. border-bottom-width: 0;
  244. border-top-color: #999; // IE8 fallback
  245. border-top-color: @popoverArrowOuterColor;
  246. bottom: -@popoverArrowOuterWidth;
  247. &:after {
  248. bottom: 1px;
  249. margin-left: -@popoverArrowWidth;
  250. border-bottom-width: 0;
  251. border-top-color: @popoverArrowColor;
  252. }
  253. }
  254. }
  255. // typeahead max height
  256. .typeahead {
  257. max-height: 300px;
  258. overflow-y: auto;
  259. }
  260. // Labels & Badges
  261. .label-tag {
  262. background-color: @purple;
  263. color: darken(@white, 5%);
  264. white-space: nowrap;
  265. border-radius: 3px;
  266. text-shadow: none;
  267. font-size: 13px;
  268. padding: 2px 6px;
  269. border-width: 1px;
  270. border-style: solid;
  271. .icon-tag {
  272. position: relative;
  273. top: 1px;
  274. padding-right: 4px;
  275. }
  276. }
  277. .label-tag:hover {
  278. opacity: 0.85;
  279. background-color: darken(@purple, 10%);
  280. }
  281. .label-tag-email {
  282. padding-left: 25px;
  283. background: @black url(/img/envelope.png) 5px 50% no-repeat !important;
  284. border-color: @black !important;
  285. font-size: 12px;
  286. font-weight: normal;
  287. border-radius: 5px;
  288. }
  289. // inspector
  290. .inspector-request-table {
  291. td {
  292. padding: 5px;
  293. }
  294. td:first-child {
  295. white-space: nowrap;
  296. }
  297. }
  298. .modal-body {
  299. padding: 0;
  300. }
  301. // pre
  302. code, pre {
  303. background-color: @codeTagBackground;
  304. color: @textColor;
  305. border: 1px solid darken(@codeTagBackground, 15%);
  306. padding: 2px;
  307. }
  308. .dropdown-menu {
  309. min-width: 140px;
  310. > li > a {
  311. padding: 3px 20px 3px 15px;
  312. i {
  313. padding-right: 5px;
  314. color: @linkColorDisabled;
  315. }
  316. }
  317. }
  318. .dropdown-submenu>.dropdown-menu.dropdown-submenu-left {
  319. left: auto;
  320. right: 100%;
  321. margin-left: 0;
  322. margin-right: -1px;
  323. }