vaccarini-lorenzo_MagicCale.../styles.css
2023-10-29 23:26:19 +01:00

375 lines
6.8 KiB
CSS

/* SETTINGS */
.magicCalendarServiceProviderRow {
width: 500px;
/*border:10px solid white;*/
display: grid;
grid-template-columns: auto auto;
justify-content: space-evenly;
align-self: auto;
}
.magicCalendarServiceIcon {
margin: 30px;
}
.magicCalendarServiceProviderButton {
position: relative;
align-self: center;
height: 150px;
width: 150px;
background: #fff;
border-radius: 20px;
box-shadow: 0 5px 10px 0 rgba(0, 0, 0, 0.5);
display: flex;
justify-content: center;
transition: transform .5s ease;
}
.magicCalendarServiceProviderButton:hover {
transform: scale(1.05);
}
.magicCalendarModalSize {
/*border:10px solid white;*/
width: 600px;
height: 300px;
position: relative;
left: 0;
right: 0;
top: 0;
bottom: 0;
margin: auto;
max-width: 100%;
max-height: 100%;
overflow: auto;
display: flex;
flex-direction: column;
align-items: center;
text-align: center;
}
.magicCalendarTitleFlexBox{
align-items: center;
display: flex;
justify-content: space-between;
margin: 0 auto;
width: 100%;
}
.magicCalendarGoBackButton {
justify-content: flex-start;
align-self: flex-start;
margin: 0;
padding: 0;
transform: translate(-5%, 35%);
}
.magicCalendarSettingTitle {
margin: 10px 0 50px 0;
}
.magicCalendarSetting {
width: 100%;
align-self: flex-start;
padding: 5px;
}
.magicCalendarLoggedInSummaryRow {
width: 70%;
display: grid;
grid-template-columns: auto auto;
justify-content: flex-start;
text-align: left;
}
.magicCalendarSettingListContainer {
max-height: 200px;
overflow-y: scroll;
border-radius: 5px;
float: right; /* This aligns the container to the right */
border: none; /* This removes the border */
}
.magicCalendarSettingListContainer::-webkit-scrollbar {
width: 0.5em; /* Adjust as needed */
}
.magicCalendarSettingListContainer::-webkit-scrollbar-thumb {
background-color: #ccc; /* Adjust the color as needed */
border-radius: 4px;
}
.magicCalendarSettingListItem {
display: flex;
align-items: center;
margin: 10px 0;
}
.magicCalendarSettingListText {
flex-grow: 1;
}
.magicCalendarSettingListDeleteIcon {
width: 45px;
padding: 10px;
}
/* TEXT HIGHLIGHT */
.highlightedTextStatic {
background-color: #3c2c54;
position: relative;
color: white;
padding: 3px;
}
.underlinedTextDynamic {
-webkit-animation: 0.6s underline 0.3s 1 normal forwards;
background: linear-gradient(90deg, #503d6e 50%, rgba(255, 255, 255, 0) 50%);
background-size: 200% 15%;
padding: 2px;
background-position: 200% 135%;
background-repeat: no-repeat;
pointer-events: none;
}
@-webkit-keyframes underline {
to {
background-position: 0 100%;
}
}
@keyframes underline {
to {
background-position: 0 100%;
}
}
@-webkit-keyframes highlight {
to {
background-position: 0 0;
}
}
@keyframes highlight {
to {
background-position: 0 0;
}
}
/* TEXT HOVER BUBBLE */
ul.magicCalendarNavUL {
margin: 0;
padding: 0;
display: inline-block;
}
ul.magicCalendarNavUL span {
display: block;
position: relative;
text-decoration: none;
}
.magicCalendarHoverBubble {
font-size: 70%;
width: max-content;
background: #d5d5d5;
color: #1c1c1c;
opacity: 0;
padding: 10px;
position: absolute;
visibility: hidden;
border-radius: 3px;
transition: all 0.25s;
/*display: flex;*/
flex-direction: column;
align-items: center;
justify-content: center;
}
.magicCalendarHoverBubble p {
text-align: center;
display: flex;
flex-direction: column;
padding: 5px;
}
.magicCalendarHoverBubble button {
display: block;
margin: 0 auto;
text-align: center;
}
.magicCalendarBubblePosition {
top: 100%;
height: inherit;
left: 0;
bottom: auto;
}
.magicCalendarHoverBubble:after,
.magicCalendarBubblePosition:after {
border: 9px solid transparent;
border-top-color: #d5d5d5;
top: -15px;
content: '';
height: 0;
left: 0;
margin: 0 auto;
position: absolute;
right: 0;
width: 0;
rotate: 180deg;
}
.magicCalendarGridContainer {
/*border:1px solid #000;*/
display: grid;
grid-template-columns: auto auto;
grid-gap: 10px;
}
/* Bubble hover */
ul.magicCalendarNavUL span:hover .magicCalendarHoverBubble {
opacity: 1;
visibility: visible;
transition: all 0.25s;
z-index: 5;
}
.magicCalendarGridRow {
/* border:1px solid #000; */
display: grid;
grid-template-columns: auto auto;
padding: 10px 0 0 0;
}
.magicCalendarSyncButton.magicCalendarSyncButton {
padding: 0;
text-align: center;
background-color: #1c1c1c;
color: #d5d5d5;
margin: 5%;
}
.magicCalendarIconBar {
/*border:1px solid #000;*/
font-size: 170%;
margin: -5px;
align-self: center;
}
.magicCalendarEventDataBar {
font-size: 85%;
align-self: center;
white-space: initial;
}
/* INLINE EVENT VIEW */
.magicCalendarTableWrapper {
width: 100rem;
overflow: auto;
}
.magicCalendarTable {
border-top: transparent;
border-bottom: white;
border-left: transparent;
border-right: transparent;
font-size: 60%;
max-width: 100px;
}
.magicCalendarTh {
border-top: transparent;
border-bottom: white;
border-left: transparent!important;
border-right: transparent!important;
font-weight: normal;
font-size: 10px!important;
}
.magicCalendarTd {
border-top: transparent!important;
border-bottom: white;
border-left: transparent!important;
border-right: transparent!important;
font-size: 50%;
border-radius: 0.5rem;
user-select: none;
opacity: 1;
transition: transform .5s ease;
}
.magicCalendarTd.dottedBorder {
border-left: 1px dotted white!important;
}
@keyframes glowing-border {
0% {
border-color: white;
box-shadow: 0 0 10px #6a5194;
}
50% {
border-color: white;
box-shadow: 0 0 20px #58457c;
}
100% {
border-color: white;
box-shadow: 0 0 10px #503d6e;
}
}
.magicCalendarTd.hovered {
animation: glowing-border 1s infinite;
transform: scale(1.12);
}
.magicCalendarShiftedCell {
position: relative;
transform: translateX(-50%);
min-width: 2rem!important;
max-width: 2rem!important;
overflow: visible!important;
white-space: nowrap;
font-size: 12px!important;
}
.magicCalendarEventBox {
box-shadow: 0 2.5rem 2rem -2rem hsl(200 50% 20% / 40%);
}
.palette-0 {background-color: #8C54FC;}
.palette-1 {background-color: #8850F5;}
.palette-2 {background-color: #8551F0;}
.palette-3 {background-color: #844DD5;}
.palette-4 {background-color: #7D4CDC;}
.palette-5 {background-color: #7A49D7;}
.palette-6 {background-color: #7747D2;}
.palette-7 {background-color: #7544C9;}
.palette-8 {background-color: #713FBB;}
.palette-9 {background-color: #6F3CAF;}
.palette-10 {background-color: #6D38A4;}
.palette-11 {background-color: #6A349B;}
.palette-12 {background-color: #673092;}
.palette-13 {background-color: #642C8A;}
.palette-14 {background-color: #612B81;}
.palette-15 {background-color: #5E2678;}
.palette-16 {background-color: #5B236F;}
.palette-17 {background-color: #581E65;}
.palette-18 {background-color: #551B5B;}
.palette-19 {background-color: #521852;}
.palette-20 {background-color: #4F1549;}
.palette-21 {background-color: #4C1340;}