portal.scss 18 KB

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