body { width : 100%; background-color : #000; display : flex; align-items : center; justify-content : center; // background : url(https://rarentaldress.com/admin/assets/images/bg_1.jpg); background-position: right top; background-size : cover; } .bg-login { width : 100%; background-color : #fff; display : flex; align-items : center; justify-content : center; background : url(https://rarentaldress.com/admin/assets/images/bg_1.jpg); background-position: right top; background-size : cover; form { width : 50%; max-width : 300px; background : linear-gradient(0deg, #11243d7a, #11243d5e), linear-gradient(180deg, rgba(17, 34, 61, 0.4) 0%, rgba(45, 91, 163, 0.4) 100%); box-shadow : 0px 25px 25px -20px rgba(0, 0, 0, 0.25); backdrop-filter: blur(5px); width : 100%; min-height : 125px; border-radius : 20px; user-select : none; position : relative; z-index : 99; transition : all 0.3s ease; color : #fff; padding : 20px; box-shadow : 0 1px 150px 18px #000; backdrop-filter: blur(60px); background : rgba(0, 0, 0, 0.123); border-radius : 24px; } } .dashboard-container { display : flex; flex-wrap : wrap; justify-content: center; align-items : center; height : 100vh; } .calendar-day-link { text-decoration: none; color : inherit; display : block; display : flex; flex-direction : column; height : 100%; width : 100%; min-height : 110px; padding : 5px; &:hover { background: #eff6ff; transition: .2s ease-in-out; } .calendar-res-count { font-size : 12px; margin : 10px 0; font-weight: bold; color : #007bff; } .calendar-day-names { font-size : 10px; font-weight: bold; transition : .2s ease-in-out; } } img.product-thumb { max-height : 500px; height : 500px; border-radius: 5px; object-fit : cover; width : 100%; } .calendar { table-layout: fixed; } .calendar-table td, .calendar-table th { width : 14.28%; vertical-align: top; border : 1px solid #ddd; padding : 0px; height : 120px; } .calendar-table thead tr th { height: 30px; } .day-number { font-weight : bold; margin-bottom: 5px; } .res-count { font-size : 0.85rem; color : #007bff; margin-bottom: 5px; } .day-link { text-decoration: none; color : inherit; display : block; } .day-res-list { margin-top: 5px; font-size : 0.75rem; color : #555; max-height: 65px; overflow-y: auto; } .day-res-list div { margin-bottom: 2px; } .card, .modal-content { box-shadow : 0 17px 19px -13px #d2cfcf; background : linear-gradient(0deg, #11243d7a, #11243d5e), linear-gradient(180deg, rgba(17, 34, 61, 0.4) 0%, rgba(45, 91, 163, 0.4) 100%); box-shadow : 0px 25px 25px -20px rgba(0, 0, 0, 0.25); backdrop-filter: blur(5px); user-select : none; transition : all 0.3s ease; color : #fff; box-shadow : 0 1px 150px 18px #000; backdrop-filter: blur(60px); background : rgba(0, 0, 0, 0.123); } .card-item { display : flex; align-items: center; flex-wrap : wrap; position : relative; .card-item-bottom { p { display : flex; justify-content: space-between; } } .card-button-row { position: absolute; top : 10px; right : 10px; } } .card-item small { font-weight: bold; } .calendar-grid { display : grid; grid-template-columns: repeat(7, 1fr); gap : 10px; } .calendar-day { background : #f8f9fa; border : 2px solid #dee2e6; padding : 8px; border-radius : 8px; text-decoration: none; color : inherit; min-height : 120px; display : flex; flex-direction : column; justify-content: space-between; transition : .2s ease-in-out; background : linear-gradient(0deg, #11243d7a, #11243d5e), linear-gradient(180deg, rgba(17, 34, 61, 0.4) 0%, rgba(45, 91, 163, 0.4) 100%); box-shadow : 0px 25px 25px -20px rgba(0, 0, 0, 0.25); backdrop-filter: blur(5px); user-select : none; transition : all 0.3s ease; color : #fff; box-shadow : 0 1px 150px 18px #000; backdrop-filter: blur(60px); background : rgba(0, 0, 0, 0.123); &:hover { background: #e2e6ea; transition: .2s ease-in-out; .calendar-day-names, .calendar-day-number { color : #000 !important; transition: .2s ease-in-out; } } } .page-title { color: #fff; } .calendar-day-number { font-weight: bold; font-size : 14px; transition : .2s ease-in-out; } .calendar-res-count { font-size : 13px; margin-top: 5px; } .calendar-day-names div { font-size : 12px; line-height: 1.2; transition : .2s ease-in-out; } .no-res { opacity: 0.5; } .empty { background: transparent; border : none; } .button-row { position : fixed; bottom : 0; left : 0; width : 100%; justify-content: center; align-items : center; display : flex; z-index : 99; padding : 10px; a { border-radius : 50px; margin : 0 5px; background-image: linear-gradient(to right, #5d048a 0%, #7e06be 51%, #f158ff 100%); font-size : 12px; font-weight : bolder; color : #fff; border : 0; } } .addResBtnRow { justify-content: flex-start; button { font-size: 12px; margin : 0; } } .search-area { display : flex; justify-content: center; position : relative; width : 50%; margin : auto; input { border-radius: 50px; height : 50px; } .btn { position : absolute; right : 17px; top : 5px; border-radius : 50px; font-size : 12px; height : 40px; padding : 0 15px; display : flex; align-items : center; justify-content : center; font-weight : 600; background-image: linear-gradient(to right, #FF512F 0%, #DD2476 51%, #FF512F 100%); background-size : 200% auto; color : white; box-shadow : 0 0 20px #eee; transition : .2s ease-in-out; border : none; &:hover { background-position: right center; /* change the direction of the change here */ color : #fff; text-decoration : none; } } } .calendar-grid { display : grid; grid-template-columns: repeat(7, 1fr); gap : 10px; } .calendar-box { background : #f7f7f7; padding : 10px; min-height : 120px; border-radius: 8px; border : 1px solid #ddd; position : relative; transition : 0.3s; } .calendar-box.has-res { background : #ffe9e9; border-color: #f88; } .calendar-box.empty { background: transparent; border : none; } .calendar-day-number { font-weight : bold; margin-bottom: 5px; } .calendar-res-count { font-size: 0.9em; color : #a33; } .calendar-day-names div { font-size: 0.8em; } .dashboard-title { display : flex; align-items : center; justify-content: center; position : absolute; padding : 15px; top : 0; right : 0; background : linear-gradient(90deg, rgba(255, 255, 255, 0) 0%, #0b243b 100%); font-size : 16px; color : #fff; font-weight : bold; width : 100%; position : fixed; z-index : 999; } .sidebar-panel { position : fixed; top : 0; right : -300px; width : 300px; height : 100vh; background: #fff; box-shadow: -2px 0 5px rgba(0, 0, 0, 0.2); overflow-y: auto; transition: right 0.3s ease-in-out; z-index : 9999; padding : 20px; } .sidebar-panel.open { right: 0; } .sidebar-header { font-weight : bold; font-size : 18px; margin-bottom: 10px; } .sidebar-res-item { padding : 8px 0; border-bottom: 1px solid #ddd; } /* Bildirim butonu ve badge */ .notification-btn { // position: fixed; position: relative; font-size : 24px; cursor : pointer; background : none; border : none; outline : none; box-shadow : 0 2px 6px rgba(0, 0, 0, 0.2); border-radius: 50%; width : 50px; height : 50px; z-index : 1001; background : #fff; } .notification-badge { position : absolute; top : 2px; right : 2px; background : red; color : white; border-radius: 50%; font-size : 12px; padding : 2px 6px; font-weight : bold; } /* Sidebar */ .sidebar-panel { position : fixed; top : 0; right : -320px; width : 320px; height : 100%; background : #fff; border-left: 1px solid #ddd; box-shadow : -3px 0 8px rgba(0, 0, 0, 0.1); padding : 20px; overflow-y : auto; transition : right 0.3s ease; z-index : 1000; transition: 0.2s ease-in-out; background: linear-gradient(0deg, #11243d7a, #11243d5e), linear-gradient(180deg, rgba(17, 34, 61, 0.4) 0%, rgba(45, 91, 163, 0.4) 100%); box-shadow: 0px 25px 25px -20px rgba(0, 0, 0, 0.25); backdrop-filter: blur(5px); user-select: none; transition: all 0.3s ease; color: #fff; box-shadow: 0 1px 150px 18px #000; backdrop-filter: blur(60px); background: rgba(0, 0, 0, 0.123); } .sidebar-panel.open { right: 0; } .sidebar-header { font-weight : 600; font-size : 1.2em; margin-bottom : 15px; border-bottom : 1px solid #ccc; padding-bottom: 8px; } .sidebar-res-item { margin-bottom : 12px; padding-bottom: 8px; border-bottom : 1px solid #eee; } .btn-addRes { background-image: linear-gradient(to right, #f6d365 0%, #fda085 51%, #f6d365 100%); font-weight : 600; &:hover { background-position: right center; /* change the direction of the change here */ } } .btn-back { position: absolute; top : 10px; left : 10px; } @media screen and (max-width:850px) { .calendar-day.empty { display: none; } body { padding: 75px 0; } .calendar-grid { display : grid; grid-template-columns: repeat(3, 1fr); gap : 10px; width : 100%; .calendar-day-number { font-size: 10px; } } .search-area { width: 100%; } .dashboard-title { justify-content: flex-end; } .notification-btn { position: fixed; top : 10px; left : 10px; bottom : unset; z-index : 99999999; } .dashboard-container { height: auto; } }