popover.css 1.5 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374
  1. /************
  2. * popovers *
  3. ************/
  4. .popover{
  5. margin: 10px;
  6. padding: 2px;
  7. border-radius: 2px;
  8. border: 1px solid shade(@bg_color, 0.85);
  9. background-clip: border-box;
  10. background-color: @base_color;
  11. box-shadow: 0 2px 6px 1px rgba(0, 0, 0, 0.12);
  12. color: @fg_color;
  13. }
  14. GtkPopover.osd {
  15. box-shadow: 0 2px 7px 3px alpha(black, 0.5);
  16. }
  17. GtkPopover .button {
  18. background-color: transparent;
  19. color: @fg_color;
  20. border: none;
  21. }
  22. GtkPopover .button:hover,
  23. GtkPopover .button:active:hover,
  24. GtkPopover .button:checked:checked {
  25. background-color: transparent;
  26. color: @selected_bg_color;
  27. border: none;
  28. }
  29. GtkPopover > .list,
  30. GtkPopover > .view,
  31. GtkPopover > .toolbar {
  32. background-color: transparent;
  33. }
  34. GtkPopover.osd > .toolbar .button {
  35. border-radius: 0;
  36. border-width: 0;
  37. background-image: none;
  38. background-color: transparent;
  39. }
  40. GtkPopover .separator {
  41. border: 0;
  42. background-color: transparent;
  43. color: alpha(currentColor, 0.3);
  44. font-size: 80%;
  45. font-weight: bold;
  46. }
  47. GtkModelButton.button,
  48. GtkModelButton.button:active,
  49. GtkModelButton.button:insensitive,
  50. GtkModelButton.button:active:insensitive {
  51. background-color: transparent;
  52. background-image: none;
  53. box-shadow: none;
  54. color: @fg_color;
  55. }
  56. GtkModelButton.button:active:hover,
  57. GtkModelButton.button:hover,
  58. GtkModelButton.button:selected {
  59. background-color: transparent;
  60. background-image: none;
  61. color: @selected_bg_color;
  62. }
  63. GtkPopover *:hover {
  64. -gtk-image-effect: none;
  65. }