window: Reorganize buttons
This matches the new design.
This commit is contained in:
committed by
Georges Basile Stavracas Neto
parent
54a8445abb
commit
e611580ef3
+13
-13
@@ -106,6 +106,15 @@
|
|||||||
<child>
|
<child>
|
||||||
<object class="AdwHeaderBar">
|
<object class="AdwHeaderBar">
|
||||||
<property name="show-end-title-buttons">False</property>
|
<property name="show-end-title-buttons">False</property>
|
||||||
|
<property name="title-widget">
|
||||||
|
<object class="GcalCalendarButton" id="calendars_button" />
|
||||||
|
</property>
|
||||||
|
<child type="end">
|
||||||
|
<object class="GtkMenuButton" id="menu_button">
|
||||||
|
<property name="icon-name">open-menu-symbolic</property>
|
||||||
|
<property name="popover">win_menu</property>
|
||||||
|
</object>
|
||||||
|
</child>
|
||||||
</object>
|
</object>
|
||||||
</child>
|
</child>
|
||||||
<child>
|
<child>
|
||||||
@@ -155,13 +164,6 @@
|
|||||||
</property>
|
</property>
|
||||||
</object>
|
</object>
|
||||||
</child>
|
</child>
|
||||||
<child>
|
|
||||||
<object class="GtkButton" id="new_event_button">
|
|
||||||
<property name="icon-name">list-add-symbolic</property>
|
|
||||||
<property name="action-name">win.new-event</property>
|
|
||||||
<property name="tooltip_text" translatable="yes" context="tooltip">Add a new event</property>
|
|
||||||
</object>
|
|
||||||
</child>
|
|
||||||
<child type="title">
|
<child type="title">
|
||||||
<object class="AdwViewSwitcher" id="views_switcher">
|
<object class="AdwViewSwitcher" id="views_switcher">
|
||||||
<property name="stack">views_stack</property>
|
<property name="stack">views_stack</property>
|
||||||
@@ -169,14 +171,12 @@
|
|||||||
</object>
|
</object>
|
||||||
</child>
|
</child>
|
||||||
<child type="end">
|
<child type="end">
|
||||||
<object class="GtkMenuButton" id="menu_button">
|
<object class="GtkButton" id="new_event_button">
|
||||||
<property name="icon-name">open-menu-symbolic</property>
|
<property name="icon-name">list-add-symbolic</property>
|
||||||
<property name="popover">win_menu</property>
|
<property name="action-name">win.new-event</property>
|
||||||
|
<property name="tooltip_text" translatable="yes" context="tooltip">Add a new event</property>
|
||||||
</object>
|
</object>
|
||||||
</child>
|
</child>
|
||||||
<child type="end">
|
|
||||||
<object class="GcalCalendarButton" id="calendars_button" />
|
|
||||||
</child>
|
|
||||||
<child type="end">
|
<child type="end">
|
||||||
<object class="GcalSearchButton" id="search_button">
|
<object class="GcalSearchButton" id="search_button">
|
||||||
<property name="tooltip_text" translatable="yes" context="tooltip">Search for events</property>
|
<property name="tooltip_text" translatable="yes" context="tooltip">Search for events</property>
|
||||||
|
|||||||
+18
-5
@@ -184,11 +184,6 @@ datechooser .weekday {
|
|||||||
font-size: smaller;
|
font-size: smaller;
|
||||||
}
|
}
|
||||||
|
|
||||||
datechooser .weeknum:backdrop,
|
|
||||||
datechooser .weekday:backdrop {
|
|
||||||
color: @unfocused_insensitive_color;
|
|
||||||
}
|
|
||||||
|
|
||||||
/* days */
|
/* days */
|
||||||
datechooser button.day {
|
datechooser button.day {
|
||||||
font-size: 10pt;
|
font-size: 10pt;
|
||||||
@@ -395,3 +390,21 @@ searchbutton > popover > arrow {
|
|||||||
background: none;
|
background: none;
|
||||||
border: none;
|
border: none;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
/*
|
||||||
|
* Month selector
|
||||||
|
*/
|
||||||
|
|
||||||
|
datechooser {
|
||||||
|
padding: 6px;
|
||||||
|
}
|
||||||
|
|
||||||
|
datechooser .current-week {
|
||||||
|
background: alpha(@headerbar_bg_color, 0.7);
|
||||||
|
color: @headerbar_fg_color;
|
||||||
|
border-radius: 6px;
|
||||||
|
}
|
||||||
|
|
||||||
|
menubutton stack > box {
|
||||||
|
border-spacing: 4px;
|
||||||
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user