portal.css 25 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760761762763764765766767768769770771772773774775776777778779780781782783784785786787788789790791792793794795796797798799800801802803804805806807808809810811812813814815816817818819820821822823824825826827828829830831832833834835836837838839840841842843844845846847848849850851852853854855856857858859860861862863864865866867868869870871872873874875876877878879880881882883884885886887888889890891892893894895896897898899900901902903904905906907908909910911912913914915916917918919920921922923924925926927928929930931932933934935936937938939940941942943944945946947948949950951952953954955956957958959960961962963964965966967968969970971972973974975976977978979980981982983984985986987988989990991992993994995996997998999100010011002100310041005100610071008100910101011101210131014101510161017101810191020102110221023102410251026102710281029103010311032103310341035103610371038103910401041104210431044104510461047104810491050105110521053105410551056105710581059106010611062106310641065106610671068106910701071107210731074107510761077107810791080108110821083108410851086108710881089109010911092109310941095109610971098109911001101110211031104110511061107110811091110111111121113111411151116111711181119112011211122112311241125112611271128112911301131113211331134113511361137113811391140114111421143114411451146114711481149115011511152115311541155115611571158115911601161116211631164116511661167116811691170117111721173
  1. /*!
  2. * Combodo portal template v1.0.0
  3. */
  4. /*******************/
  5. /* Global settings */
  6. /*******************/
  7. @media (max-width: 768px) {
  8. body {
  9. padding-top: 60px;
  10. }
  11. body.home {
  12. padding-top: 70px;
  13. }
  14. }
  15. footer {
  16. margin: 5em 1em;
  17. }
  18. /* Environment banner */
  19. #envbanner {
  20. position: relative;
  21. z-index: 10;
  22. padding: 5px 15px;
  23. text-align: center;
  24. }
  25. #envbanner > button {
  26. margin-left: 5px;
  27. color: #000;
  28. }
  29. /* Navigation menu */
  30. .navbar-nav .dropdown-menu a .glyphicon, .user_infos .dropdown-menu a .glyphicon {
  31. margin-right: 15px;
  32. }
  33. .nav > li > a > span.brick_icon, .dropdown-menu > li > a > span.brick_icon {
  34. margin-right: 20px;
  35. vertical-align: sub;
  36. }
  37. /* Topbar */
  38. #topbar .navbar-header {
  39. position: relative;
  40. z-index: 2;
  41. }
  42. #topbar .navbar-collapse {
  43. position: relative;
  44. z-index: 1;
  45. overflow-y: auto;
  46. }
  47. #topbar .navbar-collapse > .navbar-nav {
  48. padding-top: 30px;
  49. }
  50. #topbar .navbar-brand > img {
  51. max-height: 100%;
  52. }
  53. #topbar .user_infos {
  54. text-decoration: none;
  55. }
  56. #topbar .user_photo {
  57. position: absolute;
  58. display: block;
  59. top: 5px;
  60. left: 10px;
  61. width: 65px;
  62. height: 65px;
  63. background-size: 100%;
  64. background-position: center center;
  65. background-color: #585653;
  66. border: 2px solid #fff;
  67. border-radius: 100%;
  68. box-shadow: 0px 2px 3px rgba(0, 0, 0, 0.4);
  69. }
  70. #topbar .user_fullname {
  71. display: inline-block;
  72. position: absolute;
  73. padding-left: 85px;
  74. max-width: 55%;
  75. /*color: $white;*/
  76. white-space: nowrap;
  77. text-overflow: ellipsis;
  78. overflow-x: hidden;
  79. }
  80. /* Sidebar */
  81. @media (min-width: 768px) {
  82. #sidebar {
  83. position: fixed;
  84. top: 0px;
  85. left: 0px;
  86. padding: 0px;
  87. /* Overriding BS */
  88. height: 100%;
  89. }
  90. #sidebar .user_card {
  91. padding: 30px 0px;
  92. text-align: center;
  93. }
  94. #sidebar .user_card .user_photo {
  95. margin: 0px auto 10px auto;
  96. width: 80px;
  97. height: 80px;
  98. background-size: 100%;
  99. background-position: center center;
  100. background-color: #585653;
  101. background-repeat: no-repeat;
  102. border: 2px solid #fff;
  103. border-radius: 100%;
  104. }
  105. #sidebar .user_card .user_infos {
  106. font-size: 1em;
  107. color: #fff;
  108. }
  109. #sidebar .user_card .user_infos .dropdown-toggle {
  110. color: #fff;
  111. }
  112. #sidebar .user_card .user_options.dropdown-menu {
  113. width: 92%;
  114. left: 4%;
  115. }
  116. #sidebar .user_card .user_fullname {
  117. font-weight: 600;
  118. }
  119. #sidebar .menu {
  120. max-height: 59%;
  121. overflow-y: auto;
  122. overflow-x: hidden;
  123. }
  124. #sidebar .menu .navbar-nav > li {
  125. width: 100%;
  126. }
  127. #sidebar .menu .navbar-nav > li > a > .brick_icon {
  128. width: 1.2em;
  129. vertical-align: sub;
  130. text-align: center;
  131. margin-right: 10px;
  132. }
  133. #sidebar .logo {
  134. position: absolute;
  135. bottom: 15px;
  136. width: 100%;
  137. text-align: center;
  138. }
  139. #sidebar .logo img {
  140. width: 40%;
  141. max-width: 100%;
  142. }
  143. }
  144. /* Warning : Not a offical BS breakpoint */
  145. @media (min-width: 1600px) {
  146. #sidebar .user_card .user_photo {
  147. width: 120px;
  148. height: 120px;
  149. }
  150. #sidebar .menu .nav > li > a > .brick_icon {
  151. margin-right: 20px;
  152. }
  153. }
  154. /* Main content */
  155. @media (min-width: 768px) {
  156. #main-wrapper {
  157. margin-top: 20px;
  158. }
  159. }
  160. /* Overlays*/
  161. .global_overlay {
  162. z-index: 9999;
  163. display: none;
  164. position: fixed;
  165. top: 0px;
  166. left: 0px;
  167. width: 100%;
  168. height: 100%;
  169. background-color: black;
  170. opacity: 0.5;
  171. }
  172. #page_overlay .overlay_content {
  173. margin-top: 20em;
  174. width: 100%;
  175. color: white;
  176. }
  177. .overlay_content {
  178. text-align: center;
  179. }
  180. .content_loader .icon {
  181. margin-bottom: 0.3em;
  182. /*width: 52px;*/
  183. height: 38px;
  184. /* 50px; */
  185. /* Hack to make loader circle perfectly */
  186. font-size: 3em;
  187. /* 4em; */
  188. animation: spin 1.2s linear infinite;
  189. -webkit-animation: spin 1.2s linear infinite;
  190. -moz-animation: spin 1.2s linear infinite;
  191. -ms-animation: spin 1.2s linear infinite;
  192. }
  193. .content_loader .message {
  194. font-size: 1.5em;
  195. /* 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. -webkit-box-pack: center;
  218. /* Also 'margin: 0 auto' doesn't have any effect on flex items in such web browsers
  219. hence the bootstrap's container won't be aligned to the center anymore.
  220. Therefore, we should use the following declarations to get it centered again */
  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;
  259. /* To align all actions on the right without indent */
  260. }
  261. /* Custom "glyphicons" */
  262. .glyphicon-ext-hierarchy:before {
  263. content: url('../img/icons/hierarchy-white-13px.png');
  264. }
  265. /******************/
  266. /* Modal settings */
  267. /******************/
  268. .modal-content .content_loader {
  269. margin: 7em 0em;
  270. text-align: center;
  271. }
  272. /**************************/
  273. /* MagnificPopup settings */
  274. /**************************/
  275. .mfp-bg {
  276. z-index: 1200;
  277. }
  278. .mfp-wrap {
  279. z-index: 1210;
  280. }
  281. .mfp-img {
  282. cursor: pointer;
  283. cursor: zoom-out;
  284. }
  285. /********************/
  286. /* Typeahed setting */
  287. /********************/
  288. .twitter-typeahead .tt-menu {
  289. max-height: 200px;
  290. overflow-y: auto;
  291. }
  292. @media (min-width: 768px) {
  293. .twitter-typeahead .tt-menu {
  294. max-height: 300px;
  295. }
  296. }
  297. .twitter-typeahead .tt-dataset > .content_loader {
  298. margin: 10px 0px;
  299. text-align: center;
  300. font-size: 0.6em;
  301. }
  302. .twitter-typeahead .tt-dataset > .content_loader .icon {
  303. height: 25px;
  304. }
  305. .twitter-typeahead .tt-dataset .no_result {
  306. text-align: center;
  307. font-style: italic;
  308. }
  309. /*****************/
  310. /* Home settings */
  311. /*****************/
  312. .home #main-wrapper {
  313. padding-top: 15px;
  314. }
  315. .home .tile {
  316. display: block;
  317. margin-bottom: 8px;
  318. padding: 0em 1em;
  319. min-height: 4em;
  320. background-color: #fff;
  321. background-image: none;
  322. border: none;
  323. border-radius: 0px;
  324. text-align: center;
  325. text-decoration: none;
  326. white-space: normal;
  327. line-height: 4em;
  328. box-shadow: 0 1px 1px rgba(0, 0, 0, 0.15);
  329. }
  330. .home .tile .tile_decoration {
  331. position: absolute;
  332. top: 0.3em;
  333. left: 2.5em;
  334. }
  335. .home .tile .tile_title {
  336. font-weight: bold;
  337. color: #333;
  338. }
  339. .home .tile .tile_description {
  340. display: none;
  341. color: #555;
  342. }
  343. @media (min-width: 768px) {
  344. .home .tile {
  345. display: block;
  346. margin-bottom: 25px;
  347. padding: 40px 40px 30px 40px;
  348. min-height: 10em;
  349. text-align: left;
  350. transition: all 0.2s linear;
  351. }
  352. .home .tile:hover {
  353. box-shadow: 0px 5px 10px rgba(0, 0, 0, 0.10);
  354. }
  355. .home .tile .tile_decoration {
  356. display: block;
  357. position: relative;
  358. float: left;
  359. top: 1.5em;
  360. left: initial;
  361. margin: 0px 30px 15px 0px;
  362. }
  363. .home .tile .tile_body {
  364. display: block;
  365. padding-left: 4.3em;
  366. text-align: left;
  367. line-height: 1.5em;
  368. }
  369. .home .tile .tile_title {
  370. margin-bottom: 1em;
  371. font-size: 1em;
  372. }
  373. .home .tile .tile_description {
  374. display: block;
  375. text-align: left;
  376. }
  377. }
  378. @media (min-width: 992px) {
  379. .home .tile {
  380. min-height: 14em;
  381. padding: 30px 40px 30px 40px;
  382. }
  383. .home .tile .tile_decoration > span.icon {
  384. font-size: 4em;
  385. }
  386. .home .tile .tile_body {
  387. padding-left: 6.3em;
  388. }
  389. .home .tile .tile_title {
  390. font-size: 1.4em;
  391. }
  392. .home .tile .tile_description {
  393. font-size: 1.2em;
  394. }
  395. }
  396. @media (min-width: 1200px) {
  397. .home .tile {
  398. margin-bottom: 40px;
  399. min-height: 15em;
  400. padding: 40px 50px 30px 50px;
  401. }
  402. .home .tile .tile_decoration {
  403. margin: 0px 40px 15px 0px;
  404. top: 1.5em;
  405. }
  406. .home .tile .tile_decoration > span.icon {
  407. font-size: 6em;
  408. }
  409. .home .tile .tile_body {
  410. padding-left: 9.1em;
  411. }
  412. .home .tile .tile_title {
  413. font-size: 1.5em;
  414. }
  415. .home .tile .tile_description {
  416. font-size: 1.2em;
  417. }
  418. }
  419. /********************/
  420. /* Modules settings */
  421. /********************/
  422. #main-header {
  423. text-align: center;
  424. }
  425. #main-header-title {
  426. margin-bottom: 15px;
  427. }
  428. #main-header-actions {
  429. margin-bottom: 15px;
  430. }
  431. /* This is no longer necessary but we keep it just in case */
  432. /*#main-header-actions .btn-group .btn{
  433. padding: 0em 1.5em;
  434. line-height: 2.4em;
  435. font-size: 14px;
  436. background-image: none;
  437. }*/
  438. @media (min-width: 768px) {
  439. #main-header:after {
  440. clear: both;
  441. }
  442. #main-header-title {
  443. float: left;
  444. margin-bottom: 0px;
  445. min-height: 6em;
  446. text-align: left;
  447. }
  448. #main-header-actions {
  449. float: right;
  450. margin-bottom: 0px;
  451. }
  452. }
  453. .dataTables_wrapper {
  454. padding: 10px 10px;
  455. }
  456. .dataTable.table td img {
  457. max-width: 100%;
  458. height: initial !important;
  459. }
  460. #brick_content_toolbar {
  461. /* margin: 10px 0px 6px 0px; */
  462. padding: 10px;
  463. }
  464. #brick_content_toolbar > div label {
  465. font-weight: normal;
  466. white-space: nowrap;
  467. text-align: left;
  468. }
  469. #brick_content_toolbar > div label input {
  470. margin-left: 0.5em;
  471. display: inline-block;
  472. width: 130px;
  473. }
  474. /***********************/
  475. /* Brick communication */
  476. /***********************/
  477. /* Home tile */
  478. .home .tile.tile_communication {
  479. padding: 20px;
  480. background-color: #ededed;
  481. border: none;
  482. font-weight: initial;
  483. }
  484. .home .tile_communication .carousel {
  485. margin-bottom: 0px;
  486. width: 100%;
  487. height: 200px;
  488. }
  489. /**********************/
  490. /* Brick user profile */
  491. /**********************/
  492. #user-profile-wrapper .user_profile_picture .content_loader {
  493. position: absolute;
  494. z-index: 1;
  495. top: 0;
  496. left: 0;
  497. padding-top: 4em;
  498. width: 100%;
  499. height: 100%;
  500. text-align: center;
  501. color: white;
  502. background-color: black;
  503. opacity: 0.5;
  504. }
  505. #user-profile-wrapper .user_profile_picture .preview {
  506. display: inline-block;
  507. position: relative;
  508. max-width: 175px;
  509. max-height: 175px;
  510. overflow: hidden;
  511. }
  512. #user-profile-wrapper .user_profile_picture .preview img {
  513. max-width: 100%;
  514. max-height: 100%;
  515. }
  516. #user-profile-wrapper .user_profile_picture .actions {
  517. display: inline-block;
  518. vertical-align: top;
  519. /*middle;*/
  520. margin-left: 5px;
  521. }
  522. #user-profile-wrapper .user_profile_picture .actions .btn {
  523. display: block;
  524. position: relative;
  525. margin-bottom: 10px;
  526. }
  527. #user-profile-wrapper .user_profile_picture .actions .btn:last-child {
  528. margin-bottom: 0px;
  529. }
  530. #user-profile-wrapper .user_profile_picture .actions .btn.btn_edit {
  531. overflow: hidden;
  532. }
  533. #user-profile-wrapper .user_profile_picture .actions .btn.btn_edit input {
  534. position: absolute;
  535. top: 0px;
  536. left: 0px;
  537. width: 100%;
  538. height: 100%;
  539. opacity: 0;
  540. cursor: pointer;
  541. }
  542. /****************/
  543. /* Brick browse */
  544. /****************/
  545. /* - Tree mode */
  546. /****************/
  547. #brick_content_tree {
  548. position: relative;
  549. margin-top: 0px;
  550. }
  551. .list-group-item > .list-group-item-actions {
  552. /*display: none; Displaying actions only when hovering was not unanimous in the team */
  553. position: absolute;
  554. top: 10px;
  555. right: 15px;
  556. }
  557. .list-group-item:hover > .list-group-item-actions, .grid-group-item:hover > .grid-group-item-actions {
  558. display: block;
  559. }
  560. .list-group-item .list-group-item-actions a:not(:first-child), .grid-group-item .grid-group-item-actions a:not(:first-child) {
  561. margin-left: 10px;
  562. }
  563. .list-group-item .keep-spinning {
  564. animation: spin 1s linear infinite;
  565. -webkit-animation: spin 1s linear infinite;
  566. -moz-animation: spin 1s linear infinite;
  567. -ms-animation: spin 1s linear infinite;
  568. }
  569. .list-group.tree .list-group-item .list-group-item-description {
  570. display: block;
  571. margin-top: 3px;
  572. font-size: 0.8em;
  573. }
  574. /* Secondary actions */
  575. table .group-actions {
  576. position: relative;
  577. }
  578. .list-group-item-actions a.glyphicon-menu-hamburger, .grid-group-item-actions a.glyphicon-menu-hamburger, table .group-actions a.glyphicon-menu-hamburger {
  579. cursor: pointer;
  580. text-decoration: none;
  581. }
  582. .list-group-item-actions .item-action-wrapper, .grid-group-item-actions .item-action-wrapper, table .group-actions .item-action-wrapper {
  583. display: none;
  584. position: absolute;
  585. z-index: 5;
  586. bottom: 5px;
  587. right: 0px;
  588. -webkit-box-shadow: 0px 0px 10px 0px rgba(0, 0, 0, 0.15);
  589. -moz-box-shadow: 0px 0px 10px 0px rgba(0, 0, 0, 0.15);
  590. box-shadow: 0px 0px 10px 0px rgba(0, 0, 0, 0.15);
  591. }
  592. .list-group-item-actions .item-action-wrapper .glyphicon, .grid-group-item-actions .item-action-wrapper .glyphicon, table .group-actions .item-action-wrapper .glyphicon {
  593. margin-right: 0.6em;
  594. }
  595. .list-group-item-actions .item-action-wrapper.collapse.in, .grid-group-item-actions .item-action-wrapper.collapse.in, table .group-actions .item-action-wrapper.collapse.in {
  596. display: block;
  597. }
  598. .list-group-item-actions .item-action-wrapper .panel-body > p, .grid-group-item-actions .item-action-wrapper .panel-body > p, table .group-actions .item-action-wrapper .panel-body > p {
  599. white-space: nowrap;
  600. }
  601. .list-group-item-actions .item-action-wrapper .panel-body > p:last-child, .grid-group-item-actions .item-action-wrapper .panel-body > p:last-child, table .group-actions .item-action-wrapper .panel-body > p:last-child {
  602. margin-bottom: 0px;
  603. }
  604. #brick_content_empty {
  605. display: none;
  606. padding: 40px;
  607. font-size: 1.3em;
  608. font-style: italic;
  609. }
  610. /* Loader */
  611. #brick_tree_overlay, #brick_grid_overlay {
  612. display: none;
  613. padding: 8% 0px;
  614. border-radius: 0px 0px 4px 4px;
  615. font-size: 1em;
  616. }
  617. /****************/
  618. /* - Grid mode */
  619. /* Note: Some of the CSS is factorised in the "Tree mode" part */
  620. /****************/
  621. #brick_content_grid {
  622. position: relative;
  623. padding: 10px 10px 1px 10px;
  624. }
  625. /* Breadcrumb */
  626. #grid-breadcrumb {
  627. padding-left: 0px;
  628. font-size: 12px;
  629. white-space: nowrap;
  630. overflow-x: hidden;
  631. text-overflow: ellipsis;
  632. }
  633. #grid-breadcrumb > li {
  634. display: inline;
  635. cursor: pointer;
  636. color: #ea7d1e;
  637. }
  638. #grid-breadcrumb > li:hover {
  639. color: #d56e14;
  640. }
  641. #grid-breadcrumb > li:last-of-type {
  642. color: inherit;
  643. cursor: inherit;
  644. }
  645. #grid-breadcrumb > li:after {
  646. content: '/';
  647. margin-left: 0.4em;
  648. margin-right: 0.2em;
  649. color: initial;
  650. }
  651. #grid-breadcrumb > li:last-of-type:after {
  652. content: none;
  653. }
  654. .grid-group {
  655. display: none;
  656. }
  657. /* Only the first level is showed by default */
  658. .grid-group:first-of-type {
  659. display: block;
  660. }
  661. .grid-group-back, .grid-group-item {
  662. position: relative;
  663. height: 55px;
  664. margin-bottom: 10px;
  665. text-align: center;
  666. color: #fff;
  667. }
  668. .grid-group-back {
  669. font-size: 25px;
  670. }
  671. .grid-item {
  672. display: table;
  673. width: 100%;
  674. height: 100%;
  675. overflow: hidden;
  676. background-color: #585653;
  677. transition: background-color linear 0.3s;
  678. }
  679. .grid-item, .grid-item:hover, .grid-item:active, .grid-item:focus, .grid-item:visited {
  680. color: #fff;
  681. text-decoration: none;
  682. }
  683. .grid-item:active {
  684. background-color: #9e510f;
  685. }
  686. .grid-item-image, .grid-item-text {
  687. display: table-cell;
  688. text-align: center;
  689. vertical-align: middle;
  690. }
  691. .grid-item-image > img {
  692. max-width: 100%;
  693. }
  694. .grid-group-item > .grid-group-item-actions {
  695. position: absolute;
  696. top: 5px;
  697. right: 5px;
  698. }
  699. .grid-group-item-actions > a {
  700. color: #fff;
  701. text-decoration: none;
  702. }
  703. .grid-group-item-actions > a:hover, .grid-group-item-actions > a:focus {
  704. color: #eee;
  705. }
  706. @media (max-width: 768px) {
  707. /* All layout */
  708. /* Layout 2 */
  709. /* Layout 5/7 */
  710. .grid-group-item > .grid-group-item-actions {
  711. top: 12px;
  712. right: 6px;
  713. }
  714. .grid-group-item > .grid-group-item-actions > .glyphicon {
  715. margin-top: 5px;
  716. }
  717. .grid-group-item-actions > a {
  718. font-size: 20px;
  719. }
  720. .grid-item-image {
  721. width: 55px;
  722. padding: 10px;
  723. }
  724. .grid-item-image > img {
  725. max-height: 30px;
  726. }
  727. .grid-item-name {
  728. font-size: 14px;
  729. }
  730. .grid-item-description {
  731. display: none;
  732. }
  733. .grid-item-layout-2 .grid-item-description {
  734. display: block;
  735. }
  736. .grid-item-layout-5 .grid-item-name, .grid-item-layout-7 .grid-item-name {
  737. padding-right: 40px;
  738. }
  739. }
  740. @media (min-width: 768px) {
  741. /* All layout */
  742. /* Layout 1 */
  743. /* Layout 7 */
  744. .grid-group-item {
  745. display: inline-block;
  746. width: 32%;
  747. height: 120px;
  748. margin-right: 1.95%;
  749. /* We don't put 2% to keep a margin in case of a bad browser rendering */
  750. }
  751. .grid-item {
  752. padding: 10px;
  753. }
  754. .grid-item:hover, .grid-item:focus {
  755. background-color: #ea7d1e;
  756. }
  757. .grid-item-name {
  758. font-weight: 600;
  759. font-size: 12px;
  760. }
  761. .grid-item-description {
  762. overflow: hidden;
  763. }
  764. .grid-item-layout-1 .grid-item-name {
  765. font-weight: inherit;
  766. font-size: 14px;
  767. }
  768. .grid-item-layout-7 .grid-item-image {
  769. display: none;
  770. }
  771. .grid-item-layout-3 .grid-item-description, .grid-item-layout-7 .grid-item-description {
  772. margin-top: 10px;
  773. max-height: 40px;
  774. font-size: 10px;
  775. }
  776. }
  777. @media (min-width: 992px) {
  778. /* Layout 7 */
  779. .grid-item {
  780. padding: 10px 15px;
  781. }
  782. .grid-group-back {
  783. font-size: 40px;
  784. }
  785. .grid-item-layout-7 .grid-item-image {
  786. display: table-cell;
  787. width: 105px;
  788. padding-left: 5px;
  789. padding-right: 18px;
  790. }
  791. .grid-item-layout-7 .grid-item-image > img {
  792. max-width: 100%;
  793. }
  794. .grid-item-layout-7 .grid-item-name {
  795. font-size: 12px;
  796. }
  797. }
  798. @media (min-width: 1200px) {
  799. .grid-group-item {
  800. width: 24%;
  801. height: 140px;
  802. margin-right: 1.3%;
  803. }
  804. }
  805. /* Helper classes to remove margin depending on the screen size */
  806. @media (min-width: 768px) and (max-width: 992px) {
  807. .grid-group-item:nth-child(3n) {
  808. margin-right: 0px;
  809. }
  810. }
  811. @media (min-width: 992px) and (max-width: 1200px) {
  812. .grid-group-item:nth-child(3n) {
  813. margin-right: 0px;
  814. }
  815. }
  816. @media (min-width: 1200px) {
  817. .grid-group-item:nth-child(4n) {
  818. margin-right: 0px;
  819. }
  820. }
  821. /****************/
  822. /* - List mode */
  823. /****************/
  824. /****************/
  825. /* Filter brick */
  826. /****************/
  827. .tile.tile-filter-brick .tile_filterbox .form-group:first-child {
  828. width: 100%;
  829. }
  830. .tile.tile-filter-brick .tile_filterbox input[type="text"] {
  831. width: 100%;
  832. }
  833. @media (max-width: 768px) {
  834. .tile.tile-filter-brick .tile_filterbox .form-group:first-child {
  835. margin-bottom: 5px;
  836. }
  837. }
  838. @media (min-width: 768px) {
  839. .tile.tile-filter-brick .tile_filterbox form {
  840. display: table;
  841. }
  842. .tile.tile-filter-brick .tile_filterbox .form-group:first-child {
  843. display: table-cell;
  844. }
  845. .tile.tile-filter-brick .tile_filterbox button[type="submit"] {
  846. margin-left: 5px;
  847. }
  848. }
  849. @media (min-width: 992px) {
  850. .tile.tile-filter-brick .tile_filterbox .form-group:first-child {
  851. display: table-cell;
  852. }
  853. }
  854. /*********/
  855. /* Forms */
  856. /*********/
  857. .form_field .form_mandatory .control-label:after {
  858. content: "\002a";
  859. position: relative;
  860. left: 3px;
  861. color: #ea7d1e;
  862. font-size: 0.9em;
  863. }
  864. /* InlineImage */
  865. .inline-image {
  866. cursor: pointer;
  867. cursor: zoom-in;
  868. }
  869. /* CaseLog field */
  870. .caselog_field_entry {
  871. border: 1px solid #ddd;
  872. border-top: none;
  873. }
  874. .caselog_field_entry_header {
  875. padding: 6px;
  876. font-size: 1em;
  877. border-bottom: 1px solid #fff;
  878. background-color: #f2f2f2;
  879. }
  880. .caselog_field_entry_button {
  881. display: block;
  882. width: 15px;
  883. height: 15px;
  884. text-align: center;
  885. line-height: 15px;
  886. font-size: 16px;
  887. border: 1px solid #a6a6a6;
  888. border-bottom-color: #979797;
  889. cursor: pointer;
  890. }
  891. .caselog_field_entry_button:hover {
  892. background-color: #ccc;
  893. }
  894. .caselog_field_entry_button:before {
  895. content: "▴";
  896. }
  897. .caselog_field_entry_button.collapsed:before {
  898. content: "▾";
  899. }
  900. .caselog_field_entry_content {
  901. margin: 10px;
  902. overflow-x: auto;
  903. }
  904. /* LinkedSet*/
  905. .form_linkedset_toggler, .form_linkedset_toggler:hover, .form_linkedset_toggler:focus {
  906. text-decoration: none;
  907. color: inherit;
  908. }
  909. .form_linkedset_toggler > .text {
  910. margin-left: 0.4em;
  911. }
  912. .form_linkedset_toggler > .text:before {
  913. content: "(";
  914. }
  915. .form_linkedset_toggler > .text:after {
  916. content: ")";
  917. }
  918. .form_linkedset_toggler > .glyphicon {
  919. margin-left: 0.5em;
  920. font-size: 0.85em;
  921. color: #ea7d1e;
  922. transition: transform 0.2s linear;
  923. }
  924. .form_linkedset_toggler > .glyphicon.collapsed {
  925. transform: rotateZ(-90deg);
  926. }
  927. /* - DataTables : Loader */
  928. .form_linkedset_wrapper .datatables_overlay {
  929. padding: 8px !important;
  930. }
  931. .form_linkedset_wrapper .overlay_content {
  932. font-size: 0.6em;
  933. }
  934. .form_linkedset_wrapper .content_loader {
  935. margin: 0px;
  936. }
  937. .form_linkedset_wrapper .content_loader .icon {
  938. height: 23px;
  939. }
  940. /* - DataTables : Fit the table in the form */
  941. .form_linkedset_wrapper .dataTables_wrapper {
  942. margin-bottom: 5px;
  943. padding: 0px;
  944. }
  945. /* FileUpload */
  946. .fileupload_field_content {
  947. padding: 8px 23px;
  948. border: 1px solid #ddd;
  949. background-color: #f9f9f9;
  950. }
  951. .fileupload_field_content > div {
  952. margin-bottom: 15px;
  953. }
  954. .attachments_container .attachment {
  955. height: 95px;
  956. overflow-x: hidden;
  957. text-align: center;
  958. }
  959. .attachments_container .attachment:hover {
  960. background-color: #e0e0e0;
  961. }
  962. .attachments_container .attachment .attachment_name {
  963. overflow-x: hidden;
  964. text-overflow: ellipsis;
  965. white-space: nowrap;
  966. }
  967. .attachments_container .attachment .btn {
  968. margin-top: 3px;
  969. }
  970. .upload_container input {
  971. display: inline;
  972. }
  973. .upload_container .loader {
  974. visibility: hidden;
  975. margin-left: 7px;
  976. font-size: 1.2em;
  977. animation: spin 1s linear infinite;
  978. -webkit-animation: spin 1s linear infinite;
  979. -moz-animation: spin 1s linear infinite;
  980. -ms-animation: spin 1s linear infinite;
  981. }
  982. #drag_overlay {
  983. display: block;
  984. top: inherit;
  985. bottom: 0px;
  986. height: 0px;
  987. }
  988. #drag_overlay .overlay_content {
  989. margin-top: 5em;
  990. width: 100%;
  991. color: white;
  992. }
  993. #drag_overlay .overlay_content .icon {
  994. font-size: 3em;
  995. }
  996. #drag_overlay .overlay_content .message {
  997. font-size: 1.5em;
  998. }
  999. /* Attachments drag & drop zone, only for none mobile devices */
  1000. @media (min-width: 768px) {
  1001. #drag_overlay.drag_in {
  1002. animation: show-drop-zone 0.3s ease-out forwards;
  1003. -webkit-animation: show-drop-zone 0.3s ease-out forwards;
  1004. -moz-animation: show-drop-zone 0.3s ease-out forwards;
  1005. -ms-animation: show-drop-zone 0.3s ease-out forwards;
  1006. }
  1007. #drag_overlay.drag_out {
  1008. animation: hide-drop-zone 0.3s ease-out forwards;
  1009. -webkit-animation: hide-drop-zone 0.3s ease-out forwards;
  1010. -moz-animation: hide-drop-zone 0.3s ease-out forwards;
  1011. -ms-animation: hide-drop-zone 0.3s ease-out forwards;
  1012. }
  1013. @keyframes show-drop-zone {
  1014. 100% {
  1015. height: 20%;
  1016. }
  1017. }
  1018. @-webkit-keyframes show-drop-zone {
  1019. 100% {
  1020. height: 20%;
  1021. }
  1022. }
  1023. @-moz-keyframes show-drop-zone {
  1024. 100% {
  1025. height: 20%;
  1026. }
  1027. }
  1028. @-ms-keyframes show-drop-zone {
  1029. 100% {
  1030. height: 20%;
  1031. }
  1032. }
  1033. @keyframes hide-drop-zone {
  1034. 0% {
  1035. height: 20%;
  1036. }
  1037. 100% {
  1038. height: 0%;
  1039. }
  1040. }
  1041. @-webkit-keyframes hide-drop-zone {
  1042. 0% {
  1043. height: 20%;
  1044. }
  1045. 100% {
  1046. height: 0%;
  1047. }
  1048. }
  1049. @-moz-keyframes hide-drop-zone {
  1050. 0% {
  1051. height: 20%;
  1052. }
  1053. 100% {
  1054. height: 0%;
  1055. }
  1056. }
  1057. @-ms-keyframes hide-drop-zone {
  1058. 0% {
  1059. height: 20%;
  1060. }
  1061. 100% {
  1062. height: 0%;
  1063. }
  1064. }
  1065. }
  1066. /* BlobField */
  1067. .form_fields .file_open_link {
  1068. margin-left: 10px;
  1069. }
  1070. .form_field .form-control-static img {
  1071. max-width: 100% !important;
  1072. height: initial !important;
  1073. }
  1074. .form_buttons {
  1075. padding-top: 20px;
  1076. text-align: center;
  1077. }
  1078. .form_buttons .form_btn_transitions {
  1079. margin-bottom: 20px;
  1080. }
  1081. .form_buttons .btn .glyphicon {
  1082. margin-right: 0.5em;
  1083. }
  1084. .form_btn_regular.sticky {
  1085. display: none;
  1086. }
  1087. @media (min-width: 768px) {
  1088. /* Making regular button sticky */
  1089. .form_buttons .form_btn_transitions {
  1090. float: right !important;
  1091. margin-left: 3px;
  1092. }
  1093. .form_buttons .form_btn_regular {
  1094. text-align: right;
  1095. }
  1096. .form_buttons .form_btn_regular btn {
  1097. width: inherit;
  1098. }
  1099. .form_btn_regular.sticky {
  1100. display: block;
  1101. position: fixed;
  1102. bottom: 5em;
  1103. right: -2px;
  1104. /* TODO : SASS this to col-xs-12 padding */
  1105. padding: 15px;
  1106. background-color: #fff;
  1107. border: 1px solid #ddd;
  1108. border-radius: 0px;
  1109. transition: right 0.3s;
  1110. }
  1111. .form_btn_regular.sticky.closed {
  1112. right: -75px;
  1113. }
  1114. .form_btn_regular.sticky button {
  1115. display: block;
  1116. }
  1117. .form_btn_regular.sticky button:first-child {
  1118. margin-bottom: 4px;
  1119. }
  1120. }
  1121. /* CKEditor : Adding BS error feedback */
  1122. .form_field div.cke {
  1123. border: 1px solid #ddd;
  1124. }
  1125. .form_field.has-error div.cke {
  1126. border: 1px solid #b94a48;
  1127. border-radius: 0px;
  1128. box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.075);
  1129. }
  1130. /* CKEditor : Styling notifications based on BS alerts */
  1131. .cke_notification {
  1132. position: relative;
  1133. padding: 15px;
  1134. margin-bottom: 18px;
  1135. border: 1px solid transparent;
  1136. border-radius: 4px;
  1137. background-color: #fff;
  1138. }
  1139. .cke_notification_close {
  1140. position: absolute;
  1141. top: 2px;
  1142. right: 5px;
  1143. }
  1144. .cke_notification_message {
  1145. margin-bottom: 0px;
  1146. line-height: 1em;
  1147. font-size: 1em;
  1148. }
  1149. .cke_notification_success {
  1150. display: none;
  1151. background-color: #dff0d8;
  1152. border-color: #d6e9c6;
  1153. color: #468847;
  1154. }
  1155. .cke_notification_warning {
  1156. background-color: #fcf8e3;
  1157. border-color: #fbeed5;
  1158. color: #c09853;
  1159. }
  1160. /* CKEditor : Misc */
  1161. .cke_toolbox_collapser, .cke_toolbox_collapser .cke_arrow {
  1162. cursor: pointer !important;
  1163. }
  1164. /* DataTables : Selection inputs */
  1165. .dataTable.table th span.row_input, .dataTable.table td span.row_input {
  1166. display: inline-block;
  1167. width: 100%;
  1168. text-align: center;
  1169. }
  1170. /* Wiki text (hyperlinks) */
  1171. .wiki_broken_link {
  1172. text-decoration: line-through;
  1173. }