1212 .checkbox :checked + .check-icon {
1313 display : flex ;
1414 }
15+
16+ /* Dark Mode */
17+ body .dark-mode {
18+ background-color : #222831 ;
19+ }
20+
21+ body .dark-mode .title-bar {
22+ color : #fff ;
23+ }
24+
25+ body .dark-mode .tab-box {
26+ background-color : #222831 ;
27+ }
28+
29+ body .dark-mode .tab-title {
30+ color : #fff ;
31+ }
32+
33+ body .dark-mode .tab-title :hover {
34+ color : #4338ca ;
35+ }
36+
37+ body .dark-mode :is(a , p , path ) {
38+ color : #fff ;
39+ }
40+
41+ body .dark-mode .delete-btn {
42+ background-color : rgb (234 , 56 , 56 );
43+ }
44+
45+ body .dark-mode .bg-indigo-100 p {
46+ color : #000 ;
47+ }
1548 </style >
1649 </head >
17- <body >
50+ <body @class ( [ ' dark-mode ' => config ( ' user-monitoring.config.dark_mode ' , false )] ) >
1851 <div class =" sm:px-6 w-full" >
1952 <div class =" px-4 md:px-10 py-4 md:py-7" >
2053 <div class =" flex items-center justify-between" >
21- <p class =" focus:outline-none text-base sm:text-lg md:text-xl lg:text-2xl font-bold leading-normal text-gray-800" tabindex =" 0" >
54+ <p class =" focus:outline-none text-base sm:text-lg md:text-xl lg:text-2xl font-bold leading-normal text-gray-800 title-bar " tabindex =" 0" >
2255 Laravel User Monitoring 📈
2356 </p >
2457 </div >
2558 </div >
26- <div class =" bg-white py-4 md:py-7 px-4 md:px-8 xl:px-10" >
59+ <div class =" bg-white py-4 md:py-7 px-4 md:px-8 xl:px-10 tab-box " >
2760 <div class =" sm:flex items-center justify-between" >
2861 <div class =" flex items-center" >
2962 <a class =" rounded-full focus:outline-none focus:ring-2 focus:bg-indigo-50 focus:ring-indigo-800"
3063 href =" {{ route (' user-monitoring.visits-monitoring' ) } }" >
3164 <div class =" py-2 px-8 text-indigo-700 rounded-full hover:text-indigo-700 hover:bg-indigo-100
32- {{ request ()-> routeIs (' user-monitoring.visits-monitoring' ) ? ' bg-indigo-100' : ' ' } }" >
33- <p >Visit Monitoring</p >
65+ {{ request ()-> routeIs (' user-monitoring.visits-monitoring' ) ? ' bg-indigo-100' : ' ' } }" >
66+ <p class = " tab-title " >Visit Monitoring</p >
3467 </div >
3568 </a >
3669 <a class =" rounded-full focus:outline-none focus:ring-2 focus:bg-indigo-50 focus:ring-indigo-800 ml-4 sm:ml-8"
3770 href =" {{ route (' user-monitoring.actions-monitoring' ) } }" >
3871 <div class =" py-2 px-8 text-indigo-700 rounded-full hover:text-indigo-700 hover:bg-indigo-100
39- {{ request ()-> routeIs (' user-monitoring.actions-monitoring' ) ? ' bg-indigo-100' : ' ' } }" >
40- <p >Action Monitoring</p >
72+ {{ request ()-> routeIs (' user-monitoring.actions-monitoring' ) ? ' bg-indigo-100' : ' ' } }" >
73+ <p class = " tab-title " >Action Monitoring</p >
4174 </div >
4275 </a >
4376 <a class =" rounded-full focus:outline-none focus:ring-2 focus:bg-indigo-50 focus:ring-indigo-800 ml-4 sm:ml-8"
4477 href =" {{ route (' user-monitoring.authentications-monitoring' ) } }" >
4578 <div class =" py-2 px-8 text-indigo-700 rounded-full hover:text-indigo-700 hover:bg-indigo-100
46- {{ request ()-> routeIs (' user-monitoring.authentications-monitoring' ) ? ' bg-indigo-100' : ' ' } }" >
47- <p >Authentication Monitoring</p >
79+ {{ request ()-> routeIs (' user-monitoring.authentications-monitoring' ) ? ' bg-indigo-100' : ' ' } }" >
80+ <p class = " tab-title " >Authentication Monitoring</p >
4881 </div >
4982 </a >
5083 </div >
5184 <div >
5285 <a href =" https://github.com/binafy/laravel-user-monitoring"
5386 class =" focus:ring-2 focus:ring-offset-2 focus:ring-indigo-600 mt-4 sm:mt-0
54- inline-flex items-start justify-start px-6 py-3 bg-indigo-700 hover:bg-indigo-600
55- focus:outline-none rounded items-center" >
87+ inline-flex items-start justify-start px-6 py-3 bg-indigo-700 hover:bg-indigo-600
88+ focus:outline-none rounded items-center" >
5689 <p class =" text-sm font-medium leading-none text-white mr-2" >
5790 GitHub
5891 </p >
@@ -63,9 +96,11 @@ class="focus:ring-2 focus:ring-offset-2 focus:ring-indigo-600 mt-4 sm:mt-0
6396 </div >
6497 </div >
6598
66- @if (session ()-> has (' message' ) )
99+ @if (session ()-> has (' message' ) )
67100 <div class =" flex items-center bg-blue-500 text-white text-sm font-bold px-4 py-3" role =" alert" >
68- <svg class =" fill-current w-4 h-4 mr-2" xmlns =" http://www.w3.org/2000/svg" viewBox =" 0 0 20 20" ><path d =" M12.432 0c1.34 0 2.01.912 2.01 1.957 0 1.305-1.164 2.512-2.679 2.512-1.269 0-2.009-.75-1.974-1.99C9.789 1.436 10.67 0 12.432 0zM8.309 20c-1.058 0-1.833-.652-1.093-3.524l1.214-5.092c.211-.814.246-1.141 0-1.141-.317 0-1.689.562-2.502 1.117l-.528-.88c2.572-2.186 5.531-3.467 6.801-3.467 1.057 0 1.233 1.273.705 3.23l-1.391 5.352c-.246.945-.141 1.271.106 1.271.317 0 1.357-.392 2.379-1.207l.6.814C12.098 19.02 9.365 20 8.309 20z" /></svg >
101+ <svg class =" fill-current w-4 h-4 mr-2" xmlns =" http://www.w3.org/2000/svg" viewBox =" 0 0 20 20" >
102+ <path d =" M12.432 0c1.34 0 2.01.912 2.01 1.957 0 1.305-1.164 2.512-2.679 2.512-1.269 0-2.009-.75-1.974-1.99C9.789 1.436 10.67 0 12.432 0zM8.309 20c-1.058 0-1.833-.652-1.093-3.524l1.214-5.092c.211-.814.246-1.141 0-1.141-.317 0-1.689.562-2.502 1.117l-.528-.88c2.572-2.186 5.531-3.467 6.801-3.467 1.057 0 1.233 1.273.705 3.23l-1.391 5.352c-.246.945-.141 1.271.106 1.271.317 0 1.357-.392 2.379-1.207l.6.814C12.098 19.02 9.365 20 8.309 20z" />
103+ </svg >
69104 <p >{{ session ()-> get (' message' ) } } </p >
70105 </div >
71106 @endif
0 commit comments