web/style/globals.css

283 lines
5.4 KiB
CSS

@tailwind base;
@tailwind components;
@tailwind utilities;
@layer components {
/* .btn-outline-primary {
@apply bg-transparent hover:bg-sky-400 text-sky-400 hover:text-white border-2 border-sky-400 border-opacity-60 rounded-full py-2 transition;
}
.btn-primary {
@apply bg-sky-400 hover:bg-sky-400 text-white hover:text-white border-2 border-sky-400 border-opacity-60 rounded-full py-2 transition;
} */
.btn {
@apply font-bold py-2 px-4 rounded transition-all;
}
.btn-primary {
@apply bg-primary-200 text-white;
}
.btn-primary:hover {
@apply bg-primary-300;
}
.btn-secondary {
@apply bg-secondary-100 text-white;
}
.btn-secondary:hover {
@apply bg-secondary-200;
}
.btn-info {
@apply bg-info-100 text-white;
}
.btn-info:hover {
@apply bg-info-200;
}
.form-control {
@apply appearance-none !border-[2px] bg-body-100 border-gray-300 rounded-2xl w-full py-4 px-3 text-gray-700 leading-tight focus:border-[2px] focus:border-red-600 focus:outline-none transition-all;
}
.form-control-white {
@apply appearance-none !border-[2px] bg-white border-gray-300 rounded-2xl w-full py-4 px-3 text-gray-700 leading-tight focus:border-[2px] focus:border-red-600 focus:outline-none transition-all;
}
}
input[type="checkbox"] {
/* Hide the default checkbox appearance */
appearance: inherit;
/* -webkit-appearance: none; */
/* -moz-appearance: none; */
/* Set the desired size and border radius */
width: 40px;
height: 40px;
border-radius: 30px; /* Use a percentage for a circular shape */
/* Add custom styling */
border: 2px solid hsl(14, 82%, 47%);
background-color: #fff;
}
input[type="checkbox"]:checked {
background-color: #da4215;
}
body {
font-family: KalamehWeb !important;
background: #eeeeee;
--toastify-font-family: KalamehWeb !important;
}
.rtl {
direction: rtl;
}
.ltr {
direction: ltr;
}
.tr2 {
transition: 2s;
}
.tr03 {
transition: 0.3s all;
}
.fuck-cick {
pointer-events: none;
}
.bg-BigPlus {
background: rgba(0, 0, 0, 0.9);
}
.loader {
width: 20px;
height: 20px;
border: 3px solid #fff;
border-bottom-color: transparent;
border-radius: 50%;
display: inline-block;
box-sizing: border-box;
animation: rotation 0.9s linear infinite;
}
@keyframes rotation {
0% {
transform: rotate(0deg);
}
100% {
transform: rotate(360deg);
}
}
[data-rsbs-backdrop] {
z-index: 20 !important;
background-color: rgba(0, 0, 0, 0.8) !important;
}
[data-rsbs-overlay] {
z-index: 999 !important;
overflow: hidden;
}
[data-rsbs-header] {
background-color: #356859;
}
.calendarContainer {
border-radius: 3px;
box-shadow: 0 3px 10px #dbdbdb;
border: 1px solid #cccccc;
width: 300px;
margin: auto;
text-align: center;
padding: 10px;
background-color: #fff;
}
.calendarContainer * {
box-sizing: border-box;
}
.calendarContainer .dayPickerContainer:after,
.calendarContainer .monthsList:after,
.calendarContainer .daysOfWeek:after {
content: "";
display: block;
clear: both;
}
/* Heading */
.calendarContainer .heading {
height: 42px;
font-weight: bold;
margin-bottom: 10px;
}
.calendarContainer .heading > button {
border-radius: 3px;
background: none;
margin: 5px 0;
border: 1px solid #f7f7f7;
text-align: center;
line-height: 30px;
width: 36px;
height: 32px;
cursor: pointer;
}
.calendarContainer .heading > button:hover {
background-color: #f2f2f2;
}
.calendarContainer .heading > span {
line-height: 35px;
}
.calendarContainer .heading svg {
width: 10px;
}
.calendarContainer .heading .prev {
float: right;
}
.calendarContainer .heading .next {
float: left;
}
.calendarContainer .heading .title {
line-height: 32px;
width: 120px;
height: 32px;
font-size: 1em;
margin: 5px 0;
border: 1px solid #f7f7f7;
text-align: center;
display: inline-block;
font-weight: normal;
}
/* Day wrapper styles */
.calendarContainer .dayWrapper {
padding: 5;
float: right;
width: 14.28571429%;
}
/* Day wrapper button styles */
.calendarContainer .dayWrapper button {
border: none;
background: none;
outline: none;
width: 100%;
height: 36px;
border-radius: 3px;
cursor: pointer;
}
.calendarContainer .dayWrapper button:hover {
background-color: #eeeeff;
}
.calendarContainer .dayWrapper button[disabled] {
color: #aaa;
cursor: not-allowed;
background-color: #ebebeb;
}
.calendarContainer .dayWrapper button.selected {
background-color: #337ab7;
color: #ffffff;
}
.calendarContainer .dayWrapper:not(.currentMonth) button {
opacity: 0.5;
}
/* Days of week row */
.calendarContainer .daysOfWeek {
border-bottom: 1px solid #eee;
margin-bottom: 5px;
padding-bottom: 5px;
display: flex;
width: 100%;
}
.calendarContainer .daysOfWeek > div {
flex-grow: 1;
justify-content: space-between;
}
/* Month selector portion */
.calendarContainer .monthsList {
clear: both;
width: 100%;
}
.calendarContainer .monthsList button {
width: 33.33333332%;
height: 25%;
float: right;
border: 1px solid #f9f9f9;
outline: none;
font-size: 1em;
background: #fff;
padding: 10px 0;
cursor: pointer;
}
.calendarContainer .monthsList button:hover {
background: #eeeeee;
cursor: pointer;
}
/* Selected state of buttons */
.calendarContainer .selected button,
.calendarContainer .selected button:hover,
.calendarContainer .selected button:active,
.calendarContainer .selected button:focus {
background-color: #337ab7;
color: #ffffff;
}