portal.scss 19 KB

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