portal.scss 23 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760761762763764765766767768769770771772773774775776777778779780781782783784785786787788789790791792793794795796797798799800801802803804805806807808809810811812813814815816817818819820821822823824825826827828829830831832833834835836837838839840841842843844845846847848849850851852853854855856857858859860861862863864865866867868869870871872873874875876877878879880881882883884885886887888889890891892893894895896897898899900901902903904905906907908909910911912913914915916917918919920921922923924925926927928929930931932933934935936937938939940941942943944945946947948949950951952953954955956957958959960961962963964965966967968969970971972973974975976977978979980981982983984985986987988989990991992993994995996997998999100010011002100310041005100610071008100910101011101210131014101510161017101810191020102110221023102410251026102710281029103010311032103310341035103610371038103910401041104210431044104510461047104810491050105110521053105410551056105710581059106010611062106310641065106610671068106910701071107210731074107510761077107810791080108110821083108410851086108710881089109010911092109310941095109610971098109911001101110211031104110511061107110811091110111111121113111411151116111711181119112011211122112311241125112611271128112911301131113211331134113511361137113811391140114111421143114411451146114711481149115011511152115311541155115611571158115911601161116211631164116511661167116811691170117111721173117411751176117711781179118011811182118311841185118611871188118911901191119211931194119511961197119811991200
  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. .grid-group-item:hover > .grid-group-item-actions{
  556. display: block;
  557. }
  558. .list-group-item .list-group-item-actions a:not(:first-child),
  559. .grid-group-item .grid-group-item-actions a:not(:first-child){
  560. margin-left: 10px;
  561. }
  562. .list-group-item .keep-spinning{
  563. animation: spin 1s linear infinite;
  564. -webkit-animation: spin 1s linear infinite;
  565. -moz-animation: spin 1s linear infinite;
  566. -ms-animation: spin 1s linear infinite;
  567. }
  568. .list-group.tree .list-group-item .list-group-item-description{
  569. display: block;
  570. margin-top: 3px;
  571. font-size: 0.8em;
  572. }
  573. /* Secondary actions */
  574. table .group-actions{
  575. position: relative;
  576. }
  577. .list-group-item-actions a.glyphicon-menu-hamburger,
  578. .grid-group-item-actions a.glyphicon-menu-hamburger,
  579. table .group-actions a.glyphicon-menu-hamburger{
  580. cursor: pointer;
  581. text-decoration: none;
  582. }
  583. .list-group-item-actions .item-action-wrapper,
  584. .grid-group-item-actions .item-action-wrapper,
  585. table .group-actions .item-action-wrapper
  586. {
  587. display: none;
  588. position: absolute;
  589. z-index: 5;
  590. bottom: 5px;
  591. right: 0px;
  592. -webkit-box-shadow: 0px 0px 10px 0px rgba(0,0,0,0.15);
  593. -moz-box-shadow: 0px 0px 10px 0px rgba(0,0,0,0.15);
  594. box-shadow: 0px 0px 10px 0px rgba(0,0,0,0.15);
  595. }
  596. .list-group-item-actions .item-action-wrapper .glyphicon,
  597. .grid-group-item-actions .item-action-wrapper .glyphicon,
  598. table .group-actions .item-action-wrapper .glyphicon{
  599. margin-right: 0.6em;
  600. }
  601. .list-group-item-actions .item-action-wrapper.collapse.in,
  602. .grid-group-item-actions .item-action-wrapper.collapse.in,
  603. table .group-actions .item-action-wrapper.collapse.in{
  604. display: block;
  605. }
  606. .list-group-item-actions .item-action-wrapper .panel-body > p,
  607. .grid-group-item-actions .item-action-wrapper .panel-body > p,
  608. table .group-actions .item-action-wrapper .panel-body > p{
  609. white-space: nowrap;
  610. }
  611. .list-group-item-actions .item-action-wrapper .panel-body > p:last-child,
  612. .grid-group-item-actions .item-action-wrapper .panel-body > p:last-child,
  613. table .group-actions .item-action-wrapper .panel-body > p:last-child{
  614. margin-bottom: 0px;
  615. }
  616. #brick_content_empty{
  617. display: none;
  618. padding: 40px;
  619. font-size: 1.3em;
  620. font-style: italic;
  621. }
  622. /* Loader */
  623. #brick_tree_overlay,
  624. #brick_grid_overlay{
  625. display: none;
  626. padding: 8% 0px;
  627. border-radius: 0px 0px 4px 4px;
  628. font-size: 1em;
  629. }
  630. /****************/
  631. /* - Grid mode */
  632. /* Note: Some of the CSS is factorised in the "Tree mode" part */
  633. /****************/
  634. #brick_content_grid{
  635. position: relative;
  636. padding: 10px 10px 1px 10px;
  637. }
  638. .grid-group{
  639. display: none;
  640. }
  641. /* Only the first level is showed by default */
  642. .grid-group:first-child{
  643. display: block;
  644. }
  645. .grid-group-back,
  646. .grid-group-item{
  647. position: relative;
  648. height: 55px;
  649. margin-bottom: 10px;
  650. text-align: center;
  651. color: $white;
  652. }
  653. .grid-group-back{
  654. font-size: 25px;
  655. }
  656. .grid-item{
  657. display: table;
  658. width: 100%;
  659. height: 100%;
  660. overflow: hidden;
  661. background-color: $combodo-dark-gray;
  662. transition: background-color linear 0.3s;
  663. }
  664. .grid-item,
  665. .grid-item:hover,
  666. .grid-item:active,
  667. .grid-item:focus,
  668. .grid-item:visited{
  669. color: $white;
  670. text-decoration: none;
  671. }
  672. .grid-item:active{
  673. background-color: $combodo-orange-darker;
  674. }
  675. .grid-item-image,
  676. .grid-item-text{
  677. display: table-cell;
  678. text-align: center;
  679. vertical-align: middle;
  680. }
  681. .grid-item-image > img{
  682. max-width: 100%;
  683. }
  684. .grid-group-item > .grid-group-item-actions{
  685. position: absolute;
  686. top: 5px;
  687. right: 5px;
  688. }
  689. .grid-group-item-actions > a{
  690. color: $white;
  691. text-decoration: none;
  692. }
  693. .grid-group-item-actions > a:hover,
  694. .grid-group-item-actions > a:focus{
  695. color: #EEEEEE;
  696. }
  697. .ggi-last-xs, .ggi-last-sm, .ggi-last-md, .ggi-last-lg{
  698. margin-right: 0px;
  699. }
  700. @media (max-width: 768px) {
  701. .grid-group-item > .grid-group-item-actions{
  702. top: 12px;
  703. right: 6px;
  704. }
  705. .grid-group-item > .grid-group-item-actions > .glyphicon{
  706. margin-top: 5px;
  707. }
  708. .grid-group-item-actions > a{
  709. font-size: 20px;
  710. }
  711. /* All layout */
  712. .grid-item-image{
  713. width: 55px;
  714. padding: 10px;
  715. }
  716. .grid-item-image > img{
  717. max-height: 30px;
  718. }
  719. .grid-item-name{
  720. font-size: 14px;
  721. }
  722. .grid-item-description{
  723. display: none;
  724. }
  725. /* Layout 2 */
  726. .grid-item-layout-2 .grid-item-description{
  727. display: block;
  728. }
  729. /* Layout 5/7 */
  730. .grid-item-layout-5 .grid-item-name,
  731. .grid-item-layout-7 .grid-item-name{
  732. padding-right: 40px;
  733. }
  734. }
  735. @media (min-width: 768px) {
  736. .grid-group-back,
  737. .grid-group-item{
  738. display: inline-block;
  739. width: 32%;
  740. height: 120px;
  741. margin-right: 1.95%; /* We don't put 2% to keep a margin in case of a bad browser rendering */
  742. }
  743. .grid-item{
  744. padding: 10px;
  745. }
  746. .grid-item:hover,
  747. .grid-item:focus{
  748. background-color: $combodo-orange;
  749. }
  750. /* All layout */
  751. .grid-item-name{
  752. font-weight: 600;
  753. font-size: 12px;
  754. }
  755. .grid-item-description{
  756. overflow: hidden;
  757. }
  758. /* Layout 1 */
  759. .grid-item-layout-1 .grid-item-name{
  760. font-weight: inherit;
  761. font-size: 14px;
  762. }
  763. /* Layout 7 */
  764. .grid-item-layout-7 .grid-item-image{
  765. display: none;
  766. }
  767. .grid-item-layout-3 .grid-item-description,
  768. .grid-item-layout-7 .grid-item-description{
  769. margin-top: 10px;
  770. max-height: 40px;
  771. font-size: 10px;
  772. }
  773. }
  774. @media (min-width: 992px) {
  775. .grid-item{
  776. padding: 10px 15px;
  777. }
  778. .grid-group-back{
  779. font-size: 40px;
  780. }
  781. /* Layout 7 */
  782. .grid-item-layout-7 .grid-item-image{
  783. display: table-cell;
  784. width: 105px;
  785. padding-left: 5px;
  786. padding-right: 18px;
  787. }
  788. .grid-item-layout-7 .grid-item-image > img{
  789. max-width: 100%;
  790. }
  791. .grid-item-layout-7 .grid-item-name{
  792. font-size: 12px;
  793. }
  794. }
  795. @media (min-width: 1200px) {
  796. .grid-group-back,
  797. .grid-group-item{
  798. width: 24%;
  799. height: 140px;
  800. margin-right: 1.3%;
  801. }
  802. /* Layout 7 */
  803. //.grid-item-layout-7 .grid-item-image{
  804. // width: 100px;
  805. // padding: 60px 15px;
  806. //}
  807. }
  808. /* Helper classes to remove margin depending on the screen size */
  809. @media (max-width: 992px) {
  810. .ggi-last-xs{
  811. margin-right: 0px;
  812. }
  813. }
  814. @media (min-width: 768px) and (max-width: 992px) {
  815. .ggi-last-sm{
  816. margin-right: 0px;
  817. }
  818. }
  819. @media (min-width: 992px) and (max-width: 1200px) {
  820. .ggi-last-md{
  821. margin-right: 0px;
  822. }
  823. }
  824. @media (min-width: 1200px) {
  825. .ggi-last-lg{
  826. margin-right: 0px;
  827. }
  828. }
  829. /****************/
  830. /* - List mode */
  831. /****************/
  832. /*********/
  833. /* Forms */
  834. /*********/
  835. .form_field .form_mandatory .control-label:after{
  836. content: "\002a";
  837. position: relative;
  838. left: 3px;
  839. color: $brand-primary;
  840. font-size: 0.9em;
  841. }
  842. /* InlineImage */
  843. .inline-image{
  844. cursor: pointer;
  845. cursor: zoom-in;
  846. }
  847. /* CaseLog field */
  848. .caselog_field_entry{
  849. border: 1px solid $gray-lighter;
  850. border-top: none;
  851. }
  852. .caselog_field_entry_header{
  853. padding: 6px;
  854. font-size: 1em;
  855. border-bottom: 1px solid $white;
  856. background-color: #F2F2F2;
  857. }
  858. .caselog_field_entry_button{
  859. display: block;
  860. width: 15px;
  861. height: 15px;
  862. text-align: center;
  863. line-height: 15px;
  864. font-size: 16px;
  865. border: 1px solid #a6a6a6;
  866. border-bottom-color: #979797;
  867. cursor: pointer;
  868. }
  869. .caselog_field_entry_button:hover{
  870. background-color: #cccccc;
  871. }
  872. .caselog_field_entry_button:before{
  873. content: "▴";
  874. }
  875. .caselog_field_entry_button.collapsed:before{
  876. content: "▾";
  877. }
  878. .caselog_field_entry_content{
  879. margin: 10px;
  880. overflow-x: auto;
  881. }
  882. /* LinkedSet*/
  883. .form_linkedset_toggler,
  884. .form_linkedset_toggler:hover,
  885. .form_linkedset_toggler:focus{
  886. text-decoration: none;
  887. color: inherit;
  888. }
  889. .form_linkedset_toggler > .text{
  890. margin-left: 0.4em;
  891. }
  892. .form_linkedset_toggler > .text:before{
  893. content: "(";
  894. }
  895. .form_linkedset_toggler > .text:after{
  896. content: ")";
  897. }
  898. .form_linkedset_toggler > .glyphicon{
  899. margin-left: 0.5em;
  900. font-size: 0.85em;
  901. color: $combodo-orange;
  902. transition: transform 0.2s linear;
  903. }
  904. .form_linkedset_toggler > .glyphicon.collapsed{
  905. transform: rotateZ(-90deg);
  906. }
  907. /* - DataTables : Loader */
  908. .form_linkedset_wrapper .datatables_overlay{
  909. padding: 8px !important;
  910. }
  911. .form_linkedset_wrapper .overlay_content{
  912. font-size: 0.6em;
  913. }
  914. .form_linkedset_wrapper .content_loader{
  915. margin: 0px;
  916. }
  917. .form_linkedset_wrapper .content_loader .icon{
  918. height: 23px;
  919. }
  920. /* - DataTables : Fit the table in the form */
  921. .form_linkedset_wrapper .dataTables_wrapper{
  922. margin-bottom: 5px;
  923. padding: 0px;
  924. }
  925. /* FileUpload */
  926. .fileupload_field_content{
  927. padding: 8px 23px;
  928. border: 1px solid $gray-lighter;
  929. background-color: #F9F9F9;
  930. }
  931. .fileupload_field_content > div{
  932. margin-bottom: 15px;
  933. }
  934. .attachments_container .attachment {
  935. height: 95px;
  936. overflow-x: hidden;
  937. text-align: center;
  938. }
  939. .attachments_container .attachment:hover {
  940. background-color: #e0e0e0;
  941. }
  942. .attachments_container .attachment .attachment_name{
  943. overflow-x: hidden;
  944. text-overflow: ellipsis;
  945. white-space: nowrap;
  946. }
  947. .attachments_container .attachment .btn{
  948. margin-top: 3px;
  949. }
  950. .upload_container input{
  951. display: inline;
  952. }
  953. .upload_container .loader{
  954. visibility: hidden;
  955. margin-left: 7px;
  956. font-size: 1.2em;
  957. animation: spin 1.0s linear infinite;
  958. -webkit-animation: spin 1.0s linear infinite;
  959. -moz-animation: spin 1.0s linear infinite;
  960. -ms-animation: spin 1.0s linear infinite;
  961. }
  962. #drag_overlay{
  963. display: block;
  964. top: inherit;
  965. bottom: 0px;
  966. height: 0px;
  967. }
  968. #drag_overlay .overlay_content{
  969. margin-top: 5em;
  970. width: 100%;
  971. color: white;
  972. }
  973. #drag_overlay .overlay_content .icon{
  974. font-size: 3em;
  975. }
  976. #drag_overlay .overlay_content .message{
  977. font-size: 1.5em;
  978. }
  979. /* Attachments drag & drop zone, only for none mobile devices */
  980. @media (min-width: 768px){
  981. #drag_overlay.drag_in{
  982. animation: show-drop-zone 0.3s ease-out forwards;
  983. -webkit-animation: show-drop-zone 0.3s ease-out forwards;
  984. -moz-animation: show-drop-zone 0.3s ease-out forwards;
  985. -ms-animation: show-drop-zone 0.3s ease-out forwards;
  986. }
  987. #drag_overlay.drag_out{
  988. animation: hide-drop-zone 0.3s ease-out forwards;
  989. -webkit-animation: hide-drop-zone 0.3s ease-out forwards;
  990. -moz-animation: hide-drop-zone 0.3s ease-out forwards;
  991. -ms-animation: hide-drop-zone 0.3s ease-out forwards;
  992. }
  993. @keyframes show-drop-zone{
  994. 100% {
  995. height: 20%;
  996. }
  997. }
  998. @-webkit-keyframes show-drop-zone{
  999. 100% {
  1000. height: 20%;
  1001. }
  1002. }
  1003. @-moz-keyframes show-drop-zone{
  1004. 100% {
  1005. height: 20%;
  1006. }
  1007. }
  1008. @-ms-keyframes show-drop-zone{
  1009. 100% {
  1010. height: 20%;
  1011. }
  1012. }
  1013. @keyframes hide-drop-zone{
  1014. 0% {
  1015. height: 20%;
  1016. }
  1017. 100% {
  1018. height: 0%;
  1019. }
  1020. }
  1021. @-webkit-keyframes hide-drop-zone{
  1022. 0% {
  1023. height: 20%;
  1024. }
  1025. 100% {
  1026. height: 0%;
  1027. }
  1028. }
  1029. @-moz-keyframes hide-drop-zone{
  1030. 0% {
  1031. height: 20%;
  1032. }
  1033. 100% {
  1034. height: 0%;
  1035. }
  1036. }
  1037. @-ms-keyframes hide-drop-zone{
  1038. 0% {
  1039. height: 20%;
  1040. }
  1041. 100% {
  1042. height: 0%;
  1043. }
  1044. }
  1045. }
  1046. /* BlobField */
  1047. .form_fields .file_open_link{
  1048. margin-left: 10px;
  1049. }
  1050. .form_field .form-control-static img{
  1051. max-width: 100% !important;
  1052. height: initial !important;
  1053. }
  1054. .form_buttons{
  1055. padding-top: 20px;
  1056. text-align: center;
  1057. }
  1058. .form_buttons .form_btn_transitions{
  1059. margin-bottom: 20px;
  1060. }
  1061. .form_buttons .btn .glyphicon{
  1062. margin-right: 0.5em;
  1063. }
  1064. .form_btn_regular.sticky{
  1065. display: none;
  1066. }
  1067. @media (min-width: 768px){
  1068. .form_buttons .form_btn_transitions{
  1069. float: right !important;
  1070. margin-left: 3px;
  1071. }
  1072. .form_buttons .form_btn_regular{
  1073. text-align: right;
  1074. }
  1075. .form_buttons .form_btn_regular btn{
  1076. width: inherit;
  1077. }
  1078. /* Making regular button sticky */
  1079. .form_btn_regular.sticky{
  1080. display: block;
  1081. position: fixed;
  1082. bottom: 5em;
  1083. right: -2px; /* TODO : SASS this to col-xs-12 padding */
  1084. padding: 15px;
  1085. background-color: $white;
  1086. border: 1px solid $gray-lighter;
  1087. border-radius: $border-radius-base;
  1088. transition: right 0.3s;
  1089. }
  1090. .form_btn_regular.sticky.closed{
  1091. right: -75px;
  1092. }
  1093. .form_btn_regular.sticky button{
  1094. display: block;
  1095. }
  1096. .form_btn_regular.sticky button:first-child{
  1097. margin-bottom: 4px;
  1098. }
  1099. }
  1100. /* CKEditor : Adding BS error feedback */
  1101. .form_field div.cke{
  1102. border: 1px solid $gray-lighter;
  1103. }
  1104. .form_field.has-error div.cke{
  1105. border: 1px solid $state-danger-text;
  1106. border-radius: $border-radius-base;
  1107. box-shadow: inset 0 1px 1px rgba(0,0,0,0.075);
  1108. }
  1109. /* CKEditor : Styling notifications based on BS alerts */
  1110. .cke_notification{
  1111. position: relative;
  1112. padding: 15px;
  1113. margin-bottom: 18px;
  1114. border: 1px solid transparent;
  1115. border-radius: 4px;
  1116. background-color: $white
  1117. }
  1118. .cke_notification_close{
  1119. position: absolute;
  1120. top: 2px;
  1121. right: 5px;
  1122. }
  1123. .cke_notification_message{
  1124. margin-bottom: 0px;
  1125. line-height: 1em;
  1126. font-size: 1em;
  1127. }
  1128. .cke_notification_success{
  1129. display: none;
  1130. background-color: $alert-success-bg;
  1131. border-color: $alert-success-border;
  1132. color: $alert-success-text;
  1133. }
  1134. .cke_notification_warning{
  1135. background-color: $alert-warning-bg;
  1136. border-color: $alert-warning-border;
  1137. color: $alert-warning-text;
  1138. }
  1139. /* CKEditor : Misc */
  1140. .cke_toolbox_collapser,
  1141. .cke_toolbox_collapser .cke_arrow{
  1142. cursor: pointer !important;
  1143. }
  1144. /* DataTables : Selection inputs */
  1145. .dataTable.table th span.row_input,
  1146. .dataTable.table td span.row_input{
  1147. display: inline-block;
  1148. width: 100%;
  1149. text-align: center;
  1150. }
  1151. /* Wiki text (hyperlinks) */
  1152. .wiki_broken_link {
  1153. text-decoration: line-through;
  1154. }