portal.scss 18 KB

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