@@ -818,53 +818,79 @@ h1 .label {
818818 margin-bottom : 5px ;
819819 }
820820}
821- .popover {
822- padding : 0 ;
821+ .popover {
822+ border-radius : 0 !important ;
823+ border : none !important ;
824+ box-shadow : 0 1px 3px 0 rgba (0 ,0 ,0 ,0.1 ), 0 1px 2px -1px rgba (0 ,0 ,0 ,0.1 ), 0 10px 15px -3px rgba (0 ,0 ,0 ,0.1 ), 0 4px 6px -4px rgba (0 ,0 ,0 ,0.1 ) !important ;
825+ padding : 0 !important ;
826+
827+ & .bottom {
828+ margin-top : -10px !important ;
829+ }
830+
831+ > .arrow {
832+ display : none !important ;
833+ }
823834}
824835.popover-content {
825836 position : relative ;
826- padding : 5 px 0 ;
827- min-width : 200 px ;
837+ padding : 0 ;
838+ min-width : 192 px ;
828839 #submenu {
829840 position : absolute ;
830841 top : 0 ;
831- right : 100% ;
842+ right : 100% ;
832843 font-size : 16px ;
833844 font-weight : normal ;
834845 cursor : pointer ;
835846 display : none ;
836- min-width : 200px ;
837- padding : 5px 0 ;
838- border-radius : 4px ;
839- z-index : 20 ;
847+ min-width : 224px ;
848+ padding : 0 ;
849+ margin : 0 ;
850+ border-radius : 0 ;
851+ z-index : 9999 ;
840852 background-clip : padding-box ;
841- border : 1px solid rgba (0 , 0 , 0 , 0.2 );
842- box-shadow : 0 5px 10px rgba (0 , 0 , 0 , 0.2 );
843- transition : opacity 0.2s ease-in-out ;
853+ border : none ;
854+ box-shadow : 0 10px 15px -3px rgba (0 ,0 ,0 ,0.1 ), 0 4px 6px -4px rgba (0 ,0 ,0 ,0.1 );
844855 }
845856 .profile-menu {
846857 color : darken ($btn-primary-bg , 10% );
847- font-size : 16 px ;
858+ font-size : 14 px ;
848859 font-weight : normal ;
849860 cursor : pointer ;
861+ padding : 7px 16px ;
862+ line-height : 1.5 ;
850863 a {
851864 color : darken ($btn-primary-bg , 10% ) !important ;
865+ padding : 0 !important ;
866+ border : none !important ;
867+ background : none !important ;
868+ display : inline !important ;
869+ line-height : 1.5 ;
852870 }
853871 .dashboard-item {
854872 color : darken ($btn-primary-bg , 10% );
855873 }
856874 i {
857- margin-right : 10 px ;
858- width : 16 px ;
875+ margin-right : 8 px ;
876+ width : 12 px ;
859877 text-align : center ;
878+ font-size : 12px ;
879+ vertical-align : middle ;
860880 }
861881 & .separator {
862- height : 1 px ;
863- background-color : #e5e5e5 ;
864- margin : 5 px 0 ;
882+ height : 0 ;
883+ background-color : transparent ;
884+ margin : 0 ;
865885 padding : 0 ;
886+ display : none ;
866887 }
867888 }
889+ .profile-menu :nth-child (6 ),
890+ .profile-menu.admin ,
891+ .profile-menu :last-child {
892+ border-top : 1px solid #d1d5db ;
893+ }
868894 .profile-menu :hover {
869895 color : #fff ;
870896 background-color : darken ($btn-primary-bg , 10% ) !important ;
@@ -874,26 +900,44 @@ h1 .label {
874900 }
875901 .dashboard-item {
876902 color : darken ($btn-primary-bg , 10% );
877- font-size : 16 px ;
903+ font-size : 12 px ;
878904 font-weight : normal ;
879905 cursor : pointer ;
906+ line-height : 1.5 ;
880907 i {
881- margin-right : 10 px ;
882- width : 16 px ;
908+ margin-right : 8 px ;
909+ width : 12 px ;
883910 text-align : center ;
911+ font-size : 12px ;
912+ vertical-align : middle ;
884913 }
885914 .dashboard-content {
886- min-height : 50 px ;
887- padding : 15 px ;
915+ padding : 8 px 16 px ;
916+ line-height : 1.5 ;
888917 }
889918 #submenu {
890919 display : none ;
891920
892921 .submenu-item {
893922 background-color : #fff ;
923+ padding : 7px 16px ;
924+ font-size : 12px ;
925+ line-height : 1.5 ;
894926
895927 a {
896928 color : darken ($btn-primary-bg , 10% ) !important ;
929+ padding : 0 !important ;
930+ border : none !important ;
931+ background : none !important ;
932+ display : inline !important ;
933+ line-height : 1.5 ;
934+ }
935+
936+ i {
937+ margin-right : 7px ;
938+ width : 12px ;
939+ font-size : 12px ;
940+ vertical-align : middle ;
897941 }
898942
899943 & :hover {
@@ -911,9 +955,25 @@ h1 .label {
911955
912956 .submenu-item {
913957 background-color : #fff ;
958+ padding : 8px 16px ;
959+ font-size : 12px ;
960+ line-height : 1.5 ;
914961
915962 a {
916963 color : darken ($btn-primary-bg , 10% ) !important ;
964+ padding : 0 !important ;
965+ border : none !important ;
966+ background : none !important ;
967+ display : inline !important ;
968+ line-height : 1.5 ;
969+ }
970+
971+ i {
972+ margin-right : 8px ;
973+ width : 12px ;
974+ font-size : 12px ;
975+ display : inline-block ;
976+ vertical-align : middle ;
917977 }
918978
919979 & :hover {
0 commit comments