Commit 888541d1 authored by Nikita Churaev's avatar Nikita Churaev
Browse files

Test 2

parent 2e4561a5
Pipeline #7339 failed with stage
in 11 minutes and 7 seconds
......@@ -2113,6 +2113,7 @@ make_button_data (NautilusPathBar *self,
{
button_data->label = gtk_label_new (NULL);
child = gtk_box_new (GTK_ORIENTATION_HORIZONTAL, 2);
gtk_widget_set_valign (child, GTK_ALIGN_CENTER);
gtk_box_pack_start (GTK_BOX (child), button_data->image, FALSE, FALSE, 0);
gtk_box_pack_start (GTK_BOX (child), button_data->label, FALSE, FALSE, 0);
}
......
......@@ -25,6 +25,24 @@
border: 1px solid transparent;
box-shadow: none;
padding: 0;
padding-left: 5px;
padding-right: 5px;
}
.path-bar button box,
.path-bar button label,
.path-bar button image {
margin: 0;
padding: 0;
}
.path-bar button.image-button image {
margin-right: 2px;
}
.path-bar button box {
padding-left: 3px;
padding-right: 3px;
}
.path-bar button:not(:first-child) {
......@@ -46,13 +64,19 @@
background-image: image(mix(@theme_bg_color, @borders, 0.5));
}
.path-bar button:checked,
.path-bar button:active {
.path-bar button > box {
padding-bottom: 3px;
padding-top: 3px;
transition: 0.5s;
}
.path-bar button:checked > box,
.path-bar button:active > box {
box-shadow: inset 0 -2px 0 @theme_selected_bg_color;
}
.path-bar button:not(:checked):hover,
.path-bar button:checked:backdrop {
.path-bar button:not(:checked):hover > box,
.path-bar button:checked:backdrop > box {
box-shadow: inset 0 -2px 0 mix(@theme_bg_color, @borders, 0.5);
}
......@@ -63,24 +87,16 @@
/* Sidebar */
.sidebar-row:selected {
background: linear-gradient(
to bottom,
shade(@theme_bg_color, 0.85),
shade(@theme_bg_color, 0.93) 3px,
shade(@theme_bg_color, 0.93));
background: shade(@theme_bg_color, 0.93);
}
.sidebar-row:selected,
.sidebar-row:selected label {
color: shade(@theme_fg_color, 0.4);
color: shade(@theme_fg_color, 0.5);
}
.sidebar-row:selected:backdrop {
background: linear-gradient(
to bottom,
shade(@theme_bg_color, 0.95),
shade(@theme_bg_color, 0.95) 3px,
shade(@theme_bg_color, 0.95));
background: shade(@theme_bg_color, 0.96);
}
.sidebar-row:selected:backdrop,
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment