Fix border-radius in iconview
and small code cosmetics
and small code cosmetics
by roundabout, Saturday, 13 May 2017, 04:16:35 (1494648995), pushed by roundabout, Sunday, 11 May 2025, 13:22:09 (1746969729)
Author identity: nana-4 <hnmaigo@gmail.com>
b85146cdf0a5e4aa5c9f04659a23d8686513f0a0
color: rgba(0, 0, 0, 0.32);
}
.view:hover, .view:active, .view:selected {
border-radius: 2px;
}
textview text {
background-color: #FFFFFF;
}
textview border {
background-color: #FAFAFA;
}
iconview, .nautilus-canvas-item, .caja-canvas-item {
border-radius: 2px;
color: rgba(0, 0, 0, 0.48);
}
.rubberband,
-GtkTreeView-expander-size: 16;
}
treeview.view:hover, treeview.view:active, treeview.view:selected {
border-radius: 0;
}
treeview.view.separator {
min-height: 5px;
color: rgba(0, 0, 0, 0.1);
color: rgba(255, 255, 255, 0.4);
}
.view:hover, .view:active, .view:selected {
border-radius: 2px;
}
textview text {
background-color: #50636c;
}
textview border {
background-color: #4a5c64;
}
iconview, .nautilus-canvas-item, .caja-canvas-item {
border-radius: 2px;
color: rgba(255, 255, 255, 0.6);
}
.rubberband,
-GtkTreeView-expander-size: 16;
}
treeview.view:hover, treeview.view:active, treeview.view:selected {
border-radius: 0;
}
treeview.view.separator {
min-height: 5px;
color: rgba(0, 0, 0, 0.2);
color: rgba(255, 255, 255, 0.4);
}
.view:hover, .view:active, .view:selected {
border-radius: 2px;
}
textview text {
background-color: #50636c;
}
textview border {
background-color: #4a5c64;
}
iconview, .nautilus-canvas-item, .caja-canvas-item {
border-radius: 2px;
color: rgba(255, 255, 255, 0.6);
}
.rubberband,
-GtkTreeView-expander-size: 16;
}
treeview.view:hover, treeview.view:active, treeview.view:selected {
border-radius: 0;
}
treeview.view.separator {
min-height: 5px;
color: rgba(0, 0, 0, 0.2);
color: rgba(0, 0, 0, 0.32);
}
.view:hover, .view:active, .view:selected {
border-radius: 2px;
}
textview text {
background-color: #FFFFFF;
}
textview border {
background-color: #FAFAFA;
}
iconview, .nautilus-canvas-item, .caja-canvas-item {
border-radius: 2px;
color: rgba(0, 0, 0, 0.48);
}
.rubberband,
-GtkTreeView-expander-size: 16;
}
treeview.view:hover, treeview.view:active, treeview.view:selected {
border-radius: 0;
}
treeview.view.separator {
min-height: 5px;
color: rgba(0, 0, 0, 0.1);
color: rgba(0, 0, 0, 0.32);
}
.view:hover, .view:active, .view:selected {
border-radius: 2px;
}
textview text {
background-color: #FFFFFF;
}
textview border {
background-color: #FAFAFA;
}
iconview, .nautilus-canvas-item, .caja-canvas-item {
border-radius: 2px;
color: rgba(0, 0, 0, 0.48);
}
.rubberband,
-GtkTreeView-expander-size: 16;
}
treeview.view:hover, treeview.view:active, treeview.view:selected {
border-radius: 0;
}
treeview.view.separator {
min-height: 5px;
color: rgba(0, 0, 0, 0.1);
color: rgba(0, 0, 0, 0.32);
}
.view:hover, .view:active, .view:selected {
border-radius: 2px;
}
textview text {
background-color: #FFFFFF;
}
textview border {
background-color: #FAFAFA;
}
iconview, .nautilus-canvas-item, .caja-canvas-item {
border-radius: 2px;
color: rgba(0, 0, 0, 0.48);
}
.rubberband,
-GtkTreeView-expander-size: 16;
}
treeview.view:hover, treeview.view:active, treeview.view:selected {
border-radius: 0;
}
treeview.view.separator {
min-height: 5px;
color: rgba(0, 0, 0, 0.1);
}
.nautilus-canvas-item {
@extend iconview;
// border-radius: $material_radius;
}
color: rgba(0, 0, 0, 0.32);
}
.view:hover, .view:active, .view:selected {
border-radius: 2px;
}
textview text {
background-color: #FFFFFF;
}
textview border {
background-color: #FAFAFA;
}
iconview, .nautilus-canvas-item, .caja-canvas-item {
border-radius: 2px;
color: rgba(0, 0, 0, 0.48);
}
.rubberband,
-GtkTreeView-expander-size: 16;
}
treeview.view:hover, treeview.view:active, treeview.view:selected {
border-radius: 0;
}
treeview.view.separator {
min-height: 5px;
color: rgba(0, 0, 0, 0.1);
color: rgba(255, 255, 255, 0.4);
}
.view:hover, .view:active, .view:selected {
border-radius: 2px;
}
textview text {
background-color: #50636c;
}
textview border {
background-color: #4a5c64;
}
iconview, .nautilus-canvas-item, .caja-canvas-item {
border-radius: 2px;
color: rgba(255, 255, 255, 0.6);
}
.rubberband,
-GtkTreeView-expander-size: 16;
}
treeview.view:hover, treeview.view:active, treeview.view:selected {
border-radius: 0;
}
treeview.view.separator {
min-height: 5px;
color: rgba(0, 0, 0, 0.2);
color: rgba(255, 255, 255, 0.4);
}
.view:hover, .view:active, .view:selected {
border-radius: 2px;
}
textview text {
background-color: #50636c;
}
textview border {
background-color: #4a5c64;
}
iconview, .nautilus-canvas-item, .caja-canvas-item {
border-radius: 2px;
color: rgba(255, 255, 255, 0.6);
}
.rubberband,
-GtkTreeView-expander-size: 16;
}
treeview.view:hover, treeview.view:active, treeview.view:selected {
border-radius: 0;
}
treeview.view.separator {
min-height: 5px;
color: rgba(0, 0, 0, 0.2);
color: rgba(0, 0, 0, 0.32);
}
.view:hover, .view:active, .view:selected {
border-radius: 2px;
}
textview text {
background-color: #FFFFFF;
}
textview border {
background-color: #FAFAFA;
}
iconview, .nautilus-canvas-item, .caja-canvas-item {
border-radius: 2px;
color: rgba(0, 0, 0, 0.48);
}
.rubberband,
-GtkTreeView-expander-size: 16;
}
treeview.view:hover, treeview.view:active, treeview.view:selected {
border-radius: 0;
}
treeview.view.separator {
min-height: 5px;
color: rgba(0, 0, 0, 0.1);
color: rgba(0, 0, 0, 0.32);
}
.view:hover, .view:active, .view:selected {
border-radius: 2px;
}
textview text {
background-color: #FFFFFF;
}
textview border {
background-color: #FAFAFA;
}
iconview, .nautilus-canvas-item, .caja-canvas-item {
border-radius: 2px;
color: rgba(0, 0, 0, 0.48);
}
.rubberband,
-GtkTreeView-expander-size: 16;
}
treeview.view:hover, treeview.view:active, treeview.view:selected {
border-radius: 0;
}
treeview.view.separator {
min-height: 5px;
color: rgba(0, 0, 0, 0.1);
color: rgba(0, 0, 0, 0.32);
}
.view:hover, .view:active, .view:selected {
border-radius: 2px;
}
textview text {
background-color: #FFFFFF;
}
textview border {
background-color: #FAFAFA;
}
iconview, .nautilus-canvas-item, .caja-canvas-item {
border-radius: 2px;
color: rgba(0, 0, 0, 0.48);
}
.rubberband,
-GtkTreeView-expander-size: 16;
}
treeview.view:hover, treeview.view:active, treeview.view:selected {
border-radius: 0;
}
treeview.view.separator {
min-height: 5px;
color: rgba(0, 0, 0, 0.1);
&:disabled { color: $disabled_fg_color; }
&:hover, &:active, &:selected { border-radius: 2px; }
selection,
&:selected { @extend %selected_items; }
}
// FIXME: we need to override background-color to ensure text rendering
text { background-color: $base_color; }
// FIXME: we cannot specify text color for the border node
border { background-color: $alt_base_color; }
border {
background-color: $alt_base_color;
color: $tertiary_fg_color; // FIXME: not working
}
}
iconview { border-radius: 2px; }
// iconview { @extend .view; }
.rubberband,
rubberband {
flowboxchild {
padding: 4px;
border-radius: 2px;
// outline-offset: -2px;
&:selected { @extend %selected_items; }
}
rubberband { @extend rubberband; } // to avoid borders being overridden by the previously set props
&:hover, &:active, &:selected { border-radius: 0; }
&.separator {
min-height: 1px + 2px * 2;
color: $border_color;
}
.nautilus-canvas-item {
@extend iconview;
// border-radius: $material_radius;
}
// window and desktop mode
.caja-canvas-item {
@extend iconview;
// border-radius: $material_radius;
}