horst3180 / arc-theme

A flat theme with transparent elements
GNU General Public License v3.0
8.28k stars 608 forks source link

Graphical glitch in elementaryOS Photos' app #681

Open n1c0saurio opened 8 years ago

n1c0saurio commented 8 years ago

Perfectly described here.

mnxrk

I have the same issue in Loki (gnome 3.18) with Arc theme version 20161005 (manually installed).

wilsenhc commented 7 years ago

I'm experiencing this exact same issue with pantheon-photos

ghost commented 7 years ago

pantheon-photos IS elementary OS "Photos". Adding this snippet from the elementary theme (gtk3/apps.css) to both gtk.css and gtk-dark.css in the gtk-3.18 subfolder solved it for me for all Arc (based) themes. I'm on elementary OS 0.4.1 with GTK+ 3.18.9. I placed the snippet after the first closing curly bracket.

... }


    /**********
     * Photos *
     *********/

    .checkerboard-layout {
        background-color: #383e41;
        background-image:
            linear-gradient(
                45deg,
                alpha (
                    #000,
                    0.1
                ) 25%,
                transparent 25%,
                transparent 75%,
                alpha (
                    #000,
                    0.1
                ) 75%,
                alpha (
                    #000,
                    0.1
                )
            ),
            linear-gradient(
                45deg,
                alpha (
                    #000,
                    0.1
                ) 25%,
                transparent 25%,
                transparent 75%,
                alpha (
                    #000,
                    0.1
                ) 75%,
                alpha (
                    #000,
                    0.1
                )
            );
        background-size: 24px 24px;
        background-position: 0 0, 12px 12px;
    }

    .checkboard-layout .item {
        background-color: #eee;
    }

    /* end Photos snippet */