portal.css 19 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760761762763764765766767768769770771772773774775776777778779780781782783784785786787788789790791792793794795796797798799800801802803804805806807808809810811812813814815816817818819820821822823824825826827828829830831832833834835836837838839840841842843844845846847848849850851852853854855856857858859860861862863864865866867868869870871872873874875876877878879880881882883884885886887888889890891892893894895896897898899900901902903904905906907908909910911912
  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. .dataTable.table td img {
  446. max-width: 100%;
  447. height: initial !important;
  448. }
  449. #brick_content_toolbar {
  450. /* margin: 10px 0px 6px 0px; */
  451. padding: 10px;
  452. }
  453. #brick_content_toolbar > div label {
  454. font-weight: normal;
  455. white-space: nowrap;
  456. text-align: left;
  457. }
  458. #brick_content_toolbar > div label input {
  459. margin-left: 0.5em;
  460. display: inline-block;
  461. width: 130px;
  462. }
  463. /***********************/
  464. /* Brick communication */
  465. /***********************/
  466. /* Home tile */
  467. .home .tile.tile_communication {
  468. padding: 20px;
  469. background-color: #ededed;
  470. border: none;
  471. font-weight: initial;
  472. }
  473. .home .tile_communication .carousel {
  474. margin-bottom: 0px;
  475. width: 100%;
  476. height: 200px;
  477. }
  478. /**********************/
  479. /* Brick user profile */
  480. /**********************/
  481. #user-profile-wrapper .user_profile_picture .content_loader {
  482. position: absolute;
  483. z-index: 1;
  484. top: 0;
  485. left: 0;
  486. padding-top: 4em;
  487. width: 100%;
  488. height: 100%;
  489. text-align: center;
  490. color: white;
  491. background-color: black;
  492. opacity: 0.5;
  493. }
  494. #user-profile-wrapper .user_profile_picture .preview {
  495. display: inline-block;
  496. position: relative;
  497. max-width: 175px;
  498. max-height: 175px;
  499. overflow: hidden;
  500. }
  501. #user-profile-wrapper .user_profile_picture .preview img {
  502. max-width: 100%;
  503. max-height: 100%;
  504. }
  505. #user-profile-wrapper .user_profile_picture .actions {
  506. display: inline-block;
  507. vertical-align: top;
  508. /*middle;*/
  509. margin-left: 5px;
  510. }
  511. #user-profile-wrapper .user_profile_picture .actions .btn {
  512. display: block;
  513. position: relative;
  514. margin-bottom: 10px;
  515. }
  516. #user-profile-wrapper .user_profile_picture .actions .btn:last-child {
  517. margin-bottom: 0px;
  518. }
  519. #user-profile-wrapper .user_profile_picture .actions .btn.btn_edit {
  520. overflow: hidden;
  521. }
  522. #user-profile-wrapper .user_profile_picture .actions .btn.btn_edit input {
  523. position: absolute;
  524. top: 0px;
  525. left: 0px;
  526. width: 100%;
  527. height: 100%;
  528. opacity: 0;
  529. cursor: pointer;
  530. }
  531. /****************/
  532. /* Brick browse */
  533. /****************/
  534. /* - Tree mode */
  535. /****************/
  536. #brick_content_tree {
  537. position: relative;
  538. }
  539. .list-group-item > .list-group-item-actions {
  540. /*display: none; Displaying actions only when hovering was not unanimous in the team */
  541. position: absolute;
  542. top: 10px;
  543. right: 10px;
  544. }
  545. .list-group-item:hover > .list-group-item-actions {
  546. display: block;
  547. }
  548. .list-group-item .list-group-item-actions a:not(:first-child) {
  549. margin-left: 10px;
  550. }
  551. .list-group-item .keep-spinning {
  552. animation: spin 1s linear infinite;
  553. -webkit-animation: spin 1s linear infinite;
  554. -moz-animation: spin 1s linear infinite;
  555. -ms-animation: spin 1s linear infinite;
  556. }
  557. /* Secondary actions */
  558. table .group-actions {
  559. position: relative;
  560. }
  561. .list-group-item-actions a.glyphicon-menu-hamburger, table .group-actions a.glyphicon-menu-hamburger {
  562. cursor: pointer;
  563. text-decoration: none;
  564. }
  565. .list-group-item-actions .item-action-wrapper, table .group-actions .item-action-wrapper {
  566. display: none;
  567. position: absolute;
  568. z-index: 5;
  569. bottom: 5px;
  570. right: 0px;
  571. -webkit-box-shadow: 0px 0px 10px 0px rgba(0, 0, 0, 0.15);
  572. -moz-box-shadow: 0px 0px 10px 0px rgba(0, 0, 0, 0.15);
  573. box-shadow: 0px 0px 10px 0px rgba(0, 0, 0, 0.15);
  574. }
  575. .list-group-item-actions .item-action-wrapper .glyphicon, table .group-actions .item-action-wrapper .glyphicon {
  576. margin-right: 0.6em;
  577. }
  578. .list-group-item-actions .item-action-wrapper.collapse.in, table .group-actions .item-action-wrapper.collapse.in {
  579. display: block;
  580. }
  581. .list-group-item-actions .item-action-wrapper .panel-body > p, table .group-actions .item-action-wrapper .panel-body > p {
  582. white-space: nowrap;
  583. }
  584. .list-group-item-actions .item-action-wrapper .panel-body > p:last-child, table .group-actions .item-action-wrapper .panel-body > p:last-child {
  585. margin-bottom: 0px;
  586. }
  587. #brick_content_empty {
  588. display: none;
  589. padding: 40px;
  590. font-size: 1.3em;
  591. font-style: italic;
  592. }
  593. /* Loader */
  594. #brick_tree_overlay {
  595. display: none;
  596. padding: 8% 0px;
  597. border-radius: 0px 0px 4px 4px;
  598. font-size: 1em;
  599. }
  600. /****************/
  601. /* - List mode */
  602. /****************/
  603. /*********/
  604. /* Forms */
  605. /*********/
  606. .form_field .form_mandatory .control-label:after {
  607. content: "\002a";
  608. position: relative;
  609. left: 3px;
  610. color: #ea7d1e;
  611. font-size: 0.9em;
  612. }
  613. /* InlineImage */
  614. .inline-image {
  615. cursor: pointer;
  616. cursor: zoom-in;
  617. }
  618. /* CaseLog field */
  619. .caselog_field_entry {
  620. border: 1px solid #ddd;
  621. border-top: none;
  622. }
  623. .caselog_field_entry_header {
  624. padding: 6px;
  625. font-size: 1em;
  626. border-bottom: 1px solid #fff;
  627. background-color: #f2f2f2;
  628. }
  629. .caselog_field_entry_button {
  630. display: block;
  631. width: 15px;
  632. height: 15px;
  633. text-align: center;
  634. line-height: 15px;
  635. font-size: 16px;
  636. border: 1px solid #a6a6a6;
  637. border-bottom-color: #979797;
  638. cursor: pointer;
  639. }
  640. .caselog_field_entry_button:hover {
  641. background-color: #ccc;
  642. }
  643. .caselog_field_entry_button:before {
  644. content: "▴";
  645. }
  646. .caselog_field_entry_button.collapsed:before {
  647. content: "▾";
  648. }
  649. .caselog_field_entry_content {
  650. margin: 10px;
  651. overflow-x: auto;
  652. }
  653. /* LinkedSet*/
  654. .form_linkedset_toggler, .form_linkedset_toggler:hover, .form_linkedset_toggler:focus {
  655. margin-left: 0.4em;
  656. text-decoration: none;
  657. color: inherit;
  658. }
  659. .form_linkedset_toggler > .text:before {
  660. content: "(";
  661. }
  662. .form_linkedset_toggler > .text:after {
  663. content: ")";
  664. }
  665. .form_linkedset_toggler > .glyphicon {
  666. margin-left: 0.5em;
  667. font-size: 0.85em;
  668. color: #ea7d1e;
  669. transition: transform 0.2s linear;
  670. }
  671. .form_linkedset_toggler > .glyphicon.collapsed {
  672. transform: rotateZ(-90deg);
  673. }
  674. /* - DataTables : Loader */
  675. .form_linkedset_wrapper .datatables_overlay {
  676. padding: 8px !important;
  677. }
  678. .form_linkedset_wrapper .overlay_content {
  679. font-size: 0.6em;
  680. }
  681. .form_linkedset_wrapper .content_loader {
  682. margin: 0px;
  683. }
  684. .form_linkedset_wrapper .content_loader .icon {
  685. height: 23px;
  686. }
  687. /* - DataTables : Fit the table in the form */
  688. .form_linkedset_wrapper .dataTables_wrapper {
  689. margin-bottom: 5px;
  690. padding: 0px;
  691. }
  692. /* FileUpload */
  693. .fileupload_field_content {
  694. padding: 8px 23px;
  695. border: 1px solid #ddd;
  696. background-color: #f9f9f9;
  697. }
  698. .fileupload_field_content > div {
  699. margin-bottom: 15px;
  700. }
  701. .attachments_container .attachment {
  702. height: 95px;
  703. overflow-x: hidden;
  704. text-align: center;
  705. }
  706. .attachments_container .attachment:hover {
  707. background-color: #e0e0e0;
  708. }
  709. .attachments_container .attachment .attachment_name {
  710. overflow-x: hidden;
  711. text-overflow: ellipsis;
  712. white-space: nowrap;
  713. }
  714. .attachments_container .attachment .btn {
  715. margin-top: 3px;
  716. }
  717. .upload_container input {
  718. display: inline;
  719. }
  720. .upload_container .loader {
  721. visibility: hidden;
  722. margin-left: 7px;
  723. font-size: 1.2em;
  724. animation: spin 1s linear infinite;
  725. -webkit-animation: spin 1s linear infinite;
  726. -moz-animation: spin 1s linear infinite;
  727. -ms-animation: spin 1s linear infinite;
  728. }
  729. #drag_overlay {
  730. display: block;
  731. top: inherit;
  732. bottom: 0px;
  733. height: 0px;
  734. }
  735. #drag_overlay .overlay_content {
  736. margin-top: 5em;
  737. width: 100%;
  738. color: white;
  739. }
  740. #drag_overlay .overlay_content .icon {
  741. font-size: 3em;
  742. }
  743. #drag_overlay .overlay_content .message {
  744. font-size: 1.5em;
  745. }
  746. /* Attachments drag & drop zone, only for none mobile devices */
  747. @media (min-width: 768px) {
  748. #drag_overlay.drag_in {
  749. animation: show-drop-zone 0.3s ease-out forwards;
  750. -webkit-animation: show-drop-zone 0.3s ease-out forwards;
  751. -moz-animation: show-drop-zone 0.3s ease-out forwards;
  752. -ms-animation: show-drop-zone 0.3s ease-out forwards;
  753. }
  754. #drag_overlay.drag_out {
  755. animation: hide-drop-zone 0.3s ease-out forwards;
  756. -webkit-animation: hide-drop-zone 0.3s ease-out forwards;
  757. -moz-animation: hide-drop-zone 0.3s ease-out forwards;
  758. -ms-animation: hide-drop-zone 0.3s ease-out forwards;
  759. }
  760. @keyframes show-drop-zone {
  761. 100% {
  762. height: 20%;
  763. }
  764. }
  765. @-webkit-keyframes show-drop-zone {
  766. 100% {
  767. height: 20%;
  768. }
  769. }
  770. @-moz-keyframes show-drop-zone {
  771. 100% {
  772. height: 20%;
  773. }
  774. }
  775. @-ms-keyframes show-drop-zone {
  776. 100% {
  777. height: 20%;
  778. }
  779. }
  780. @keyframes hide-drop-zone {
  781. 0% {
  782. height: 20%;
  783. }
  784. 100% {
  785. height: 0%;
  786. }
  787. }
  788. @-webkit-keyframes hide-drop-zone {
  789. 0% {
  790. height: 20%;
  791. }
  792. 100% {
  793. height: 0%;
  794. }
  795. }
  796. @-moz-keyframes hide-drop-zone {
  797. 0% {
  798. height: 20%;
  799. }
  800. 100% {
  801. height: 0%;
  802. }
  803. }
  804. @-ms-keyframes hide-drop-zone {
  805. 0% {
  806. height: 20%;
  807. }
  808. 100% {
  809. height: 0%;
  810. }
  811. }
  812. }
  813. .form_field .form-control-static img {
  814. max-width: 100% !important;
  815. height: initial !important;
  816. }
  817. .form_buttons {
  818. padding-top: 20px;
  819. text-align: center;
  820. }
  821. .form_buttons .form_btn_transitions {
  822. margin-bottom: 20px;
  823. }
  824. .form_buttons .btn .glyphicon {
  825. margin-right: 0.5em;
  826. }
  827. .form_btn_regular.sticky {
  828. display: none;
  829. }
  830. @media (min-width: 768px) {
  831. /* Making regular button sticky */
  832. .form_buttons .form_btn_transitions {
  833. float: right !important;
  834. margin-left: 3px;
  835. }
  836. .form_buttons .form_btn_regular {
  837. text-align: right;
  838. }
  839. .form_buttons .form_btn_regular btn {
  840. width: inherit;
  841. }
  842. .form_btn_regular.sticky {
  843. display: block;
  844. position: fixed;
  845. bottom: 5em;
  846. right: -2px;
  847. /* TODO : SASS this to col-xs-12 padding */
  848. padding: 15px;
  849. background-color: #fff;
  850. border: 1px solid #ddd;
  851. border-radius: 0px;
  852. transition: right 0.3s;
  853. }
  854. .form_btn_regular.sticky.closed {
  855. right: -75px;
  856. }
  857. .form_btn_regular.sticky button {
  858. display: block;
  859. }
  860. .form_btn_regular.sticky button:first-child {
  861. margin-bottom: 4px;
  862. }
  863. }
  864. /* CKEditor : Adding BS error feedback */
  865. .form_field div.cke {
  866. border: 1px solid #ddd;
  867. }
  868. .form_field.has-error div.cke {
  869. border: 1px solid #b94a48;
  870. border-radius: 0px;
  871. box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.075);
  872. }
  873. /* CKEditor : Styling notifications based on BS alerts */
  874. .cke_notification {
  875. position: relative;
  876. padding: 15px;
  877. margin-bottom: 18px;
  878. border: 1px solid transparent;
  879. border-radius: 4px;
  880. background-color: #fff;
  881. }
  882. .cke_notification_close {
  883. position: absolute;
  884. top: 2px;
  885. right: 5px;
  886. }
  887. .cke_notification_message {
  888. margin-bottom: 0px;
  889. line-height: 1em;
  890. font-size: 1em;
  891. }
  892. .cke_notification_success {
  893. display: none;
  894. background-color: #dff0d8;
  895. border-color: #d6e9c6;
  896. color: #468847;
  897. }
  898. .cke_notification_warning {
  899. background-color: #fcf8e3;
  900. border-color: #fbeed5;
  901. color: #c09853;
  902. }
  903. /* CKEditor : Misc */
  904. .cke_toolbox_collapser, .cke_toolbox_collapser .cke_arrow {
  905. cursor: pointer !important;
  906. }
  907. /* DataTables : Selection inputs */
  908. .dataTable.table th span.row_input, .dataTable.table td span.row_input {
  909. display: inline-block;
  910. width: 100%;
  911. text-align: center;
  912. }