miscellaneous.less 6.0 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354
  1. /*
  2. * General: Miscellaneous
  3. * ----------------------
  4. */
  5. // 10px padding and margins
  6. .pad {
  7. padding: 10px;
  8. }
  9. .margin {
  10. margin: 10px;
  11. }
  12. .margin-bottom {
  13. margin-bottom: 20px;
  14. }
  15. // Display inline
  16. .inline {
  17. display: inline;
  18. width: auto;
  19. }
  20. // Description Blocks
  21. .description-block {
  22. display: block;
  23. margin: 10px 0;
  24. text-align: center;
  25. &.margin-bottom {
  26. margin-bottom: 25px;
  27. }
  28. > .description-header {
  29. margin: 0;
  30. padding: 0;
  31. font-weight: 600;
  32. font-size: 16px;
  33. }
  34. > .description-text {
  35. text-transform: uppercase;
  36. }
  37. }
  38. // Background colors
  39. .bg-red,
  40. .bg-yellow,
  41. .bg-aqua,
  42. .bg-blue,
  43. .bg-light-blue,
  44. .bg-green,
  45. .bg-navy,
  46. .bg-teal,
  47. .bg-olive,
  48. .bg-lime,
  49. .bg-orange ,
  50. .bg-fuchsia,
  51. .bg-purple,
  52. .bg-maroon,
  53. .bg-black,
  54. .bg-red-active,
  55. .bg-yellow-active,
  56. .bg-aqua-active,
  57. .bg-blue-active,
  58. .bg-light-blue-active,
  59. .bg-green-active,
  60. .bg-navy-active,
  61. .bg-teal-active,
  62. .bg-olive-active,
  63. .bg-lime-active,
  64. .bg-orange-active,
  65. .bg-fuchsia-active,
  66. .bg-purple-active,
  67. .bg-maroon-active,
  68. .bg-black-active {
  69. color: #fff !important;
  70. }
  71. .bg-gray {
  72. color: #000;
  73. background-color: @gray!important;
  74. }
  75. .bg-black {
  76. background-color: @black!important;
  77. }
  78. .bg-red {
  79. background-color: @red !important;
  80. }
  81. .bg-yellow {
  82. background-color: @yellow !important;
  83. }
  84. .bg-aqua {
  85. background-color: @aqua !important;
  86. }
  87. .bg-blue {
  88. background-color: @blue !important;
  89. }
  90. .bg-light-blue {
  91. background-color: @light-blue !important;
  92. }
  93. .bg-green {
  94. background-color: @green !important;
  95. }
  96. .bg-navy {
  97. background-color: @navy !important;
  98. }
  99. .bg-teal {
  100. background-color: @teal !important;
  101. }
  102. .bg-olive {
  103. background-color: @olive !important;
  104. }
  105. .bg-lime {
  106. background-color: @lime !important;
  107. }
  108. .bg-orange {
  109. background-color: @orange !important;
  110. }
  111. .bg-fuchsia {
  112. background-color: @fuchsia !important;
  113. }
  114. .bg-purple {
  115. background-color: @purple !important;
  116. }
  117. .bg-maroon {
  118. background-color: @maroon !important;
  119. }
  120. //Set of Active Background Colors
  121. .bg-gray-active {
  122. color: #000;
  123. background-color: darken(@gray,10%)!important;
  124. }
  125. .bg-black-active {
  126. background-color: darken(@black, 10%)!important;
  127. }
  128. .bg-red-active {
  129. background-color: darken(@red , 6%)!important;
  130. }
  131. .bg-yellow-active {
  132. background-color: darken(@yellow , 6%)!important;
  133. }
  134. .bg-aqua-active {
  135. background-color: darken(@aqua , 6%)!important;
  136. }
  137. .bg-blue-active {
  138. background-color: darken(@blue , 10%)!important;
  139. }
  140. .bg-light-blue-active {
  141. background-color: darken(@light-blue , 6%)!important;
  142. }
  143. .bg-green-active {
  144. background-color: darken(@green , 5%)!important;
  145. }
  146. .bg-navy-active {
  147. background-color: darken(@navy , 2%)!important;
  148. }
  149. .bg-teal-active {
  150. background-color: darken(@teal , 5%)!important;
  151. }
  152. .bg-olive-active {
  153. background-color: darken(@olive , 5%)!important;
  154. }
  155. .bg-lime-active {
  156. background-color: darken(@lime , 5%)!important;
  157. }
  158. .bg-orange-active {
  159. background-color: darken(@orange , 5%)!important;
  160. }
  161. .bg-fuchsia-active {
  162. background-color: darken(@fuchsia , 5%)!important;
  163. }
  164. .bg-purple-active {
  165. background-color: darken(@purple , 5%)!important;
  166. }
  167. .bg-maroon-active {
  168. background-color: darken(@maroon , 3%)!important;
  169. }
  170. //Disabled!
  171. [class^="bg-"].disabled {
  172. .opacity(.65);
  173. }
  174. // Text colors
  175. .text-red {
  176. color: @red !important;
  177. }
  178. .text-yellow {
  179. color: @yellow !important;
  180. }
  181. .text-aqua {
  182. color: @aqua !important;
  183. }
  184. .text-blue {
  185. color: @blue !important;
  186. }
  187. .text-black {
  188. color: @black!important;
  189. }
  190. .text-light-blue {
  191. color: @light-blue !important;
  192. }
  193. .text-green {
  194. color: @green !important;
  195. }
  196. .text-gray {
  197. color: @gray !important;
  198. }
  199. .text-navy {
  200. color: @navy !important;
  201. }
  202. .text-teal {
  203. color: @teal !important;
  204. }
  205. .text-olive {
  206. color: @olive !important;
  207. }
  208. .text-lime {
  209. color: @lime !important;
  210. }
  211. .text-orange {
  212. color: @orange !important;
  213. }
  214. .text-fuchsia {
  215. color: @fuchsia !important;
  216. }
  217. .text-purple {
  218. color: @purple !important;
  219. }
  220. .text-maroon {
  221. color: @maroon !important;
  222. }
  223. // Hide elements by display none only
  224. .hide {
  225. display: none !important;
  226. }
  227. // Remove borders
  228. .no-border {
  229. border: 0px !important;
  230. }
  231. // Remove padding
  232. .no-padding {
  233. padding: 0px !important;
  234. }
  235. // Remove margins
  236. .no-margin {
  237. margin: 0px !important;
  238. }
  239. // Remove box shadow
  240. .no-shadow {
  241. box-shadow: none!important;
  242. }
  243. // Unstyled List
  244. .list-unstyled {
  245. list-style: none;
  246. margin: 0;
  247. padding: 0;
  248. }
  249. // Remove border radius
  250. .flat {
  251. .border-radius(0)!important;
  252. }
  253. .text-bold {
  254. &, &.table td, &.table th {
  255. font-weight: 700;
  256. }
  257. }
  258. // _fix for sparkline tooltip
  259. .jqstooltip{
  260. padding: 5px!important;
  261. width:auto!important;
  262. height:auto!important;
  263. }
  264. // Gradient Background colors
  265. .bg-teal-gradient {
  266. .gradient(@teal; @teal; lighten(@teal, 16%))!important;
  267. color: #fff;
  268. }
  269. .bg-light-blue-gradient {
  270. .gradient(@light-blue; @light-blue; lighten(@light-blue, 12%))!important;
  271. color: #fff;
  272. }
  273. .bg-blue-gradient {
  274. .gradient(@blue; @blue; lighten(@blue, 7%))!important;
  275. color: #fff;
  276. }
  277. .bg-aqua-gradient {
  278. .gradient(@aqua; @aqua; lighten(@aqua, 7%))!important;
  279. color: #fff;
  280. }
  281. .bg-yellow-gradient {
  282. .gradient(@yellow; @yellow; lighten(@yellow, 16%))!important;
  283. color: #fff;
  284. }
  285. .bg-purple-gradient {
  286. .gradient(@purple; @purple; lighten(@purple, 16%))!important;
  287. color: #fff;
  288. }
  289. .bg-green-gradient {
  290. .gradient(@green; @green; lighten(@green, 7%))!important;
  291. color: #fff;
  292. }
  293. .bg-red-gradient {
  294. .gradient(@red; @red; lighten(@red, 10%))!important;
  295. color: #fff;
  296. }
  297. .bg-black-gradient {
  298. .gradient(@black; @black; lighten(@black, 10%))!important;
  299. color: #fff;
  300. }
  301. .bg-maroon-gradient {
  302. .gradient(@maroon; @maroon; lighten(@maroon, 10%))!important;
  303. color: #fff;
  304. }
  305. .connectedSortable {
  306. min-height: 100px;
  307. }
  308. .ui-helper-hidden-accessible {
  309. border: 0;
  310. clip: rect(0 0 0 0);
  311. height: 1px;
  312. margin: -1px;
  313. overflow: hidden;
  314. padding: 0;
  315. position: absolute;
  316. width: 1px;
  317. }
  318. .sort-highlight {
  319. background: #f4f4f4;
  320. border: 1px dashed #ddd;
  321. margin-bottom: 10px;
  322. }
  323. .full-opacity-hover {
  324. .opacity(.65);
  325. &:hover {
  326. .opacity(1);
  327. }
  328. }
  329. // Charts
  330. .chart {
  331. position: relative;
  332. overflow: hidden;
  333. width: 100%;
  334. svg,
  335. canvas {
  336. width: 100%!important;
  337. }
  338. }