portal.scss 19 KB

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