treeview.css 13 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451
  1. @charset "UTF-8";
  2. /* #BOOTSTRAP AND MIXINS - Base Unmodified Bootstrap file with theme mixins
  3. ========================================================================== */
  4. /*---------------------------------------------------
  5. SASS ELements (based on LESS Elements 0.9 http://lesselements.com)
  6. -------------------------------- -------------------
  7. LESS ELEMENTS made by Dmitry Fadeyev (http://fadeyev.net)
  8. SASS port by Samuel Beek (http://samuelbeek.com)
  9. ---------------------------------------------------*/
  10. /*------------------------
  11. Usage
  12. h1 {
  13. font-size: rem(32);
  14. }
  15. OR:
  16. h1 {
  17. font-size: rem(32px);
  18. }
  19. ------------------------*/
  20. /*------------------------
  21. FADE IN
  22. e.g. @include fadeIn( 2s );
  23. ------------------------*/
  24. /*------------------------
  25. mixin that calculates if text needs to be light or dark
  26. depending on the background color passed.
  27. From this W3C document: http://www.webmasterworld.com/r.cgi?f=88&d=9769&url=http://www.w3.org/TR/AERT#color-contrast
  28. usage:
  29. @include text-contrast($bgcolor)
  30. Color brightness is determined by the following formula:
  31. ((Red value X 299) + (Green value X 587) + (Blue value X 114)) / 1000
  32. ------------------------*/
  33. /*------------------------
  34. color factory
  35. eg: @include paint($blue-grey-50, bg-blue-grey-50);
  36. ------------------------*/
  37. /* backface visibility */
  38. /* generate theme button */
  39. /* #BASE - Base Variable file along with font library, and colors.
  40. ========================================================================== */
  41. /* THEME COLORs
  42. ========================================================================== */
  43. /* Looks good on chrome default color profile */
  44. /* looks good in sRGB but washed up on chrome default
  45. $color-primary: #826bb0;
  46. $color-success: #31cb55;
  47. $color-info: #5e93ec;
  48. $color-warning: #eec559;
  49. $color-danger: #dc4b92;
  50. $color-fusion: darken(desaturate(adjust-hue($color-primary, 5), 80%), 25%); */
  51. /* Color Polarity
  52. ========================================================================== */
  53. /* PAINTBUCKET MIXER
  54. ========================================================================== */
  55. /* the grays */
  56. /* the sapphires */
  57. /* the emeralds */
  58. /* the amethyths */
  59. /* the topaz */
  60. /* the rubies */
  61. /* the graphites */
  62. /* Define universal border difition (div outlines, etc)
  63. ========================================================================== */
  64. /* MOBILE BREAKPOINT & GUTTERS (contains some bootstrap responsive overrides)
  65. ========================================================================== */
  66. /* define when mobile menu activates, here we are declearing (lg) so it targets the one after it */
  67. /* bootstrap reference xs: 0, sm: 544px, md: 768px, lg: 992px, xl: 1200px*/
  68. /* global var used for spacing*/
  69. /* Uniform Padding variable */
  70. /* Heads up! This is a global scoped variable - changing may impact the whole template */
  71. /* BOOTSTRAP OVERRIDES (bootstrap variables)
  72. ========================================================================== */
  73. /* usage: theme-colors("primary"); */
  74. /* forms */
  75. /*$input-height: calc(2.25rem + 1px); //I had to add this because the input gruops was having improper height for some reason... */
  76. /* links */
  77. /* checkbox */
  78. /*$custom-file-height-inner: calc(2.25rem - 1px);*/
  79. /* not part of bootstrap variable */
  80. /* custom checkbox */
  81. /* custom range */
  82. /* select */
  83. /* badge */
  84. /* cards */
  85. /*border radius*/
  86. /* alert */
  87. /* toast */
  88. /* breadcrumb */
  89. /* input button */
  90. /* nav link */
  91. /* nav, tabs, pills */
  92. /* tables */
  93. /* dropdowns */
  94. /* dropdowns sizes */
  95. /* popovers */
  96. /* tooltips */
  97. /* modal */
  98. /* reference guide
  99. http://www.standardista.com/px-to-rem-conversion-if-root-font-size-is-16px/
  100. 8px = 0.5rem
  101. 9px = 0.5625rem
  102. 10px = 0.625rem
  103. 11px = 0.6875rem
  104. 12px = 0.75rem
  105. 13px = 0.8125rem
  106. 14px = 0.875rem
  107. 15px = 0.9375rem
  108. 16px = 1rem (base)
  109. 17px = 1.0625rem
  110. 18px = 1.125rem
  111. 19px = 1.1875rem
  112. 20px = 1.25rem
  113. 21px = 1.3125rem
  114. 22px = 1.375rem
  115. 24px = 1.5rem
  116. 25px = 1.5625rem
  117. 26px = 1.625rem
  118. 28px = 1.75rem
  119. 30px = 1.875rem
  120. 32px = 2rem
  121. 34px = 2.125rem
  122. 36px = 2.25rem
  123. 38px = 2.375rem
  124. 40px = 2.5rem
  125. */
  126. /* Fonts */
  127. /* carousel */
  128. /* BASE VARS
  129. ========================================================================== */
  130. /* font vars below will auto change to rem values using function rem($value)*/
  131. /* 11px */
  132. /* 12px */
  133. /* 12.5px */
  134. /* 14px */
  135. /* 15px */
  136. /* 16px */
  137. /* 28px */
  138. /* Font Family
  139. ========================================================================== */
  140. /*hint: you can also try the font called 'Poppins' by replacing the font 'Roboto' */
  141. /* ANIMATIONS
  142. ========================================================================== */
  143. /* this addresses all animation related to nav hide to nav minify */
  144. /* Z-INDEX declearation
  145. ========================================================================== */
  146. /* we adjust bootstrap z-index to be higher than our higest z-index*/
  147. /* CUSTOM ICON PREFIX
  148. ========================================================================== */
  149. /* PRINT CSS (landscape or portrait)
  150. ========================================================================== */
  151. /* landscape or portrait */
  152. /* auto, letter */
  153. /* Common Element Variables
  154. ========================================================================== */
  155. /* Z-index decleartion "birds eye view"
  156. ========================================================================== */
  157. /* Components
  158. ========================================================================== */
  159. /* PAGE HEADER STUFF
  160. ========================================================================== */
  161. /* colors */
  162. /* height */
  163. /* logo */
  164. /* try not to go beywond the width of $main_nav_width value */
  165. /* you may need to change this depending on your logo design */
  166. /* adjust this as you see fit : left, right, center */
  167. /* icon font size (not button) */
  168. /* search input box */
  169. /* suggestion: #ccced0*/
  170. /* btn */
  171. /* dropdown: app list */
  172. /* badge */
  173. /* COMPONENTS & MODS */
  174. /* NAVIGATION STUFF
  175. Guide:
  176. aside.page-sidebar ($nav-width, $nav-background)
  177. .page-logo
  178. .primary-nav
  179. .info-card
  180. ul.nav-menu
  181. li
  182. a (parent level-0..., $nav-link-color, $nav-link-hover-color, $nav-link-hover-bg-color, $nav-link-hover-left-border-color)
  183. icon
  184. span
  185. collapse-sign
  186. ul.nav-menu-sub-one
  187. li
  188. a ($nav-level-1... $nav-sub-link-height)
  189. span
  190. collapse-sign
  191. ul.nav-menu-sub-two
  192. li
  193. a ($nav-level-2... $nav-sub-link-height)
  194. span
  195. p.nav-title ($nav-title-*...)
  196. ========================================================================== */
  197. /* main navigation */
  198. /* left panel */
  199. /* nav parent level-0 */
  200. /* nav icon sizes */
  201. /* badge default */
  202. /* all child */
  203. /* nav title */
  204. /* nav Minify */
  205. /* when the menu pops on hover */
  206. /* navigation Width */
  207. /* partial visibility of the menu */
  208. /* top navigation */
  209. /* nav Info Card (appears below the logo) */
  210. /* width is auto */
  211. /* nav DL labels for all child */
  212. /* will be pulled to left as a negative value */
  213. /* MISC Settings
  214. ========================================================================== */
  215. /* List Table */
  216. /* PAGE SETTINGS
  217. ========================================================================== */
  218. /* PAGE BREADCRUMB
  219. ========================================================================== */
  220. /* PAGE COMPONENT PANELS
  221. ========================================================================== */
  222. /* PAGE COMPONENT PROGRESSBARS
  223. ========================================================================== */
  224. /* PAGE COMPONENT MESSENGER
  225. ========================================================================== */
  226. /* FOOTER
  227. ========================================================================== */
  228. /* GLOBALS
  229. ========================================================================== */
  230. /* ACCESSIBILITIES */
  231. /* SHORTCUT BUTTON (appears on bottom right of the page) */
  232. /* GULP WARNINGS */
  233. @import url("https://fonts.googleapis.com/css?family=Roboto:300,400,500,700,900");
  234. body {
  235. font-family: "Roboto", "Helvetica Neue", Helvetica, Arial;
  236. font-size: 0.8125rem;
  237. letter-spacing: 0.1px; }
  238. .page-content {
  239. color: #666666; }
  240. h1, h2, h3, h4, h5, h6 {
  241. line-height: 1.3;
  242. font-weight: 400; }
  243. strong {
  244. font-weight: 500; }
  245. h1 small,
  246. h2 small,
  247. h3 small,
  248. h4 small,
  249. h5 small,
  250. h6 small,
  251. .h1 small,
  252. .h2 small,
  253. .h3 small,
  254. .h4 small,
  255. .h5 small,
  256. .h6 small {
  257. font-weight: 300;
  258. display: block;
  259. font-size: 0.9375rem;
  260. line-height: 1.5;
  261. margin: 2px 0 1.5rem; }
  262. h2 small,
  263. h3 small,
  264. .h2 small,
  265. .h3 small {
  266. font-size: 0.9375rem; }
  267. h4 small,
  268. .h4 small {
  269. font-size: 0.875rem; }
  270. h5 small,
  271. h6 small,
  272. .h5 small,
  273. .h6 small {
  274. font-size: 0.8125rem; }
  275. /* contrast text */
  276. .text-contrast {
  277. color: #333333; }
  278. /* text-gradient */
  279. .text-gradient {
  280. background: -webkit-gradient(linear, left top, left bottom, color-stop(25%, #6e4e9e), color-stop(50%, #62468d), color-stop(75%, #0c7cd5), to(#0960a5));
  281. background: linear-gradient(180deg, #6e4e9e 25%, #62468d 50%, #0c7cd5 75%, #0960a5 100%);
  282. color: #886ab5;
  283. background-clip: text;
  284. text-fill-color: transparent;
  285. -webkit-background-clip: text;
  286. -webkit-text-fill-color: transparent;
  287. text-shadow: none; }
  288. /* looking for font size? Check _helpers.scss */
  289. /* PLACEHOLDER
  290. =============================================
  291. EXAMPLE:
  292. %bg-image {
  293. width: 100%;
  294. background-position: center center;
  295. background-size: cover;
  296. background-repeat: no-repeat;
  297. }
  298. .image-one {
  299. @extend %bg-image;
  300. background-image:url(/img/image-one.jpg");
  301. }
  302. RESULT:
  303. .image-one, .image-two {
  304. width: 100%;
  305. background-position: center center;
  306. background-size: cover;
  307. background-repeat: no-repeat;
  308. }
  309. */
  310. /*
  311. %shadow-hover {
  312. box-shadow: 0 1px 3px rgba(0,0,0,0.12), 0 0 2px rgba(0,0,0,0.24);
  313. transition: all 0.2s ease-in-out;
  314. &:hover {
  315. box-shadow: 0 10px 20px rgba(0,0,0,0.19), 0 -1px 6px rgba(0,0,0,0.23);
  316. }
  317. }
  318. */
  319. /*%fixed-header-shadow {
  320. @include box-shadow(0 2px 2px -1px rgba(0,0,0,.1));
  321. }*/
  322. /* %selected-dot {
  323. &:before {
  324. content: " ";
  325. display: block;
  326. border-radius: 50%;
  327. background: inherit;
  328. background-image: none;
  329. border: 2px solid rgba(0,0,0,0.2);
  330. position: absolute;
  331. top: 15px;
  332. left: 15px;
  333. height: 20px;
  334. width: 20px;
  335. }
  336. &:after {
  337. content: " ";
  338. height: inherit;
  339. width: inherit;
  340. border: 5px solid rgba(0,0,0,0.1);
  341. position: absolute;
  342. left: 0;
  343. top: 0;
  344. border-radius: 50%;
  345. }
  346. }*/
  347. /* patterns */
  348. .tree li:after, .tree li:before {
  349. content: '';
  350. left: -20px;
  351. position: absolute;
  352. right: auto; }
  353. .tree li.parent_li > span:hover, .tree li.parent_li > span:hover + ul li span {
  354. background: #eee;
  355. border: 1px solid #94a0b4;
  356. color: #000; }
  357. .tree {
  358. min-height: 20px;
  359. border-radius: 4px; }
  360. .tree li {
  361. list-style-type: none;
  362. margin: 0;
  363. padding: 5px;
  364. position: relative; }
  365. .tree li:after {
  366. border-top: 1px solid #999;
  367. height: 20px;
  368. top: 18px;
  369. width: 25px; }
  370. .tree li:before {
  371. border-left: 1px solid #999;
  372. bottom: 50px;
  373. height: 100%;
  374. top: -11px;
  375. width: 1px;
  376. -webkit-transition: "border-color 0.1s ease 0.1s";
  377. transition: "border-color 0.1s ease 0.1s"; }
  378. .tree li span {
  379. border: 1px dotted #999;
  380. border-radius: 5px;
  381. display: inline-block;
  382. padding: 3px 8px;
  383. text-decoration: none;
  384. -webkit-transition: color .2s ease .1s,background-color .2s ease .1s,border-color .3s ease .2s;
  385. transition: color .2s ease .1s,background-color .2s ease .1s,border-color .3s ease .2s; }
  386. .tree li:last-child::before {
  387. height: 30px; }
  388. .tree li.parent_li > span {
  389. cursor: pointer;
  390. padding: 7px; }
  391. .tree li.parent_li > span:hover {
  392. background-color: #df8505;
  393. border: 1px solid #c67605;
  394. color: #fff; }
  395. .tree li.parent_li > span:hover + ul li::before {
  396. border-left-color: #f89406; }
  397. .tree li.parent_li > span:hover + ul li::after {
  398. border-top-color: #f89406; }
  399. .tree li.parent_li > span:hover + ul li span {
  400. background: #fddfb3 !important;
  401. border: 1px solid #faa937;
  402. color: #000; }
  403. .tree > ul {
  404. padding-left: 0; }
  405. .tree > ul > li::after {
  406. border: 0; }
  407. .tree > ul > li:before {
  408. border: 0; }
  409. .tree .fa.icon-minus-sign:before {
  410. content: "" !important; }
  411. .tree .fa.icon-plus-sign:before {
  412. content: "" !important; }
  413. .tree ul ul {
  414. padding-left: 34px;
  415. padding-top: 10px; }
  416. .tree ul ul li:hover {
  417. background: rgba(0, 0, 0, 0.015); }
  418. /*# sourceMappingURL=treeview.css.map */