Skip to content

Commit

Permalink
Fixed #468
Browse files Browse the repository at this point in the history
  • Loading branch information
Çağatay Çivici authored and Çağatay Çivici committed Jun 28, 2018
1 parent 333e847 commit 690222f
Show file tree
Hide file tree
Showing 5 changed files with 451 additions and 328 deletions.
8 changes: 8 additions & 0 deletions public/resources/themes/omega/theme.scss
Original file line number Diff line number Diff line change
Expand Up @@ -484,6 +484,14 @@ $inputGroupTextColor: #222222;
color: #ffffff;
}

/* PanelMenu */
.ui-panelmenu .ui-panelmenu-header.ui-state-active,
.ui-panelmenu .ui-panelmenu-header.ui-state-active a {
border-color: #156090;
background: #186ba0;
color: #FFFFFF;
}

/* DatePicker */
.ui-datepicker.ui-widget {
padding: 0;
Expand Down
65 changes: 65 additions & 0 deletions src/components/panelmenu/PanelMenu.css
Original file line number Diff line number Diff line change
@@ -0,0 +1,65 @@
.ui-panelmenu {
width: auto;
}

.ui-panelmenu .ui-menu-separator {
border-width: 1px 0 0 0;
}

.ui-panelmenu .ui-panelmenu-content-wrapper {
overflow: hidden;
}

.ui-panelmenu .ui-panelmenu-header {
margin: -1px 0 0 0;
zoom: 1;
}

.ui-panelmenu .ui-panelmenu-header-link {
padding: .5em;
display: block;
text-decoration: none;
}

.ui-panelmenu .ui-menuitem-icon {
margin-right: .25em;
}

.ui-panelmenu .ui-panelmenu-content {
padding: 0.25em;
border-top: 0;
margin-bottom: 1px;
}

.ui-panelmenu .ui-submenu-list {
margin: 0;
padding: 0;
list-style: none;
margin-left: 1.5em;
}

.ui-panelmenu .ui-panelmenu-content > .ui-panelmenu-root-submenu.ui-submenu-list {
margin-left: 0;
}

.ui-panelmenu .ui-menuitem {
overflow: hidden;
margin: .125em 0;
}

.ui-panelmenu .ui-menuitem-link {
padding: .25em;
display: block;
text-decoration: none;
}

.ui-panelmenu .ui-panelmenu-content-wrapper-collapsed {
overflow: hidden;
max-height: 0;
transition: max-height 0.5s cubic-bezier(0, 1, 0, 1);
}

.ui-panelmenu .ui-panelmenu-content-wrapper-expanded {
max-height: 1000px;
transition: max-height 1s ease-in-out;
}
Loading

0 comments on commit 690222f

Please sign in to comment.