How to add square minimize and maximize buttons for Vaadin window

Hi Team,

I am using vaadin 8 and I would like to replace “+” button with square maximize button and “-” button to square minimize button for vaadin window. Can you guys help me out in getting those buttons for vaadin window.
17570198.png
17570201.png

The style names of those buttons are “v-window-closebox” and “v-window-maximizebox”

You can try to style them like the follows to make them look more button like

.v-window-maximizebox {
   background: green;
   border-color: darkgreen;
   border-radius: 4px;
   border-style: groove;
   color: white;
   border: 2px;
}