nestable.css 15 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584
  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. .dd-item, .dd-empty, .dd-placeholder {
  349. display: block;
  350. position: relative;
  351. margin: 0;
  352. padding: 0;
  353. min-height: 20px;
  354. font-size: 13px;
  355. line-height: 20px; }
  356. .dd-empty, .dd-placeholder {
  357. margin: 5px 0;
  358. padding: 0;
  359. min-height: 30px;
  360. background: #f2fbff;
  361. border: 1px dashed #b6bcbf;
  362. -webkit-box-sizing: border-box;
  363. box-sizing: border-box; }
  364. #nestable-output, #nestable2-output {
  365. width: 100%;
  366. height: 7em;
  367. font-size: 0.75em;
  368. line-height: 1.333333em;
  369. font-family: Consolas, monospace;
  370. padding: 5px;
  371. -webkit-box-sizing: border-box;
  372. box-sizing: border-box; }
  373. .dd {
  374. position: relative;
  375. display: block;
  376. margin: 0;
  377. padding: 0;
  378. max-width: 600px;
  379. list-style: none;
  380. font-size: 13px;
  381. line-height: 20px; }
  382. .dd-list {
  383. display: block;
  384. position: relative;
  385. margin: 0;
  386. padding: 0;
  387. list-style: none; }
  388. .dd-list .dd-list {
  389. padding-left: 30px; }
  390. .dd-item > button {
  391. display: block;
  392. position: relative;
  393. cursor: pointer;
  394. float: left;
  395. width: 25px;
  396. height: 20px;
  397. margin: 5px 0;
  398. padding: 0;
  399. text-indent: 100%;
  400. white-space: nowrap;
  401. overflow: hidden;
  402. border: 0;
  403. background: transparent;
  404. font-size: 12px;
  405. line-height: 1;
  406. text-align: center;
  407. font-weight: bold; }
  408. .dd-item > button:before {
  409. content: ' +';
  410. display: block;
  411. position: absolute;
  412. width: 100%;
  413. text-align: center;
  414. text-indent: 0; }
  415. .dd-item > button[data-action="collapse"]:before {
  416. content: '-'; }
  417. .dd-empty {
  418. border: 1px dashed #bbb;
  419. min-height: 100px;
  420. background-color: #e5e5e5;
  421. background-image: linear-gradient(45deg, #fff 25%, transparent 25%, transparent 75%, #fff 75%, #fff), linear-gradient(45deg, #fff 25%, transparent 25%, transparent 75%, #fff 75%, #fff);
  422. background-size: 60px 60px;
  423. background-position: 0 0, 30px 30px; }
  424. .dd-handle {
  425. display: block;
  426. height: 30px;
  427. margin: 5px 0;
  428. padding: 5px 10px;
  429. color: #333;
  430. text-decoration: none;
  431. font-weight: bold;
  432. border: 1px solid #ccc;
  433. background: #fafafa;
  434. background: -webkit-gradient(linear, left top, left bottom, color-stop(0, #fafafa), to(#eee));
  435. background: linear-gradient(to bottom, #fafafa 0, #eee 100%);
  436. border-radius: 3px;
  437. -webkit-box-sizing: border-box;
  438. box-sizing: border-box; }
  439. .dd-handle:hover {
  440. color: #2ea8e5;
  441. background: #fff; }
  442. .dd-dragel {
  443. position: absolute;
  444. pointer-events: none;
  445. z-index: 9999; }
  446. .dd-dragel > .dd-item .dd-handle {
  447. margin-top: 0; }
  448. .dd-dragel > .dd3-item > .dd3-content {
  449. margin: 0; }
  450. .dd-dragel .dd-handle {
  451. -webkit-box-shadow: 2px 4px 6px 0 rgba(0, 0, 0, 0.1);
  452. box-shadow: 2px 4px 6px 0 rgba(0, 0, 0, 0.1); }
  453. .nestable-lists {
  454. display: block;
  455. clear: both;
  456. padding: 30px 0;
  457. width: 100%;
  458. border: 0;
  459. border-top: 2px solid #ddd;
  460. border-bottom: 2px solid #ddd; }
  461. #nestable-menu {
  462. padding: 0;
  463. margin: 20px 0; }
  464. #nestable2 .dd-handle {
  465. color: #fff;
  466. border: 1px solid #999;
  467. background: #bbb;
  468. background: -webkit-gradient(linear, left top, left bottom, color-stop(0, #bbb), to(#999));
  469. background: linear-gradient(to bottom, #bbb 0, #999 100%); }
  470. #nestable2 .dd-handle:hover {
  471. background: #bbb; }
  472. #nestable2 .dd-item > button:before {
  473. color: #fff; }
  474. @media only screen and (min-width: 700px) {
  475. .dd {
  476. float: left;
  477. width: 48%; }
  478. .dd + .dd {
  479. margin-left: 2%; } }
  480. .dd3-content {
  481. display: block;
  482. height: 30px;
  483. margin: 5px 0;
  484. padding: 5px 10px 5px 40px;
  485. color: #333;
  486. text-decoration: none;
  487. font-weight: bold;
  488. border: 1px solid #ccc;
  489. background: #fafafa;
  490. background: -webkit-gradient(linear, left top, left bottom, color-stop(0, #fafafa), to(#eee));
  491. background: linear-gradient(to bottom, #fafafa 0, #eee 100%);
  492. border-radius: 3px;
  493. -webkit-box-sizing: border-box;
  494. box-sizing: border-box; }
  495. .dd3-content:hover {
  496. color: #2ea8e5;
  497. background: #fff; }
  498. .dd3-handle {
  499. position: absolute;
  500. margin: 0;
  501. left: 0;
  502. top: 0;
  503. cursor: pointer;
  504. width: 30px;
  505. text-indent: 100%;
  506. white-space: nowrap;
  507. overflow: hidden;
  508. border: 1px solid #aaa;
  509. background: #ddd;
  510. background: -webkit-gradient(linear, left top, left bottom, color-stop(0, #ddd), to(#bbb));
  511. background: linear-gradient(to bottom, #ddd 0, #bbb 100%);
  512. border-top-right-radius: 0;
  513. border-bottom-right-radius: 0; }
  514. .dd3-handle:before {
  515. content: '≡';
  516. display: block;
  517. position: absolute;
  518. left: 0;
  519. top: 3px;
  520. width: 100%;
  521. text-align: center;
  522. text-indent: 0;
  523. color: #fff;
  524. font-size: 20px;
  525. font-weight: normal; }
  526. .dd3-handle:hover {
  527. background: #ddd; }
  528. .dd-collapsed .dd-list {
  529. display: none; }
  530. .dd-hover > .dd-handle {
  531. background: #2ea8e5 !important; }
  532. .dd3-item > button {
  533. margin-left: 30px; }
  534. /*# sourceMappingURL=nestable.css.map */