main.css 8.8 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443
  1. .module-notification .container-fluid {
  2. padding-top: 50px;
  3. }
  4. .module-notification .container-fluid #message {
  5. margin-top: 16px;
  6. }
  7. #notifications > .no-notification {
  8. background-color: #ffffff;
  9. border-radius: 3px;
  10. padding: 2.5rem;
  11. color: #545454;
  12. border-bottom: 1px solid #cecece;
  13. }
  14. .notification_menu{
  15. display: inline-block;
  16. user-select: none;
  17. }
  18. .notification_menu .dropdown-toggle::after{
  19. display:none;
  20. }
  21. .notification_menu .dropdown-toggle{
  22. position: relative;
  23. font-size: 20px;
  24. }
  25. .notification_menu .dropdown-menu {
  26. padding: 0;
  27. }
  28. .notification_menu .notification-item p {
  29. overflow-y: hidden;
  30. height: 20px;
  31. /*max-height: 80px;*/
  32. }
  33. .btn .badge.notification-number{
  34. padding: 4px 6px;
  35. position: absolute;
  36. right: -1px;
  37. height: 19px;
  38. top: 0;
  39. font-size: 10px;
  40. z-index: 1;
  41. }
  42. .btn .badge.notification-number.more-unreads {
  43. padding: 3px 4px;
  44. height: 17px;
  45. }
  46. .notification-template{
  47. display: none;
  48. }
  49. ul.notifications {
  50. width: 100%;
  51. /*min-width: 500px;
  52. max-width: 800px;
  53. margin: auto;*/
  54. padding: 0;
  55. }
  56. .notification_menu .dropdown-item.notification {
  57. text-align: center;
  58. padding: 1.5rem;
  59. opacity: 1;
  60. }
  61. .notification-item.pinned .btn-delete{
  62. display:none;
  63. }
  64. ul.notifications > li.unread{
  65. /*border-left: 5px solid #00a9ff;*/
  66. color: #212529;
  67. opacity: 1;
  68. }
  69. .notification_menu .dropdown-item.notification-unread {
  70. opacity: 1;
  71. background-color: #95c8ff0d;
  72. position: relative;
  73. }
  74. .dropdown-item.notification-unread:before {
  75. content: "";
  76. position: absolute;
  77. height: 100%;
  78. width: 3px;
  79. left: 0px;
  80. top: calc((100% - 100%) / 2);
  81. /*border-left: 3px solid #00a9ff;*/
  82. border-radius: 5px;
  83. transform: rotate(-180deg);
  84. }
  85. .dropdown-item.notification-unread:hover {
  86. background-color: #95c8ff2e;
  87. }
  88. ul.notifications > li{
  89. position: relative;
  90. padding: 15px;
  91. padding-right: 20%;
  92. border-bottom: 1px solid #ebebeb;
  93. list-style-type: none;
  94. border-radius: 3px;
  95. background-color: #ffffff;
  96. margin-top: 10px;
  97. margin-bottom: 10px;
  98. opacity: 0.5;
  99. color: #a7a7a7;
  100. transition: all 0.2s ease-in-out;
  101. }
  102. .notification-options {
  103. position: absolute;
  104. right: 10px;
  105. text-align: right;
  106. top: 10px;
  107. height: 80%;
  108. width: 20%;
  109. }
  110. .notification-options > small {
  111. position: absolute;
  112. bottom: 0;
  113. width: 100%;
  114. display: block;
  115. }
  116. .notification_menu .dropdown-toggle:hover i{
  117. -webkit-transform-origin: top center;
  118. -ms-transform-origin: top center;
  119. transform-origin: top center;
  120. -webkit-animation-name: swing;
  121. animation-name: swing;
  122. -webkit-animation-duration: 1s;
  123. animation-duration: 1s;
  124. -webkit-animation-fill-mode: both;
  125. animation-fill-mode: both;
  126. }
  127. .notification_menu .dropdown-item {
  128. cursor: pointer;
  129. height: 70px;
  130. overflow: hidden;
  131. text-overflow: ellipsis;
  132. white-space: nowrap;
  133. position: relative;
  134. transition: background-color 0.1s ease-out;
  135. padding: .8rem;
  136. padding-right: 5rem;
  137. font-size: 0.9em;
  138. opacity: 0.5;
  139. }
  140. .notification_menu .dropdown-item > * {
  141. overflow: hidden;
  142. text-overflow: ellipsis;
  143. white-space: nowrap;
  144. }
  145. .notification_menu .dropdown-item p {
  146. margin: 0;
  147. }
  148. .notification_menu .dropdown-divider {
  149. margin: 0;
  150. border-top: 1px solid #dadada;
  151. }
  152. .notification_menu .dropdown-item.active,
  153. .notification_menu .dropdown-item:active {
  154. color: #212529;
  155. background-color: #007bff1f;
  156. }
  157. .notification_menu .all-as-read,
  158. .notification_menu .see-all-link {
  159. padding: 0.25rem;
  160. height: 25px;
  161. text-align: center;
  162. color: #0077b3;
  163. font-size: 0.7em;
  164. opacity: 1;
  165. }
  166. .notification_menu .all-as-read {
  167. text-align: right;
  168. }
  169. .notification_menu .all-as-read:hover,
  170. .notification_menu .see-all-link:hover {
  171. text-decoration: underline;
  172. }
  173. .notification-item-options + small {
  174. position: absolute;
  175. right: 6px;
  176. top: 6px;
  177. color: #a5a5a5;
  178. }
  179. .notification-item-options{
  180. /*position: absolute;
  181. right: 5px;
  182. top: 0;*/
  183. position: absolute;
  184. right: 5px;
  185. bottom: 0;
  186. margin-bottom: 0;
  187. }
  188. .notification-item-options > li{
  189. list-style-type: none;
  190. display: inline-block;
  191. padding: 5px 0.2rem;
  192. font-size: 14px;
  193. cursor: pointer;
  194. opacity: 0.5;
  195. color:#bebebe;
  196. transition:opacity 0.2s ease-in-out;
  197. }
  198. .notification-item-options > li:hover{
  199. opacity:1;
  200. }
  201. .notification-item-options > li.notification-read:hover {
  202. color: #17a2b8;
  203. }
  204. .notification-item-options > li.notification-delete:hover {
  205. color: #dc3545;
  206. }
  207. .notification_menu .dropdown-menu {
  208. width: 400px;
  209. text-align: left;
  210. /*max-height: 60vh;*/
  211. /*overflow: auto;*/
  212. }
  213. .notification_menu .dropdown-menu.dropdown-menu-right:after {
  214. position: absolute;
  215. top: -6px;
  216. right: 15px;
  217. display: inline-block;
  218. border-right: 6px solid transparent;
  219. border-bottom: 6px solid #ffffff;
  220. border-left: 6px solid transparent;
  221. content: '';
  222. }
  223. .notification_categories > .categories-items > .col-md-6 {
  224. padding: 5px 15px
  225. }
  226. .notification_categories .list-group-item.list-group-item-action {
  227. /*cursor: pointer;*/
  228. }
  229. .categories-items > .col-md-6 > div {
  230. cursor: pointer;
  231. user-select: none;
  232. }
  233. .module-notification,.module-notification body{
  234. min-height: 100%;
  235. height: 100%;
  236. background-color: #f4f4f4;
  237. margin-bottom: 0;
  238. }
  239. .module-notification .container-fluid{
  240. height: 100%;
  241. background-color: #f4f4f4;
  242. }
  243. .module-notification .footer{
  244. display: none;
  245. }
  246. .notifications-list{
  247. height: 100%;
  248. display: flex;
  249. }
  250. .notification-summary{
  251. background-color: #ffffff;
  252. padding:15px;
  253. width: 350px;
  254. box-shadow: 1px 0 3px rgba(0,0,0,0.1)
  255. }
  256. .notification-detail{
  257. padding:15px;
  258. flex: 1;
  259. }
  260. /* modif A.C. */
  261. .notifications-list .categories,
  262. .notifications-list .items{
  263. list-style: none;
  264. padding: 0px
  265. }
  266. .notifications-list .category{
  267. margin-bottom: 7px;
  268. }
  269. .notifications-list .categoryLabel{
  270. font-size: 1.15rem;
  271. padding-left:5px;
  272. }
  273. .notifications-list .categoryIcon{
  274. vertical-align: top;
  275. font-size: 0.8rem;
  276. line-height: 1.8rem;
  277. cursor: pointer;
  278. transition: transform 0.1s ease-in-out;
  279. }
  280. .notifications-list .category.folded .categoryIcon{
  281. transform: rotate(90deg);
  282. transform-origin: center;
  283. }
  284. .notifications-list .category.folded .items{
  285. display: block;
  286. }
  287. .notifications-list .items{
  288. display: none;
  289. padding-left: 10px;
  290. }
  291. .notifications-list .item{
  292. margin-bottom: 4px;
  293. padding-left: 10px;
  294. }
  295. @-webkit-keyframes swing {
  296. 20% {
  297. -webkit-transform: rotate3d(0, 0, 1, 15deg);
  298. transform: rotate3d(0, 0, 1, 15deg);
  299. }
  300. 40% {
  301. -webkit-transform: rotate3d(0, 0, 1, -10deg);
  302. transform: rotate3d(0, 0, 1, -10deg);
  303. }
  304. 60% {
  305. -webkit-transform: rotate3d(0, 0, 1, 5deg);
  306. transform: rotate3d(0, 0, 1, 5deg);
  307. }
  308. 80% {
  309. -webkit-transform: rotate3d(0, 0, 1, -5deg);
  310. transform: rotate3d(0, 0, 1, -5deg);
  311. }
  312. 100% {
  313. -webkit-transform: rotate3d(0, 0, 1, 0deg);
  314. transform: rotate3d(0, 0, 1, 0deg);
  315. }
  316. }
  317. @keyframes swing {
  318. 20% {
  319. -webkit-transform: rotate3d(0, 0, 1, 15deg);
  320. transform: rotate3d(0, 0, 1, 15deg);
  321. }
  322. 40% {
  323. -webkit-transform: rotate3d(0, 0, 1, -10deg);
  324. transform: rotate3d(0, 0, 1, -10deg);
  325. }
  326. 60% {
  327. -webkit-transform: rotate3d(0, 0, 1, 5deg);
  328. transform: rotate3d(0, 0, 1, 5deg);
  329. }
  330. 80% {
  331. -webkit-transform: rotate3d(0, 0, 1, -5deg);
  332. transform: rotate3d(0, 0, 1, -5deg);
  333. }
  334. 100% {
  335. -webkit-transform: rotate3d(0, 0, 1, 0deg);
  336. transform: rotate3d(0, 0, 1, 0deg);
  337. }
  338. }
  339. /* .notifications-list {
  340. margin-bottom: 60px;
  341. }
  342. .notifications-list h3 {
  343. margin-bottom: 15px;
  344. }
  345. .notifications-list .sidebar {
  346. user-select: none;
  347. position: fixed;
  348. padding: 15px;
  349. padding-bottom: 10px;
  350. width: 360px;
  351. height: 100%;
  352. z-index: 1;
  353. border-right: 1px solid #f5f5f5;
  354. background: #f5f5f5;
  355. }
  356. .notifications-list .sidebar .summary {
  357. font-size: 1.05em;
  358. }
  359. .notifications-list .summary > div {
  360. margin: auto;
  361. }
  362. .notifications-list .summary > div > i,
  363. .notifications-list .summary > div > .badge {
  364. margin: auto 0;
  365. }
  366. .notifications-list .sidebar .summary:hover i {
  367. -webkit-transform-origin: top center;
  368. -ms-transform-origin: top center;
  369. transform-origin: top center;
  370. -webkit-animation-name: swing;
  371. animation-name: swing;
  372. -webkit-animation-duration: 1s;
  373. animation-duration: 1s;
  374. -webkit-animation-fill-mode: both;
  375. animation-fill-mode: both;
  376. }
  377. .notifications-list .sidebar .summary:hover {
  378. transition: all 0.15s ease-in-out;
  379. }
  380. .notifications-list ul.notification-listing {
  381. padding-left: 20px;
  382. }
  383. .notifications-list ul.notification-listing li {
  384. list-style: none;
  385. }
  386. .notifications-list ul.sub-categories.collapsing {
  387. transition-duration: 0.15s;
  388. }
  389. .notifications-list ul.sub-categories li {
  390. padding: 0.25rem 1.25rem;
  391. padding-left: 2rem;
  392. }
  393. .notifications-list ul.sub-categories span.label {
  394. font-size: 0.9em;
  395. } */
  396. .notificationType{
  397. list-style: none;
  398. padding: 0px;
  399. }
  400. .notificationType > li{
  401. display: inline-block;
  402. margin-right: 1rem;
  403. }
  404. @media (max-width: 767px){
  405. #loginHeader #dropdownNotification {
  406. text-align: center;
  407. }
  408. div.notification_menu.dropdown {
  409. position: unset;
  410. }
  411. .notification_menu .dropdown-menu.dropdown-menu-right:after {
  412. right: 74px;
  413. }
  414. .notification_menu .dropdown-menu {
  415. width: 100% !important;
  416. }
  417. .btn .badge.notification-number {
  418. right: 50% !important;
  419. }
  420. .notifications-list .sidebar {
  421. position: initial;
  422. }
  423. ul.notifications {
  424. min-width: 0;
  425. }
  426. }