_dropdownmenu.scss 3.0 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141
  1. .dropdown-menu {
  2. @include border-radius(0);
  3. margin-top: -35px !important;
  4. box-shadow: 0 2px 10px rgba(0,0,0,.2);
  5. border: none;
  6. .divider {
  7. margin: 5px 0;
  8. }
  9. .header {
  10. font-size: 13px;
  11. font-weight: bold;
  12. min-width: 270px;
  13. border-bottom: 1px solid #eee;
  14. text-align: center;
  15. padding: 4px 0 6px 0;
  16. }
  17. ul.menu {
  18. padding-left: 0;
  19. &.tasks {
  20. h4 {
  21. color: #333;
  22. font-size: 13px;
  23. margin: 0 0 8px 0;
  24. small {
  25. float: right;
  26. margin-top: 6px;
  27. }
  28. }
  29. .progress {
  30. height: 7px;
  31. margin-bottom: 7px;
  32. }
  33. }
  34. .icon-circle {
  35. width: 36px;
  36. height: 36px;
  37. @include border-radius(50%);
  38. color: #fff;
  39. text-align: center;
  40. display: inline-block;
  41. i {
  42. font-size: 18px;
  43. line-height: 36px;
  44. }
  45. }
  46. li {
  47. border-bottom: 1px solid #eee;
  48. &:last-child {
  49. border-bottom: none;
  50. }
  51. a {
  52. padding: 7px 11px;
  53. text-decoration: none;
  54. @include transition(.5s);
  55. &:hover {
  56. background-color: #e9e9e9;
  57. }
  58. }
  59. }
  60. .menu-info {
  61. display: inline-block;
  62. position: relative;
  63. top: 3px;
  64. left: 5px;
  65. h4 {
  66. margin: 0;
  67. font-size: 13px;
  68. color: #333;
  69. }
  70. p {
  71. margin: 0;
  72. font-size: 11px;
  73. color: #aaa;
  74. .material-icons {
  75. font-size: 13px;
  76. color: #aaa;
  77. position: relative;
  78. top: 2px;
  79. }
  80. }
  81. }
  82. }
  83. .footer {
  84. a {
  85. text-align: center;
  86. border-top: 1px solid #eee;
  87. padding: 5px 0 5px 0;
  88. font-size: 12px;
  89. margin-bottom: -5px;
  90. &:hover {
  91. background-color: transparent;
  92. }
  93. }
  94. }
  95. > li {
  96. > a {
  97. padding: 7px 18px;
  98. color: #666;
  99. @include transition(all .5s);
  100. font-size: 14px;
  101. line-height: 25px;
  102. &:hover {
  103. background-color: rgba(0,0,0,0.075);
  104. }
  105. i.material-icons {
  106. float: left;
  107. margin-right: 7px;
  108. margin-top: 2px;
  109. font-size: 20px;
  110. }
  111. }
  112. }
  113. }
  114. .dropdown-animated {
  115. -webkit-animation-duration: .3s !important;
  116. -moz-animation-duration: .3s !important;
  117. -o-animation-duration: .3s !important;
  118. animation-duration: .3s !important;
  119. }