initial commit - code moved to separate repo
This commit is contained in:
269
styles/styles.css
Normal file
269
styles/styles.css
Normal file
@ -0,0 +1,269 @@
|
||||
/* * {
|
||||
box-sizing: border-box;
|
||||
} */
|
||||
body {
|
||||
font-family: ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, "Noto Sans", sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol", "Noto Color Emoji";
|
||||
padding: 0 1rem 1rem 1rem;
|
||||
max-width: 768px;
|
||||
margin: 0 auto;
|
||||
background: #fff;
|
||||
color: #333;
|
||||
}
|
||||
|
||||
main {
|
||||
/* padding: 1rem;
|
||||
margin: 13rem */
|
||||
}
|
||||
|
||||
li,
|
||||
p {
|
||||
line-height: 1.5rem;
|
||||
}
|
||||
|
||||
a {
|
||||
font-weight: 500;
|
||||
}
|
||||
|
||||
hr {
|
||||
border: 1px solid #ddd;
|
||||
}
|
||||
|
||||
iframe {
|
||||
background: #ccc;
|
||||
border: 1px solid #ccc;
|
||||
height: 10rem;
|
||||
width: 100%;
|
||||
border-radius: 0.5rem;
|
||||
filter: invert(1);
|
||||
}
|
||||
|
||||
.modal-content {
|
||||
z-index: 1002; /* or a higher value if necessary */
|
||||
}
|
||||
|
||||
.modal-overlay {
|
||||
z-index: 1001;
|
||||
}
|
||||
.publisher {
|
||||
position: relative;
|
||||
cursor: pointer;
|
||||
}
|
||||
|
||||
.publisher:hover .publisher-tooltip {
|
||||
display: block;
|
||||
}
|
||||
.publisher-tooltip {
|
||||
display: none;
|
||||
position: absolute;
|
||||
bottom: 100%;
|
||||
left: 50%;
|
||||
transform: translateX(-50%);
|
||||
padding: 5px;
|
||||
background-color: #333;
|
||||
color: #fff;
|
||||
border-radius: 3px;
|
||||
white-space: nowrap;
|
||||
transition: opacity 0.3s, color 0.3s;
|
||||
}
|
||||
|
||||
/* genral tooltip * /
|
||||
/* Tooltip Container * /
|
||||
[tooltip] {
|
||||
position: relative;
|
||||
cursor: pointer;
|
||||
}
|
||||
|
||||
/* Tooltip Text * /
|
||||
[tooltip]::after {
|
||||
content: attr(tooltip);
|
||||
display: none;
|
||||
position: absolute;
|
||||
bottom: 100%;
|
||||
left: 50%;
|
||||
transform: translateX(-50%);
|
||||
padding: 5px;
|
||||
background-color: #333;
|
||||
color: #fff;
|
||||
border-radius: 3px;
|
||||
white-space: nowrap;
|
||||
transition: opacity 0.3s, color 0.3s;
|
||||
}
|
||||
|
||||
/* Show the Tooltip Text on Hover * /
|
||||
[tooltip]:hover::after {
|
||||
display: block;
|
||||
}
|
||||
|
||||
/* -- genral tooltip -- */
|
||||
|
||||
.customCalendar {
|
||||
width: 400px !important;
|
||||
/* Add any additional styles you need */
|
||||
}
|
||||
|
||||
|
||||
.disabled {
|
||||
opacity: 0.6;
|
||||
pointer-events: none;
|
||||
}
|
||||
|
||||
.loading-overlay {
|
||||
position: fixed;
|
||||
top: 0;
|
||||
left: 0;
|
||||
width: 100%;
|
||||
height: 100%;
|
||||
background-color: rgba(0, 0, 0, 0.5);
|
||||
display: flex;
|
||||
justify-content: center;
|
||||
align-items: center;
|
||||
z-index: 1000;
|
||||
}
|
||||
|
||||
@media (max-width: 768px) {
|
||||
.sidebar {
|
||||
display: none; /* Hide sidebar on small screens */
|
||||
}
|
||||
.main-content {
|
||||
margin-left: 0; /* Use full width */
|
||||
}
|
||||
}
|
||||
|
||||
*,
|
||||
*::before,
|
||||
*::after {
|
||||
box-sizing: border-box;
|
||||
}
|
||||
.flex-item {
|
||||
flex-grow: 1;
|
||||
flex-shrink: 1;
|
||||
flex-basis: auto; /* Adjust as needed */
|
||||
}
|
||||
.container {
|
||||
overflow-x: hidden; /* Hide horizontal overflow */
|
||||
overflow-y: auto; /* Vertical scroll only when needed */
|
||||
}
|
||||
|
||||
/* CALENDAR */
|
||||
.icon-large {
|
||||
font-size: 16px; /* Example size, adjust as needed */
|
||||
}
|
||||
.rbc-calendar {
|
||||
font-family: sans-serif;
|
||||
font-size: 18px;
|
||||
}
|
||||
|
||||
.rbc-toolbar-label {
|
||||
font-size: 18px; /* Increased font size */
|
||||
font-weight: 600; /* Making the font weight bolder */
|
||||
color: #2c3e50; /* Using a darker color for better contrast */
|
||||
padding: 8px 12px; /* Adding some padding */
|
||||
margin: 0 10px; /* Adding margin for spacing */
|
||||
border-radius: 4px; /* Optional: rounding the corners for a softer look */
|
||||
background-color: #ecf0f1; /* Light background color to make it stand out */
|
||||
box-shadow: 0 2px 4px rgba(0,0,0,0.1); /* Optional: adding a subtle shadow for depth */
|
||||
display: inline-block; /* To apply padding and background color correctly */
|
||||
/* Adding glow to the text */
|
||||
/* text-shadow: 0 0 2px rgba(252, 252, 252, 0.8); Adjust color and glow size as needed */
|
||||
}
|
||||
|
||||
|
||||
.mobile-calendar .rbc-btn-group button {
|
||||
padding: 4px 6px; /* Smaller buttons */
|
||||
font-size: 16px; /* Smaller button text */
|
||||
}
|
||||
|
||||
@media (max-width: 768px) {
|
||||
.rbc-calendar {
|
||||
font-size: 14px; /* Smaller text on mobile */
|
||||
}
|
||||
|
||||
.mobile-calendar .rbc-calendar {
|
||||
font-size: 12px; /* Even smaller text for calendar elements in mobile-calendar class */
|
||||
}
|
||||
}
|
||||
|
||||
/* .rbc-month-view .rbc-event {
|
||||
position: absolute;
|
||||
}
|
||||
.rbc-month-view .rbc-event .custom-event {
|
||||
position: absolute;
|
||||
}
|
||||
*/
|
||||
/* .rbc-month-view
|
||||
.rbc-event
|
||||
.custom-event
|
||||
.rbc-event-label
|
||||
.rbc-event-content
|
||||
.rbc-event-content {
|
||||
display: none;
|
||||
} */
|
||||
|
||||
/* .rbc-calendar .rbc-month-view .rbc-event {
|
||||
border: 0;
|
||||
padding: 0;
|
||||
margin: 0;
|
||||
background-color: transparent;
|
||||
color: #fff;
|
||||
font-size: 0.75rem;
|
||||
font-weight: 500;
|
||||
line-height: 1;
|
||||
text-align: center;
|
||||
border-radius: 0.25rem;
|
||||
box-shadow: none;
|
||||
cursor: pointer;
|
||||
transition: all 0.3s;
|
||||
} */
|
||||
.rbc-calendar .rbc-month-view .rbc-event
|
||||
{
|
||||
padding: 2;
|
||||
margin: 2;
|
||||
background-color: transparent;
|
||||
line-height: 1.8;
|
||||
}
|
||||
|
||||
/* .rbc-month-row {
|
||||
display: inline-table !important;
|
||||
flex: 0 0 0 !important;
|
||||
/* min-height:150px !important; * /
|
||||
} */
|
||||
|
||||
|
||||
|
||||
.react-responsive-carousel .control-arrow {
|
||||
width: 25%;
|
||||
}
|
||||
|
||||
|
||||
|
||||
/* Custom CSS for responsive table */
|
||||
@media (max-width: 768px) {
|
||||
/* Hide table headers on small screens */
|
||||
thead tr {
|
||||
display: none;
|
||||
}
|
||||
/* Make table rows behave like cards/rows */
|
||||
tbody tr {
|
||||
display: block;
|
||||
margin-bottom: 1rem;
|
||||
border-bottom: none;
|
||||
}
|
||||
/* Make table cells display as block */
|
||||
td {
|
||||
display: block;
|
||||
text-align: right;
|
||||
position: relative;
|
||||
padding-left: 50%;
|
||||
border-bottom: 1px solid #e5e7eb;
|
||||
}
|
||||
/* Add pseudo-element for labels from data-label attribute */
|
||||
td::before {
|
||||
content: attr(data-label);
|
||||
position: absolute;
|
||||
left: 0;
|
||||
width: 50%;
|
||||
padding-left: 15px;
|
||||
font-weight: bold;
|
||||
text-align: left;
|
||||
}
|
||||
}
|
Reference in New Issue
Block a user