portal.css 19 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760761762763764765766767768769770771772773774775776777778779780781782783784785786787788789790791792793794795796797798799800801802803804805806807808809810811812813814815816817818819820821822823824825826827828829830831832833834835836837838839840841842843844845846847848849850851852853854855856857858859860861862863864865866867868869870871872873874875876877878879880881882883884885886887888889890891892893894895896897898899900901902903904905906907908
  1. /*!
  2. * Combodo portal template v1.0.0
  3. */
  4. /*******************/
  5. /* Global settings */
  6. /*******************/
  7. @media (max-width: 768px) {
  8. body {
  9. padding-top: 60px;
  10. }
  11. body.home {
  12. padding-top: 70px;
  13. }
  14. }
  15. footer {
  16. margin: 5em 1em;
  17. }
  18. /* Navigation menu */
  19. .navbar-nav .dropdown-menu a .glyphicon, .user_infos .dropdown-menu a .glyphicon {
  20. margin-right: 15px;
  21. }
  22. .nav > li > a > span.brick_icon, .dropdown-menu > li > a > span.brick_icon {
  23. margin-right: 20px;
  24. vertical-align: sub;
  25. }
  26. /* Topbar */
  27. #topbar .navbar-header {
  28. position: relative;
  29. z-index: 2;
  30. }
  31. #topbar .navbar-collapse {
  32. position: relative;
  33. z-index: 1;
  34. overflow-y: auto;
  35. }
  36. #topbar .navbar-collapse > .navbar-nav {
  37. padding-top: 30px;
  38. }
  39. #topbar .navbar-brand > img {
  40. max-height: 100%;
  41. }
  42. #topbar .user_infos {
  43. text-decoration: none;
  44. }
  45. #topbar .user_photo {
  46. position: absolute;
  47. display: block;
  48. top: 5px;
  49. left: 10px;
  50. width: 65px;
  51. height: 65px;
  52. background-size: 100%;
  53. background-position: center center;
  54. background-color: #585653;
  55. border: 2px solid #fff;
  56. border-radius: 100%;
  57. box-shadow: 0px 2px 3px rgba(0, 0, 0, 0.4);
  58. }
  59. #topbar .user_fullname {
  60. display: inline-block;
  61. position: absolute;
  62. padding-left: 85px;
  63. max-width: 55%;
  64. /*color: $white;*/
  65. white-space: nowrap;
  66. text-overflow: ellipsis;
  67. overflow-x: hidden;
  68. }
  69. /* Sidebar */
  70. @media (min-width: 768px) {
  71. #sidebar {
  72. position: fixed;
  73. top: 0px;
  74. left: 0px;
  75. padding: 0px;
  76. /* Overriding BS */
  77. height: 100%;
  78. }
  79. #sidebar .user_card {
  80. padding: 30px 0px;
  81. text-align: center;
  82. }
  83. #sidebar .user_card .user_photo {
  84. margin: 0px auto 10px auto;
  85. width: 80px;
  86. height: 80px;
  87. background-size: 100%;
  88. background-position: center center;
  89. background-color: #585653;
  90. background-repeat: no-repeat;
  91. border: 2px solid #fff;
  92. border-radius: 100%;
  93. }
  94. #sidebar .user_card .user_infos {
  95. font-size: 1em;
  96. color: #fff;
  97. }
  98. #sidebar .user_card .user_infos .dropdown-toggle {
  99. color: #fff;
  100. }
  101. #sidebar .user_card .user_options.dropdown-menu {
  102. width: 92%;
  103. left: 4%;
  104. }
  105. #sidebar .user_card .user_fullname {
  106. font-weight: 600;
  107. }
  108. #sidebar .menu {
  109. max-height: 59%;
  110. overflow-y: auto;
  111. overflow-x: hidden;
  112. }
  113. #sidebar .menu .navbar-nav > li {
  114. width: 100%;
  115. }
  116. #sidebar .menu .navbar-nav > li > a > .brick_icon {
  117. width: 1.2em;
  118. vertical-align: sub;
  119. text-align: center;
  120. margin-right: 10px;
  121. }
  122. #sidebar .logo {
  123. position: absolute;
  124. bottom: 15px;
  125. width: 100%;
  126. text-align: center;
  127. }
  128. #sidebar .logo img {
  129. width: 40%;
  130. max-width: 100%;
  131. }
  132. }
  133. /* Warning : Not a offical BS breakpoint */
  134. @media (min-width: 1600px) {
  135. #sidebar .user_card .user_photo {
  136. width: 120px;
  137. height: 120px;
  138. }
  139. #sidebar .menu .nav > li > a > .brick_icon {
  140. margin-right: 20px;
  141. }
  142. }
  143. /* Main content */
  144. @media (min-width: 768px) {
  145. #main-wrapper {
  146. margin-top: 20px;
  147. }
  148. }
  149. /* Overlays*/
  150. .global_overlay {
  151. z-index: 9999;
  152. display: none;
  153. position: fixed;
  154. top: 0px;
  155. left: 0px;
  156. width: 100%;
  157. height: 100%;
  158. background-color: black;
  159. opacity: 0.5;
  160. }
  161. #page_overlay .overlay_content {
  162. margin-top: 20em;
  163. width: 100%;
  164. color: white;
  165. }
  166. .overlay_content {
  167. text-align: center;
  168. }
  169. .content_loader .icon {
  170. margin-bottom: 0.3em;
  171. /*width: 52px;*/
  172. height: 38px;
  173. /* 50px; */
  174. /* Hack to make loader circle perfectly */
  175. font-size: 3em;
  176. /* 4em; */
  177. animation: spin 1.2s linear infinite;
  178. -webkit-animation: spin 1.2s linear infinite;
  179. -moz-animation: spin 1.2s linear infinite;
  180. -ms-animation: spin 1.2s linear infinite;
  181. }
  182. .content_loader .message {
  183. font-size: 1.5em;
  184. /* 2em; */
  185. }
  186. .datatables_overlay {
  187. padding: 5% 0px !important;
  188. background-color: white;
  189. }
  190. /******************/
  191. /* Global classes */
  192. /******************/
  193. .vertical-center {
  194. /* Make it a flex container */
  195. display: -webkit-box;
  196. display: -moz-box;
  197. display: -ms-flexbox;
  198. display: -webkit-flex;
  199. display: flex;
  200. /* Align the bootstrap's container vertically */
  201. -webkit-box-align: center;
  202. -webkit-align-items: center;
  203. -moz-box-align: center;
  204. -ms-flex-align: center;
  205. align-items: center;
  206. -webkit-box-pack: center;
  207. /* Also 'margin: 0 auto' doesn't have any effect on flex items in such web browsers
  208. hence the bootstrap's container won't be aligned to the center anymore.
  209. Therefore, we should use the following declarations to get it centered again */
  210. -moz-box-pack: center;
  211. -ms-flex-pack: center;
  212. -webkit-justify-content: center;
  213. justify-content: center;
  214. }
  215. /*********************/
  216. /* Global animations */
  217. /*********************/
  218. /* Spin */
  219. @keyframes spin {
  220. 100% {
  221. transform: rotate(360deg);
  222. }
  223. }
  224. @-webkit-keyframes spin {
  225. 100% {
  226. -webkit-transform: rotate(360deg);
  227. }
  228. }
  229. @-moz-keyframes spin {
  230. 100% {
  231. -moz-transform: rotate(360deg);
  232. }
  233. }
  234. @-ms-keyframes spin {
  235. 100% {
  236. -ms-transform: rotate(360deg);
  237. }
  238. }
  239. /*********************/
  240. /* BS theme override */
  241. /*********************/
  242. .list-group.tree {
  243. margin-top: 11px;
  244. margin-bottom: -11px;
  245. }
  246. .list-group.tree .list-group-item {
  247. padding-right: 0px;
  248. /* To align all actions on the right without indent */
  249. }
  250. /* Custom "glyphicons" */
  251. .glyphicon-ext-hierarchy:before {
  252. content: url('../img/icons/hierarchy-white-13px.png');
  253. }
  254. /******************/
  255. /* Modal settings */
  256. /******************/
  257. .modal-content .content_loader {
  258. margin: 7em 0em;
  259. text-align: center;
  260. }
  261. /**************************/
  262. /* MagnificPopup settings */
  263. /**************************/
  264. .mfp-bg {
  265. z-index: 1200;
  266. }
  267. .mfp-wrap {
  268. z-index: 1210;
  269. }
  270. .mfp-img {
  271. cursor: pointer;
  272. cursor: zoom-out;
  273. }
  274. /********************/
  275. /* Typeahed setting */
  276. /********************/
  277. .twitter-typeahead .tt-menu {
  278. max-height: 200px;
  279. overflow-y: auto;
  280. }
  281. @media (min-width: 768px) {
  282. .twitter-typeahead .tt-menu {
  283. max-height: 300px;
  284. }
  285. }
  286. .twitter-typeahead .tt-dataset > .content_loader {
  287. margin: 10px 0px;
  288. text-align: center;
  289. font-size: 0.6em;
  290. }
  291. .twitter-typeahead .tt-dataset > .content_loader .icon {
  292. height: 25px;
  293. }
  294. .twitter-typeahead .tt-dataset .no_result {
  295. text-align: center;
  296. font-style: italic;
  297. }
  298. /*****************/
  299. /* Home settings */
  300. /*****************/
  301. .home #main-wrapper {
  302. padding-top: 15px;
  303. }
  304. .home .tile {
  305. display: block;
  306. margin-bottom: 8px;
  307. padding: 0em 1em;
  308. min-height: 4em;
  309. background-color: #fff;
  310. background-image: none;
  311. border: none;
  312. border-radius: 0px;
  313. text-align: center;
  314. text-decoration: none;
  315. white-space: normal;
  316. line-height: 4em;
  317. box-shadow: 0 1px 1px rgba(0, 0, 0, 0.15);
  318. }
  319. .home .tile .tile_decoration {
  320. position: absolute;
  321. top: 0.3em;
  322. left: 2.5em;
  323. }
  324. .home .tile .tile_title {
  325. font-weight: bold;
  326. color: #333;
  327. }
  328. .home .tile .tile_description {
  329. display: none;
  330. color: #555;
  331. }
  332. @media (min-width: 768px) {
  333. .home .tile {
  334. display: block;
  335. margin-bottom: 25px;
  336. padding: 40px 40px 30px 40px;
  337. min-height: 10em;
  338. text-align: left;
  339. transition: all 0.2s linear;
  340. }
  341. .home .tile:hover {
  342. box-shadow: 0px 5px 10px rgba(0, 0, 0, 0.10);
  343. }
  344. .home .tile .tile_decoration {
  345. display: block;
  346. position: relative;
  347. float: left;
  348. top: 1.5em;
  349. left: initial;
  350. margin: 0px 30px 15px 0px;
  351. }
  352. .home .tile .tile_body {
  353. display: block;
  354. padding-left: 4.3em;
  355. text-align: left;
  356. line-height: 1.5em;
  357. }
  358. .home .tile .tile_title {
  359. margin-bottom: 1em;
  360. font-size: 1em;
  361. }
  362. .home .tile .tile_description {
  363. display: block;
  364. text-align: left;
  365. }
  366. }
  367. @media (min-width: 992px) {
  368. .home .tile {
  369. min-height: 14em;
  370. padding: 30px 40px 30px 40px;
  371. }
  372. .home .tile .tile_decoration > span.icon {
  373. font-size: 4em;
  374. }
  375. .home .tile .tile_body {
  376. padding-left: 6.3em;
  377. }
  378. .home .tile .tile_title {
  379. font-size: 1.4em;
  380. }
  381. .home .tile .tile_description {
  382. font-size: 1.2em;
  383. }
  384. }
  385. @media (min-width: 1200px) {
  386. .home .tile {
  387. margin-bottom: 40px;
  388. min-height: 15em;
  389. padding: 40px 50px 30px 50px;
  390. }
  391. .home .tile .tile_decoration {
  392. margin: 0px 40px 15px 0px;
  393. top: 1.5em;
  394. }
  395. .home .tile .tile_decoration > span.icon {
  396. font-size: 6em;
  397. }
  398. .home .tile .tile_body {
  399. padding-left: 9.1em;
  400. }
  401. .home .tile .tile_title {
  402. font-size: 1.5em;
  403. }
  404. .home .tile .tile_description {
  405. font-size: 1.2em;
  406. }
  407. }
  408. /********************/
  409. /* Modules settings */
  410. /********************/
  411. #main-header {
  412. text-align: center;
  413. }
  414. #main-header-title {
  415. margin-bottom: 15px;
  416. }
  417. #main-header-actions {
  418. margin-bottom: 15px;
  419. }
  420. /* This is no longer necessary but we keep it just in case */
  421. /*#main-header-actions .btn-group .btn{
  422. padding: 0em 1.5em;
  423. line-height: 2.4em;
  424. font-size: 14px;
  425. background-image: none;
  426. }*/
  427. @media (min-width: 768px) {
  428. #main-header:after {
  429. clear: both;
  430. }
  431. #main-header-title {
  432. float: left;
  433. margin-bottom: 0px;
  434. min-height: 6em;
  435. text-align: left;
  436. }
  437. #main-header-actions {
  438. float: right;
  439. margin-bottom: 0px;
  440. }
  441. }
  442. .dataTables_wrapper {
  443. padding: 10px 10px;
  444. }
  445. #brick_content_toolbar {
  446. /* margin: 10px 0px 6px 0px; */
  447. padding: 10px;
  448. }
  449. #brick_content_toolbar > div label {
  450. font-weight: normal;
  451. white-space: nowrap;
  452. text-align: left;
  453. }
  454. #brick_content_toolbar > div label input {
  455. margin-left: 0.5em;
  456. display: inline-block;
  457. width: 130px;
  458. }
  459. /***********************/
  460. /* Brick communication */
  461. /***********************/
  462. /* Home tile */
  463. .home .tile.tile_communication {
  464. padding: 20px;
  465. background-color: #ededed;
  466. border: none;
  467. font-weight: initial;
  468. }
  469. .home .tile_communication .carousel {
  470. margin-bottom: 0px;
  471. width: 100%;
  472. height: 200px;
  473. }
  474. /**********************/
  475. /* Brick user profile */
  476. /**********************/
  477. #user-profile-wrapper .user_profile_picture .content_loader {
  478. position: absolute;
  479. z-index: 1;
  480. top: 0;
  481. left: 0;
  482. padding-top: 4em;
  483. width: 100%;
  484. height: 100%;
  485. text-align: center;
  486. color: white;
  487. background-color: black;
  488. opacity: 0.5;
  489. }
  490. #user-profile-wrapper .user_profile_picture .preview {
  491. display: inline-block;
  492. position: relative;
  493. max-width: 175px;
  494. max-height: 175px;
  495. overflow: hidden;
  496. }
  497. #user-profile-wrapper .user_profile_picture .preview img {
  498. max-width: 100%;
  499. max-height: 100%;
  500. }
  501. #user-profile-wrapper .user_profile_picture .actions {
  502. display: inline-block;
  503. vertical-align: top;
  504. /*middle;*/
  505. margin-left: 5px;
  506. }
  507. #user-profile-wrapper .user_profile_picture .actions .btn {
  508. display: block;
  509. position: relative;
  510. margin-bottom: 10px;
  511. }
  512. #user-profile-wrapper .user_profile_picture .actions .btn:last-child {
  513. margin-bottom: 0px;
  514. }
  515. #user-profile-wrapper .user_profile_picture .actions .btn.btn_edit {
  516. overflow: hidden;
  517. }
  518. #user-profile-wrapper .user_profile_picture .actions .btn.btn_edit input {
  519. position: absolute;
  520. top: 0px;
  521. left: 0px;
  522. width: 100%;
  523. height: 100%;
  524. opacity: 0;
  525. cursor: pointer;
  526. }
  527. /****************/
  528. /* Brick browse */
  529. /****************/
  530. /* - Tree mode */
  531. /****************/
  532. #brick_content_tree {
  533. position: relative;
  534. }
  535. .list-group-item > .list-group-item-actions {
  536. /*display: none; Displaying actions only when hovering was not unanimous in the team */
  537. position: absolute;
  538. top: 10px;
  539. right: 10px;
  540. }
  541. .list-group-item:hover > .list-group-item-actions {
  542. display: block;
  543. }
  544. .list-group-item .list-group-item-actions a:not(:first-child) {
  545. margin-left: 10px;
  546. }
  547. .list-group-item .keep-spinning {
  548. animation: spin 1s linear infinite;
  549. -webkit-animation: spin 1s linear infinite;
  550. -moz-animation: spin 1s linear infinite;
  551. -ms-animation: spin 1s linear infinite;
  552. }
  553. /* Secondary actions */
  554. table .group-actions {
  555. position: relative;
  556. }
  557. .list-group-item-actions a.glyphicon-menu-hamburger, table .group-actions a.glyphicon-menu-hamburger {
  558. cursor: pointer;
  559. text-decoration: none;
  560. }
  561. .list-group-item-actions .item-action-wrapper, table .group-actions .item-action-wrapper {
  562. display: none;
  563. position: absolute;
  564. z-index: 5;
  565. bottom: 5px;
  566. right: 0px;
  567. -webkit-box-shadow: 0px 0px 10px 0px rgba(0, 0, 0, 0.15);
  568. -moz-box-shadow: 0px 0px 10px 0px rgba(0, 0, 0, 0.15);
  569. box-shadow: 0px 0px 10px 0px rgba(0, 0, 0, 0.15);
  570. }
  571. .list-group-item-actions .item-action-wrapper .glyphicon, table .group-actions .item-action-wrapper .glyphicon {
  572. margin-right: 0.6em;
  573. }
  574. .list-group-item-actions .item-action-wrapper.collapse.in, table .group-actions .item-action-wrapper.collapse.in {
  575. display: block;
  576. }
  577. .list-group-item-actions .item-action-wrapper .panel-body > p, table .group-actions .item-action-wrapper .panel-body > p {
  578. white-space: nowrap;
  579. }
  580. .list-group-item-actions .item-action-wrapper .panel-body > p:last-child, table .group-actions .item-action-wrapper .panel-body > p:last-child {
  581. margin-bottom: 0px;
  582. }
  583. #brick_content_empty {
  584. display: none;
  585. padding: 40px;
  586. font-size: 1.3em;
  587. font-style: italic;
  588. }
  589. /* Loader */
  590. #brick_tree_overlay {
  591. display: none;
  592. padding: 8% 0px;
  593. border-radius: 0px 0px 4px 4px;
  594. font-size: 1em;
  595. }
  596. /****************/
  597. /* - List mode */
  598. /****************/
  599. /*********/
  600. /* Forms */
  601. /*********/
  602. .form_field .form_mandatory .control-label:after {
  603. content: "\002a";
  604. position: relative;
  605. left: 3px;
  606. color: #ea7d1e;
  607. font-size: 0.9em;
  608. }
  609. /* InlineImage */
  610. .inline-image {
  611. cursor: pointer;
  612. cursor: zoom-in;
  613. }
  614. /* CaseLog field */
  615. .caselog_field_entry {
  616. border: 1px solid #ddd;
  617. border-top: none;
  618. }
  619. .caselog_field_entry_header {
  620. padding: 6px;
  621. font-size: 1em;
  622. border-bottom: 1px solid #fff;
  623. background-color: #f2f2f2;
  624. }
  625. .caselog_field_entry_button {
  626. display: block;
  627. width: 15px;
  628. height: 15px;
  629. text-align: center;
  630. line-height: 15px;
  631. font-size: 16px;
  632. border: 1px solid #a6a6a6;
  633. border-bottom-color: #979797;
  634. cursor: pointer;
  635. }
  636. .caselog_field_entry_button:hover {
  637. background-color: #ccc;
  638. }
  639. .caselog_field_entry_button:before {
  640. content: "▴";
  641. }
  642. .caselog_field_entry_button.collapsed:before {
  643. content: "▾";
  644. }
  645. .caselog_field_entry_content {
  646. margin: 10px;
  647. overflow-x: auto;
  648. }
  649. /* LinkedSet*/
  650. .form_linkedset_toggler, .form_linkedset_toggler:hover, .form_linkedset_toggler:focus {
  651. margin-left: 0.4em;
  652. text-decoration: none;
  653. color: inherit;
  654. }
  655. .form_linkedset_toggler > .text:before {
  656. content: "(";
  657. }
  658. .form_linkedset_toggler > .text:after {
  659. content: ")";
  660. }
  661. .form_linkedset_toggler > .glyphicon {
  662. margin-left: 0.5em;
  663. font-size: 0.85em;
  664. color: #ea7d1e;
  665. transition: transform 0.2s linear;
  666. }
  667. .form_linkedset_toggler > .glyphicon.collapsed {
  668. transform: rotateZ(-90deg);
  669. }
  670. /* - DataTables : Loader */
  671. .form_linkedset_wrapper .datatables_overlay {
  672. padding: 8px !important;
  673. }
  674. .form_linkedset_wrapper .overlay_content {
  675. font-size: 0.6em;
  676. }
  677. .form_linkedset_wrapper .content_loader {
  678. margin: 0px;
  679. }
  680. .form_linkedset_wrapper .content_loader .icon {
  681. height: 23px;
  682. }
  683. /* - DataTables : Fit the table in the form */
  684. .form_linkedset_wrapper .dataTables_wrapper {
  685. margin-bottom: 5px;
  686. padding: 0px;
  687. }
  688. /* FileUpload */
  689. .fileupload_field_content {
  690. padding: 8px 23px;
  691. border: 1px solid #ddd;
  692. background-color: #f9f9f9;
  693. }
  694. .fileupload_field_content > div {
  695. margin-bottom: 15px;
  696. }
  697. .attachments_container .attachment {
  698. height: 95px;
  699. overflow-x: hidden;
  700. text-align: center;
  701. }
  702. .attachments_container .attachment:hover {
  703. background-color: #e0e0e0;
  704. }
  705. .attachments_container .attachment .attachment_name {
  706. overflow-x: hidden;
  707. text-overflow: ellipsis;
  708. white-space: nowrap;
  709. }
  710. .attachments_container .attachment .btn {
  711. margin-top: 3px;
  712. }
  713. .upload_container input {
  714. display: inline;
  715. }
  716. .upload_container .loader {
  717. visibility: hidden;
  718. margin-left: 7px;
  719. font-size: 1.2em;
  720. animation: spin 1s linear infinite;
  721. -webkit-animation: spin 1s linear infinite;
  722. -moz-animation: spin 1s linear infinite;
  723. -ms-animation: spin 1s linear infinite;
  724. }
  725. #drag_overlay {
  726. display: block;
  727. top: inherit;
  728. bottom: 0px;
  729. height: 0px;
  730. }
  731. #drag_overlay .overlay_content {
  732. margin-top: 5em;
  733. width: 100%;
  734. color: white;
  735. }
  736. #drag_overlay .overlay_content .icon {
  737. font-size: 3em;
  738. }
  739. #drag_overlay .overlay_content .message {
  740. font-size: 1.5em;
  741. }
  742. /* Attachments drag & drop zone, only for none mobile devices */
  743. @media (min-width: 768px) {
  744. #drag_overlay.drag_in {
  745. animation: show-drop-zone 0.3s ease-out forwards;
  746. -webkit-animation: show-drop-zone 0.3s ease-out forwards;
  747. -moz-animation: show-drop-zone 0.3s ease-out forwards;
  748. -ms-animation: show-drop-zone 0.3s ease-out forwards;
  749. }
  750. #drag_overlay.drag_out {
  751. animation: hide-drop-zone 0.3s ease-out forwards;
  752. -webkit-animation: hide-drop-zone 0.3s ease-out forwards;
  753. -moz-animation: hide-drop-zone 0.3s ease-out forwards;
  754. -ms-animation: hide-drop-zone 0.3s ease-out forwards;
  755. }
  756. @keyframes show-drop-zone {
  757. 100% {
  758. height: 20%;
  759. }
  760. }
  761. @-webkit-keyframes show-drop-zone {
  762. 100% {
  763. height: 20%;
  764. }
  765. }
  766. @-moz-keyframes show-drop-zone {
  767. 100% {
  768. height: 20%;
  769. }
  770. }
  771. @-ms-keyframes show-drop-zone {
  772. 100% {
  773. height: 20%;
  774. }
  775. }
  776. @keyframes hide-drop-zone {
  777. 0% {
  778. height: 20%;
  779. }
  780. 100% {
  781. height: 0%;
  782. }
  783. }
  784. @-webkit-keyframes hide-drop-zone {
  785. 0% {
  786. height: 20%;
  787. }
  788. 100% {
  789. height: 0%;
  790. }
  791. }
  792. @-moz-keyframes hide-drop-zone {
  793. 0% {
  794. height: 20%;
  795. }
  796. 100% {
  797. height: 0%;
  798. }
  799. }
  800. @-ms-keyframes hide-drop-zone {
  801. 0% {
  802. height: 20%;
  803. }
  804. 100% {
  805. height: 0%;
  806. }
  807. }
  808. }
  809. .form_field .form-control-static img {
  810. max-width: 100% !important;
  811. height: initial !important;
  812. }
  813. .form_buttons {
  814. padding-top: 20px;
  815. text-align: center;
  816. }
  817. .form_buttons .form_btn_transitions {
  818. margin-bottom: 20px;
  819. }
  820. .form_buttons .btn .glyphicon {
  821. margin-right: 0.5em;
  822. }
  823. .form_btn_regular.sticky {
  824. display: none;
  825. }
  826. @media (min-width: 768px) {
  827. /* Making regular button sticky */
  828. .form_buttons .form_btn_transitions {
  829. float: right !important;
  830. margin-left: 3px;
  831. }
  832. .form_buttons .form_btn_regular {
  833. text-align: right;
  834. }
  835. .form_buttons .form_btn_regular btn {
  836. width: inherit;
  837. }
  838. .form_btn_regular.sticky {
  839. display: block;
  840. position: fixed;
  841. bottom: 5em;
  842. right: -2px;
  843. /* TODO : SASS this to col-xs-12 padding */
  844. padding: 15px;
  845. background-color: #fff;
  846. border: 1px solid #ddd;
  847. border-radius: 0px;
  848. transition: right 0.3s;
  849. }
  850. .form_btn_regular.sticky.closed {
  851. right: -75px;
  852. }
  853. .form_btn_regular.sticky button {
  854. display: block;
  855. }
  856. .form_btn_regular.sticky button:first-child {
  857. margin-bottom: 4px;
  858. }
  859. }
  860. /* CKEditor : Adding BS error feedback */
  861. .form_field div.cke {
  862. border: 1px solid #ddd;
  863. }
  864. .form_field.has-error div.cke {
  865. border: 1px solid #b94a48;
  866. border-radius: 0px;
  867. box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.075);
  868. }
  869. /* CKEditor : Styling notifications based on BS alerts */
  870. .cke_notification {
  871. position: relative;
  872. padding: 15px;
  873. margin-bottom: 18px;
  874. border: 1px solid transparent;
  875. border-radius: 4px;
  876. background-color: #fff;
  877. }
  878. .cke_notification_close {
  879. position: absolute;
  880. top: 2px;
  881. right: 5px;
  882. }
  883. .cke_notification_message {
  884. margin-bottom: 0px;
  885. line-height: 1em;
  886. font-size: 1em;
  887. }
  888. .cke_notification_success {
  889. display: none;
  890. background-color: #dff0d8;
  891. border-color: #d6e9c6;
  892. color: #468847;
  893. }
  894. .cke_notification_warning {
  895. background-color: #fcf8e3;
  896. border-color: #fbeed5;
  897. color: #c09853;
  898. }
  899. /* CKEditor : Misc */
  900. .cke_toolbox_collapser, .cke_toolbox_collapser .cke_arrow {
  901. cursor: pointer !important;
  902. }
  903. /* DataTables : Selection inputs */
  904. .dataTable.table th span.row_input, .dataTable.table td span.row_input {
  905. display: inline-block;
  906. width: 100%;
  907. text-align: center;
  908. }