portal.css 19 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760761762763764765766767768769770771772773774775776777778779780781782783784785786787788789790791792793794795796797798799800801802803804805806807808809810811812813814815816817818819820821822823824825826827828829830831832833834835836837838839840841842843844845846847848849850851852853854855856857858859860861862863864865866867868869870871872873874875876877878879880881882883884885886887888889890891892893
  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. /********************/
  271. /* Typeahed setting */
  272. /********************/
  273. .twitter-typeahead .tt-menu {
  274. max-height: 200px;
  275. overflow-y: auto;
  276. }
  277. @media (min-width: 768px) {
  278. .twitter-typeahead .tt-menu {
  279. max-height: 300px;
  280. }
  281. }
  282. .twitter-typeahead .tt-dataset > .content_loader {
  283. margin: 10px 0px;
  284. text-align: center;
  285. font-size: 0.6em;
  286. }
  287. .twitter-typeahead .tt-dataset > .content_loader .icon {
  288. height: 25px;
  289. }
  290. .twitter-typeahead .tt-dataset .no_result {
  291. text-align: center;
  292. font-style: italic;
  293. }
  294. /*****************/
  295. /* Home settings */
  296. /*****************/
  297. .home #main-wrapper {
  298. padding-top: 15px;
  299. }
  300. .home .tile {
  301. display: block;
  302. margin-bottom: 8px;
  303. padding: 0em 1em;
  304. min-height: 4em;
  305. background-color: #fff;
  306. background-image: none;
  307. border: none;
  308. border-radius: 0px;
  309. text-align: center;
  310. text-decoration: none;
  311. white-space: normal;
  312. line-height: 4em;
  313. box-shadow: 0 1px 1px rgba(0, 0, 0, 0.15);
  314. }
  315. .home .tile .tile_decoration {
  316. position: absolute;
  317. top: 0.3em;
  318. left: 2.5em;
  319. }
  320. .home .tile .tile_title {
  321. font-weight: bold;
  322. color: #333;
  323. }
  324. .home .tile .tile_description {
  325. display: none;
  326. color: #555;
  327. }
  328. @media (min-width: 768px) {
  329. .home .tile {
  330. display: block;
  331. margin-bottom: 25px;
  332. padding: 40px 40px 30px 40px;
  333. min-height: 10em;
  334. text-align: left;
  335. transition: all 0.2s linear;
  336. }
  337. .home .tile:hover {
  338. box-shadow: 0px 5px 10px rgba(0, 0, 0, 0.10);
  339. }
  340. .home .tile .tile_decoration {
  341. display: block;
  342. position: relative;
  343. float: left;
  344. top: 1.5em;
  345. left: initial;
  346. margin: 0px 30px 15px 0px;
  347. }
  348. .home .tile .tile_body {
  349. display: block;
  350. padding-left: 4.3em;
  351. text-align: left;
  352. line-height: 1.5em;
  353. }
  354. .home .tile .tile_title {
  355. margin-bottom: 1em;
  356. font-size: 1em;
  357. }
  358. .home .tile .tile_description {
  359. display: block;
  360. text-align: left;
  361. }
  362. }
  363. @media (min-width: 992px) {
  364. .home .tile {
  365. min-height: 14em;
  366. padding: 30px 40px 30px 40px;
  367. }
  368. .home .tile .tile_decoration > span.icon {
  369. font-size: 4em;
  370. }
  371. .home .tile .tile_body {
  372. padding-left: 6.3em;
  373. }
  374. .home .tile .tile_title {
  375. font-size: 1.4em;
  376. }
  377. .home .tile .tile_description {
  378. font-size: 1.2em;
  379. }
  380. }
  381. @media (min-width: 1200px) {
  382. .home .tile {
  383. margin-bottom: 40px;
  384. min-height: 15em;
  385. padding: 40px 50px 30px 50px;
  386. }
  387. .home .tile .tile_decoration {
  388. margin: 0px 40px 15px 0px;
  389. top: 1.5em;
  390. }
  391. .home .tile .tile_decoration > span.icon {
  392. font-size: 6em;
  393. }
  394. .home .tile .tile_body {
  395. padding-left: 9.1em;
  396. }
  397. .home .tile .tile_title {
  398. font-size: 1.5em;
  399. }
  400. .home .tile .tile_description {
  401. font-size: 1.2em;
  402. }
  403. }
  404. /********************/
  405. /* Modules settings */
  406. /********************/
  407. #main-header {
  408. text-align: center;
  409. }
  410. #main-header-title {
  411. margin-bottom: 15px;
  412. }
  413. #main-header-actions {
  414. margin-bottom: 15px;
  415. }
  416. /* This is no longer necessary but we keep it just in case */
  417. /*#main-header-actions .btn-group .btn{
  418. padding: 0em 1.5em;
  419. line-height: 2.4em;
  420. font-size: 14px;
  421. background-image: none;
  422. }*/
  423. @media (min-width: 768px) {
  424. #main-header:after {
  425. clear: both;
  426. }
  427. #main-header-title {
  428. float: left;
  429. margin-bottom: 0px;
  430. min-height: 6em;
  431. text-align: left;
  432. }
  433. #main-header-actions {
  434. float: right;
  435. margin-bottom: 0px;
  436. }
  437. }
  438. .dataTables_wrapper {
  439. padding: 10px 10px;
  440. }
  441. #brick_content_toolbar {
  442. /* margin: 10px 0px 6px 0px; */
  443. padding: 10px;
  444. }
  445. #brick_content_toolbar > div label {
  446. font-weight: normal;
  447. white-space: nowrap;
  448. text-align: left;
  449. }
  450. #brick_content_toolbar > div label input {
  451. margin-left: 0.5em;
  452. display: inline-block;
  453. width: 130px;
  454. }
  455. /***********************/
  456. /* Brick communication */
  457. /***********************/
  458. /* Home tile */
  459. .home .tile.tile_communication {
  460. padding: 20px;
  461. background-color: #ededed;
  462. border: none;
  463. font-weight: initial;
  464. }
  465. .home .tile_communication .carousel {
  466. margin-bottom: 0px;
  467. width: 100%;
  468. height: 200px;
  469. }
  470. /**********************/
  471. /* Brick user profile */
  472. /**********************/
  473. #user-profile-wrapper .user_profile_picture .content_loader {
  474. position: absolute;
  475. z-index: 1;
  476. top: 0;
  477. left: 0;
  478. padding-top: 4em;
  479. width: 100%;
  480. height: 100%;
  481. text-align: center;
  482. color: white;
  483. background-color: black;
  484. opacity: 0.5;
  485. }
  486. #user-profile-wrapper .user_profile_picture .preview {
  487. display: inline-block;
  488. position: relative;
  489. max-width: 175px;
  490. max-height: 175px;
  491. overflow: hidden;
  492. }
  493. #user-profile-wrapper .user_profile_picture .preview img {
  494. max-width: 100%;
  495. max-height: 100%;
  496. }
  497. #user-profile-wrapper .user_profile_picture .actions {
  498. display: inline-block;
  499. vertical-align: top;
  500. /*middle;*/
  501. margin-left: 5px;
  502. }
  503. #user-profile-wrapper .user_profile_picture .actions .btn {
  504. display: block;
  505. position: relative;
  506. margin-bottom: 10px;
  507. }
  508. #user-profile-wrapper .user_profile_picture .actions .btn:last-child {
  509. margin-bottom: 0px;
  510. }
  511. #user-profile-wrapper .user_profile_picture .actions .btn.btn_edit {
  512. overflow: hidden;
  513. }
  514. #user-profile-wrapper .user_profile_picture .actions .btn.btn_edit input {
  515. position: absolute;
  516. top: 0px;
  517. left: 0px;
  518. width: 100%;
  519. height: 100%;
  520. opacity: 0;
  521. cursor: pointer;
  522. }
  523. /****************/
  524. /* Brick browse */
  525. /****************/
  526. /* - Tree mode */
  527. /****************/
  528. #brick_content_tree {
  529. position: relative;
  530. }
  531. .list-group-item > .list-group-item-actions {
  532. /*display: none; Displaying actions only when hovering was not unanimous in the team */
  533. position: absolute;
  534. top: 10px;
  535. right: 10px;
  536. }
  537. .list-group-item:hover > .list-group-item-actions {
  538. display: block;
  539. }
  540. .list-group-item .list-group-item-actions a:not(:first-child) {
  541. margin-left: 10px;
  542. }
  543. .list-group-item .keep-spinning {
  544. animation: spin 1s linear infinite;
  545. -webkit-animation: spin 1s linear infinite;
  546. -moz-animation: spin 1s linear infinite;
  547. -ms-animation: spin 1s linear infinite;
  548. }
  549. /* Secondary actions */
  550. table .group-actions {
  551. position: relative;
  552. }
  553. .list-group-item-actions a.glyphicon-menu-hamburger, table .group-actions a.glyphicon-menu-hamburger {
  554. cursor: pointer;
  555. text-decoration: none;
  556. }
  557. .list-group-item-actions .item-action-wrapper, table .group-actions .item-action-wrapper {
  558. display: none;
  559. position: absolute;
  560. z-index: 5;
  561. bottom: 5px;
  562. right: 0px;
  563. -webkit-box-shadow: 0px 0px 10px 0px rgba(0, 0, 0, 0.15);
  564. -moz-box-shadow: 0px 0px 10px 0px rgba(0, 0, 0, 0.15);
  565. box-shadow: 0px 0px 10px 0px rgba(0, 0, 0, 0.15);
  566. }
  567. .list-group-item-actions .item-action-wrapper .glyphicon, table .group-actions .item-action-wrapper .glyphicon {
  568. margin-right: 0.6em;
  569. }
  570. .list-group-item-actions .item-action-wrapper.collapse.in, table .group-actions .item-action-wrapper.collapse.in {
  571. display: block;
  572. }
  573. .list-group-item-actions .item-action-wrapper .panel-body > p, table .group-actions .item-action-wrapper .panel-body > p {
  574. white-space: nowrap;
  575. }
  576. .list-group-item-actions .item-action-wrapper .panel-body > p:last-child, table .group-actions .item-action-wrapper .panel-body > p:last-child {
  577. margin-bottom: 0px;
  578. }
  579. #brick_content_empty {
  580. display: none;
  581. padding: 40px;
  582. font-size: 1.3em;
  583. font-style: italic;
  584. }
  585. /* Loader */
  586. #brick_tree_overlay {
  587. display: none;
  588. padding: 8% 0px;
  589. border-radius: 0px 0px 4px 4px;
  590. font-size: 1em;
  591. }
  592. /****************/
  593. /* - List mode */
  594. /****************/
  595. /*********/
  596. /* Forms */
  597. /*********/
  598. .form_field .form_mandatory .control-label:after {
  599. content: "\002a";
  600. position: relative;
  601. left: 3px;
  602. color: #ea7d1e;
  603. font-size: 0.9em;
  604. }
  605. /* CaseLog field */
  606. .caselog_field_entry {
  607. border: 1px solid #ddd;
  608. border-top: none;
  609. }
  610. .caselog_field_entry_header {
  611. padding: 6px;
  612. font-size: 1em;
  613. border-bottom: 1px solid #fff;
  614. background-color: #f2f2f2;
  615. }
  616. .caselog_field_entry_button {
  617. display: block;
  618. width: 15px;
  619. height: 15px;
  620. text-align: center;
  621. line-height: 15px;
  622. font-size: 16px;
  623. border: 1px solid #a6a6a6;
  624. border-bottom-color: #979797;
  625. }
  626. .caselog_field_entry_button:hover {
  627. background-color: #ccc;
  628. }
  629. .caselog_field_entry_button:before {
  630. content: "▴";
  631. }
  632. .caselog_field_entry_button.collapsed:before {
  633. content: "▾";
  634. }
  635. .caselog_field_entry_content {
  636. margin: 10px;
  637. overflow-x: auto;
  638. }
  639. /* LinkedSet*/
  640. .form_linkedset_toggler, .form_linkedset_toggler:hover, .form_linkedset_toggler:focus {
  641. margin-left: 0.4em;
  642. text-decoration: none;
  643. color: inherit;
  644. }
  645. .form_linkedset_toggler > .text:before {
  646. content: "(";
  647. }
  648. .form_linkedset_toggler > .text:after {
  649. content: ")";
  650. }
  651. .form_linkedset_toggler > .glyphicon {
  652. margin-left: 0.5em;
  653. font-size: 0.85em;
  654. color: #ea7d1e;
  655. transition: transform 0.2s linear;
  656. }
  657. .form_linkedset_toggler > .glyphicon.collapsed {
  658. transform: rotateZ(-90deg);
  659. }
  660. /* - DataTables : Loader */
  661. .form_linkedset_wrapper .datatables_overlay {
  662. padding: 8px !important;
  663. }
  664. .form_linkedset_wrapper .overlay_content {
  665. font-size: 0.6em;
  666. }
  667. .form_linkedset_wrapper .content_loader {
  668. margin: 0px;
  669. }
  670. .form_linkedset_wrapper .content_loader .icon {
  671. height: 23px;
  672. }
  673. /* - DataTables : Fit the table in the form */
  674. .form_linkedset_wrapper .dataTables_wrapper {
  675. margin-bottom: 5px;
  676. padding: 0px;
  677. }
  678. /* FileUpload */
  679. .fileupload_field_content {
  680. padding: 8px 23px;
  681. border: 1px solid #ddd;
  682. background-color: #f9f9f9;
  683. }
  684. .fileupload_field_content > div {
  685. margin-bottom: 15px;
  686. }
  687. .attachments_container .attachment {
  688. height: 95px;
  689. overflow-x: hidden;
  690. text-align: center;
  691. }
  692. .attachments_container .attachment:hover {
  693. background-color: #e0e0e0;
  694. }
  695. .attachments_container .attachment .attachment_name {
  696. overflow-x: hidden;
  697. text-overflow: ellipsis;
  698. white-space: nowrap;
  699. }
  700. .attachments_container .attachment .btn {
  701. margin-top: 3px;
  702. }
  703. .upload_container input {
  704. display: inline;
  705. }
  706. .upload_container .loader {
  707. visibility: hidden;
  708. margin-left: 7px;
  709. font-size: 1.2em;
  710. animation: spin 1s linear infinite;
  711. -webkit-animation: spin 1s linear infinite;
  712. -moz-animation: spin 1s linear infinite;
  713. -ms-animation: spin 1s linear infinite;
  714. }
  715. #drag_overlay {
  716. display: block;
  717. top: inherit;
  718. bottom: 0px;
  719. height: 0px;
  720. }
  721. #drag_overlay .overlay_content {
  722. margin-top: 5em;
  723. width: 100%;
  724. color: white;
  725. }
  726. #drag_overlay .overlay_content .icon {
  727. font-size: 3em;
  728. }
  729. #drag_overlay .overlay_content .message {
  730. font-size: 1.5em;
  731. }
  732. /* Attachments drag & drop zone, only for none mobile devices */
  733. @media (min-width: 768px) {
  734. #drag_overlay.drag_in {
  735. animation: show-drop-zone 0.3s ease-out forwards;
  736. -webkit-animation: show-drop-zone 0.3s ease-out forwards;
  737. -moz-animation: show-drop-zone 0.3s ease-out forwards;
  738. -ms-animation: show-drop-zone 0.3s ease-out forwards;
  739. }
  740. #drag_overlay.drag_out {
  741. animation: hide-drop-zone 0.3s ease-out forwards;
  742. -webkit-animation: hide-drop-zone 0.3s ease-out forwards;
  743. -moz-animation: hide-drop-zone 0.3s ease-out forwards;
  744. -ms-animation: hide-drop-zone 0.3s ease-out forwards;
  745. }
  746. @keyframes show-drop-zone {
  747. 100% {
  748. height: 20%;
  749. }
  750. }
  751. @-webkit-keyframes show-drop-zone {
  752. 100% {
  753. height: 20%;
  754. }
  755. }
  756. @-moz-keyframes show-drop-zone {
  757. 100% {
  758. height: 20%;
  759. }
  760. }
  761. @-ms-keyframes show-drop-zone {
  762. 100% {
  763. height: 20%;
  764. }
  765. }
  766. @keyframes hide-drop-zone {
  767. 0% {
  768. height: 20%;
  769. }
  770. 100% {
  771. height: 0%;
  772. }
  773. }
  774. @-webkit-keyframes hide-drop-zone {
  775. 0% {
  776. height: 20%;
  777. }
  778. 100% {
  779. height: 0%;
  780. }
  781. }
  782. @-moz-keyframes hide-drop-zone {
  783. 0% {
  784. height: 20%;
  785. }
  786. 100% {
  787. height: 0%;
  788. }
  789. }
  790. @-ms-keyframes hide-drop-zone {
  791. 0% {
  792. height: 20%;
  793. }
  794. 100% {
  795. height: 0%;
  796. }
  797. }
  798. }
  799. .form_field .form-control-static img {
  800. max-width: 100% !important;
  801. height: initial !important;
  802. }
  803. .form_buttons {
  804. padding-top: 20px;
  805. text-align: center;
  806. }
  807. .form_buttons .form_btn_transitions {
  808. margin-bottom: 20px;
  809. }
  810. .form_buttons .btn .glyphicon {
  811. margin-right: 0.5em;
  812. }
  813. .form_btn_regular.sticky {
  814. display: none;
  815. }
  816. @media (min-width: 768px) {
  817. /* Making regular button sticky */
  818. .form_buttons .form_btn_transitions {
  819. float: left !important;
  820. }
  821. .form_buttons .form_btn_regular {
  822. text-align: right;
  823. }
  824. .form_buttons .form_btn_regular btn {
  825. width: inherit;
  826. }
  827. .form_btn_regular.sticky {
  828. display: block;
  829. position: fixed;
  830. bottom: 5em;
  831. right: -2px;
  832. /* TODO : SASS this to col-xs-12 padding */
  833. padding: 15px;
  834. background-color: #fff;
  835. border: 1px solid #ddd;
  836. border-radius: 0px;
  837. transition: right 0.3s;
  838. }
  839. .form_btn_regular.sticky.closed {
  840. right: -75px;
  841. }
  842. .form_btn_regular.sticky button {
  843. display: block;
  844. }
  845. .form_btn_regular.sticky button:first-child {
  846. margin-bottom: 4px;
  847. }
  848. }
  849. /* CKEditor : Adding BS error feedback */
  850. .form_field div.cke {
  851. border: 1px solid #ddd;
  852. }
  853. .form_field.has-error div.cke {
  854. border: 1px solid #b94a48;
  855. border-radius: 0px;
  856. box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.075);
  857. }
  858. /* CKEditor : Styling notifications based on BS alerts */
  859. .cke_notification {
  860. position: relative;
  861. padding: 15px;
  862. margin-bottom: 18px;
  863. border: 1px solid transparent;
  864. border-radius: 4px;
  865. background-color: #fff;
  866. }
  867. .cke_notification_close {
  868. position: absolute;
  869. top: 2px;
  870. right: 5px;
  871. }
  872. .cke_notification_message {
  873. margin-bottom: 0px;
  874. line-height: 1em;
  875. font-size: 1em;
  876. }
  877. .cke_notification_success {
  878. display: none;
  879. background-color: #dff0d8;
  880. border-color: #d6e9c6;
  881. color: #468847;
  882. }
  883. .cke_notification_warning {
  884. background-color: #fcf8e3;
  885. border-color: #fbeed5;
  886. color: #c09853;
  887. }
  888. /* DataTables : Selection inputs */
  889. .dataTable.table th span.row_input, .dataTable.table td span.row_input {
  890. display: inline-block;
  891. width: 100%;
  892. text-align: center;
  893. }