UNPKG

@ale-rainbow/rainbow-notification

Version:

Alcatel-Lucent Enterprise Rainbow Notification

499 lines (421 loc) 9.71 kB
*, *::before, *::after { box-sizing: inherit; } html { width: 100%; height: 100%; box-sizing: border-box; font-size: 62.5%; line-height: 1.5; -webkit-text-size-adjust: 100%; -ms-text-size-adjust: 100%; } .extCallNotification { display: flex; flex-direction: column; align-items: center; text-align: center; width: 290px; padding: 30px 10px 10px; border: none; background-color: #eaeaea; user-select: none; line-height: 1.8rem; font-size: 1.3rem; } .extCallNotification-reset--button { color: currentcolor; padding: 0; border: none; background-color: transparent; } .extCallNotificationMain { width: 100%; } .extCallNotif__img { width: 100px; height: 100px; border-radius: 50%; margin-bottom: 12px; } .extCallNotif__webinarImg { margin: -16px 0 5px; border-radius: 4px; width: 100%; } .extCallNotif__roomImg { margin-bottom: 12px; display: flex; justify-content: center; } .extCallNotif__origin { margin-top: 10px; font-size: 1.5rem; font-weight: 600; color: #5e5e5e; word-break: break-word; } .extCallNotif__message { margin-top: 5px; font-size: 1.2rem; color: #7a8386; max-height: 54px; overflow: hidden; text-overflow: ellipsis; } .extCallNotif__mdMessage { text-align: left; font-size: 1.2rem; margin: 5px; h1 { font-size: 1.6rem; font-weight: 600; margin-bottom: 4px; } h2 { font-size: 1.4rem; font-weight: 600; margin-bottom: 3px; } h3 { font-size: 1.3rem; font-weight: 500; margin-bottom: 2px; } ul { list-style-type: circle; list-style-position: inside; } ol { list-style-type: decimal; list-style-position: inside; } img { width: 100%; } p { margin: 7px 0; } } .extCallNotif__infoTitle { font-size: 1.1rem; font-weight: 600; color: #5e5e5e; } .extCallNotif__infoMessage { font-size: 1.2rem; color: #7a8386; overflow-wrap: break-word; } .extCallNotif__callSubject { margin-top: 10px; font-size: 1.5rem; font-weight: 600; color: #5e5e5e; overflow-wrap: break-word; } .extCallNotif__actions { margin-top: 22px; width: 100%; } .extCallNotif__calledMessage { font-size: 1.1rem; margin-top: 10px; color: #5e5e5e; } .extCallNotif__called { font-size: 1.5rem; font-weight: 600; text-overflow: ellipsis; color: #4a4a4a; overflow: hidden; } .extCallNotif__choices { color: #5e5e5e; border-radius: 4px; position: absolute; bottom: 16px; width: 270px; opacity: 0; transition: opacity 0.2s ease-out; z-index: -1; overflow: hidden; list-style: none; padding: 0; margin: 0; } .extCallNotif__choice { padding: 10px; cursor: pointer; align-items: center; background-color: #d5d8dc; } .extCallNotif__choice:not(:last-of-type) { border-bottom: solid 1px #c9cbce; } .extCallNotif__choice:last-of-type { border-radius: 0 0 4px 4px; } .extCallNotif__choice:hover { background: #cecece; } .extCallNotif__button--content { display: flex; align-items: center; justify-content: center; flex: 1; } .extCallNotif__button { position: relative; } .extCallNotif__button, .extCallNotif__choiceClose { display: flex; justify-content: center; align-items: center; width: 100%; border-radius: 4px; color: #5e5e5e; background-color: #d5d8dc; margin-bottom: 6px; padding: 6px; line-height: normal; cursor: pointer; min-height: 34px; box-sizing: border-box; } .extCallNotif__choiceClose { margin-top: 3px; margin-bottom: 0; background-color: #5e5e5e; color: white; } .extCallNotif__button:hover { background-color: #cecece; } .extCallNotif__choice-title { padding: 10px; background-color: #8e8e93; color: white; } .extCallNotif__button--primary { color: white; background-color: #2570e0; } .extCallNotif__button--primary:hover { background-color: #1a59b7; } .extCallNotif__button--secondary { color: #2570e0; border: solid 1px #2570e0; background: transparent; } .extCallNotif__button--secondary:hover { color: white; background-color: #2570e0; } .extCallNotif__button--green { color: white; background-color: #56a945; } .extCallNotif__button--green:hover { background-color: #5daf4c; } .extCallNotif__button--red { color: white; background-color: #d93f3f; } .extCallNotif__button--red:hover { background-color: #da5d5d; } .extCallNotif__icon { width: 22px; height: 22px; margin-right: 4px; fill: white; } .extCallNotif__arrow { border-left: solid 1px #7bc16d; margin: -5px -3px -5px auto; } .extCallNotif__arrow div { border-radius: 2px; display: flex; width: 28px; height: 28px; margin-left: 2px; } .extCallNotif__arrow div:hover { background-color: #7bc16d; } .extCallNotif__arrow svg { width: 22px; height: 22px; margin: auto; fill: white; } .extCallNotif__options { position: absolute; background: #f9fafb; border-radius: 3px; box-shadow: 0 2px 6px rgb(33 33 33 / 42%); padding: 5px; margin-bottom: 5px; opacity: 0; transition: opacity 0.2s ease-out; z-index: -1; width: 100%; bottom: 35px; color: #5f5f63; } .extCallNotif__option { padding: 5px; cursor: pointer; display: flex; align-items: center; font-size: 1.2rem; } .extCallNotif__option svg { width: 18px; height: 18px; margin-right: 4px; fill: #5f5f63; } .extCallNotif__option:hover { background-color: #e7eaed; border-radius: 2px; } .extCallNotif__option--header { background-color: #e7eaed; border-radius: 2px; padding: 5px 12px; margin-bottom: 3px; font-size: 1.2rem; text-align: left; } .extCallNotif__close { margin: 3px; top: 0px; right: 0px; position: absolute; width: 25px; height: 25px; display: flex; cursor: pointer; color: #5e5e5e; background-color: #d5d8dc; } .extCallNotif__close:hover { border-radius: 4px; background-color: #cecece; } .extCallNotif__trivial--big { position: relative; display: grid; grid-template: 1fr 1fr / 1fr 1fr; width: 100px; height: 100px; border-radius: 50%; border: 3px solid #ffffff; user-select: none; overflow: hidden; transform: rotate(45deg); } .extCallNotif__trivial__avatar--default { grid-row: 1 / -1; grid-column: 1 / -1; overflow: hidden; } .extCallNotif__trivial__avatar--default .extCallNotif__trivial__img { object-fit: cover; width: 100%; height: 100%; transform: rotate(-45deg); } /* HALF SPLITTED */ .extCallNotif__trivial__avatar--1o2, .extCallNotif__trivial__avatar--2o2, .extCallNotif__trivial__avatar--1o3, .extCallNotif__trivial__avatar--2o3, .extCallNotif__trivial__avatar--3o3 { grid-row: 1 / -1; border: solid #ffffff; border-width: 0 1px 0 0; overflow: hidden; } .extCallNotif__trivial__avatar--1o2 .extCallNotif__trivial__img, .extCallNotif__trivial__avatar--2o2 .extCallNotif__trivial__img, .extCallNotif__trivial__avatar--1o3 .extCallNotif__trivial__img, .extCallNotif__trivial__avatar--2o3 .extCallNotif__trivial__img, .extCallNotif__trivial__avatar--3o3 .extCallNotif__trivial__img { object-fit: cover; width: 200%; height: 100%; transform: rotate(-45deg) translate(-10%, -10%); } .extCallNotif__trivial__avatar--2o2 { border-width: 0 0 0 1px; } .extCallNotif__trivial__avatar--2o2 .extCallNotif__trivial__img { transform: rotate(-45deg) translate(-22%, -22%); } .extCallNotif__trival__avatar--grey { background: #868da7; } /* THIRD SPLITTED */ .extCallNotif__trivial__avatar--2o3, .extCallNotif__trivial__avatar--3o3 { grid-row: 1 / 2; border-width: 0 0 1px 1px; } .extCallNotif__trivial__avatar--2o3 .extCallNotif__trivial__img, .extCallNotif__trivial__avatar--3o3 .extCallNotif__trivial__img { width: 150%; height: 150%; transform: rotate(-45deg) translate(-10%, -22%); } .extCallNotif__trivial__avatar--3o3 { grid-row: 2 / 3; border-width: 1px 0 0 1px; } .extCallNotif__trivial__avatar--3o3 .extCallNotif__trivial__img { transform: rotate(-45deg) translate(-2%, -35%); } /* FOURTH SPLITTED */ .extCallNotif__trivial__avatar--1o4, .extCallNotif__trivial__avatar--2o4, .extCallNotif__trivial__avatar--3o4, .extCallNotif__trivial__avatar--4o4 { border: solid #ffffff; border-width: 0 1px 1px 0; overflow: hidden; } .extCallNotif__trivial__avatar--1o4 .extCallNotif__trivial__img, .extCallNotif__trivial__avatar--2o4 .extCallNotif__trivial__img, .extCallNotif__trivial__avatar--3o4 .extCallNotif__trivial__img, .extCallNotif__trivial__avatar--4o4 .extCallNotif__trivial__img { object-fit: cover; width: 150%; height: 150%; transform: rotate(-45deg) translateY(-10%); } .extCallNotif__trivial__avatar--2o4 { border-width: 0 0 1px 1px; } .extCallNotif__trivial__avatar--2o4 .extCallNotif__trivial__img { transform: rotate(-45deg) translate(-10%, -22%); } .extCallNotif__trivial__avatar--3o4 { border-width: 1px 1px 0 0; } .extCallNotif__trivial__avatar--3o4 .extCallNotif__trivial__img { transform: rotate(-45deg) translate(5%, -22%); } .extCallNotif__trivial__avatar--4o4 { border-width: 1px 0 0 1px; } .extCallNotif__trivial__avatar--4o4 .extCallNotif__trivial__img { transform: rotate(-45deg) translateY(-25%); }