You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

115 lines
2.4 KiB

  1. /* Copyright 2016 LasLabs Inc.
  2. * License LGPL-3.0 or later (http://www.gnu.org/licenses/lgpl). */
  3. .app-drawer-nav {
  4. border-color: @dropdown-border;
  5. background-color: @dropdown-bg;
  6. border: 1px solid @dropdown-fallback-border; // IE8 fallback
  7. border: 1px solid @dropdown-border;
  8. -webkit-border-radius: @border-radius-base;
  9. -moz-border-radius: @border-radius-base;
  10. border-radius: @border-radius-base;
  11. .box-shadow(0 6px 12px rgba(0, 0, 0, .175));
  12. background-clip: padding-box;
  13. z-index: 10000;
  14. .o_tooltip {
  15. z-index: 1051;
  16. }
  17. .oe_logo {
  18. margin-top: -11px;
  19. position: relative;
  20. img {
  21. height: @app-drawer-title-height;
  22. }
  23. .oe_logo_edit {
  24. position: absolute;
  25. bottom: 0px;
  26. width: 100%;
  27. padding: 4px;
  28. display: none;
  29. color: @odoo-list-footer-bg-color;
  30. background: rgba(37,37,37,0.9);
  31. }
  32. &:hover .oe_logo_edit_admin {
  33. display: block;
  34. }
  35. }
  36. .navbar-left {
  37. width: 100%;
  38. li {
  39. padding: 0;
  40. }
  41. }
  42. .app-drawer-title {
  43. float: none;
  44. font-weight: bold; // Bold titles for apps in the app-drawer
  45. }
  46. .app-drawer-panel-title {
  47. line-height: 16px;
  48. > .drawer-toggle {
  49. padding-top: 17px;
  50. padding-bottom: 17px;
  51. cursor: pointer;
  52. }
  53. }
  54. .app-drawer-icon-app {
  55. height: 100%;
  56. width: 100%;
  57. max-width: @app-drawer-icon-size;
  58. max-height: @app-drawer-icon-size;
  59. object-fit: contain;
  60. object-position: center;
  61. }
  62. .panel-body {
  63. padding-top: @app-drawer-title-height;
  64. }
  65. #appDrawerAppPanelHead {
  66. position: absolute;
  67. height: @app-drawer-title-height;
  68. width: 100%;
  69. }
  70. }
  71. .drawer-nav {
  72. width: @app-drawer-width;
  73. }
  74. .drawer--left .drawer-nav {
  75. left: -@app-drawer-width;
  76. }
  77. .drawer--left.drawer-open .drawer-hamburger {
  78. left: @app-drawer-width;
  79. }
  80. .drawer--right .drawer-nav {
  81. right: -@app-drawer-width;
  82. }
  83. .drawer-open .oe-right-toolbar {
  84. display: none;
  85. }
  86. .drawer-closed .oe-right-toolbar {
  87. display: block;
  88. }
  89. /* App Drawer Toggle */
  90. .app-drawer-toggle {
  91. background-color: transparent;
  92. }
  93. .app-drawer-toggle.navbar-toggle {
  94. margin-left: 1em;
  95. }