Skip to content
Snippets Groups Projects
Commit c9564d0f authored by Davyd Burianuvatyi's avatar Davyd Burianuvatyi
Browse files

Issue #3318373: add color fallback

parent 9c025247
No related branches found
Tags 8.x-3.0-alpha24
No related merge requests found
......@@ -29,11 +29,11 @@
.block-ping-pong .ping-pong-item .item-description {
padding: 40px 80px; } }
.block-ping-pong .ping-pong-item.background {
background: var(--wsPrimaryColor);
background: var(--wsPrimaryColor, gray);
color: var(--ylb-color-white); }
.block-ping-pong .ping-pong-item.background h3 {
color: var(--ylb-color-white); }
.block-ping-pong:not(:has(+ .block-ping-pong)) {
margin-bottom: 2rem; }
/*# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbInBpbmdfcG9uZy5jc3MiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IkFBQUE7RUFDRSw4QkFBOEI7RUFDOUIsK0JBQStCLEVBQUU7O0FBRW5DO0VBQ0UsaUNBQWlDO0VBQ2pDLDBDQUEwQztFQUMxQyxnQkFBZ0IsRUFBRTtFQUNsQjtJQUNFLGVBQWU7SUFDZixpQkFBaUIsRUFBRTtFQUNyQjtJQUNFLGVBQWU7SUFDZixpQkFBaUIsRUFBRTtFQUNyQjtJQUNFLGVBQWU7SUFDZixpQkFBaUI7SUFDakIsa0NBQWtDLEVBQUU7RUFDdEM7SUFDRSxlQUFlO0lBQ2YsaUJBQWlCLEVBQUU7RUFDckI7SUFDRSxhQUFhO0lBQ2IscUJBQWdCO1NBQWhCLGdCQUFnQixFQUFFO0VBQ3BCO0lBQ0Usa0JBQWtCLEVBQUU7SUFDcEI7TUFDRTtRQUNFLGtCQUFrQixFQUFFLEVBQUU7RUFDNUI7SUFDRSxpQ0FBaUM7SUFDakMsNkJBQTZCLEVBQUU7SUFDL0I7TUFDRSw2QkFBNkIsRUFBRTtFQUNuQztJQUNFLG1CQUFtQixFQUFFIiwiZmlsZSI6InBpbmdfcG9uZy5jc3MiLCJzb3VyY2VzQ29udGVudCI6WyI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yIHtcbiAgICBkaXNwbGF5OiBmbGV4O1xuICAgIGNvbHVtbi1nYXA6IDMwcHg7IH1cbiAgLmJsb2NrLXBpbmctcG9uZyAucGluZy1wb25nLWl0ZW0gLml0ZW0tZGVzY3JpcHRpb24ge1xuICAgIHBhZGRpbmc6IDMzcHggMTVweDsgfVxuICAgIEBtZWRpYSAobWluLXdpZHRoOiA3NjhweCkge1xuICAgICAgLmJsb2NrLXBpbmctcG9uZyAucGluZy1wb25nLWl0ZW0gLml0ZW0tZGVzY3JpcHRpb24ge1xuICAgICAgICBwYWRkaW5nOiA0MHB4IDgwcHg7IH0gfVxuICAuYmxvY2stcGluZy1wb25nIC5waW5nLXBvbmctaXRlbS5iYWNrZ3JvdW5kIHtcbiAgICBiYWNrZ3JvdW5kOiB2YXIoLS13c1ByaW1hcnlDb2xvciwgZ3JheSk7XG4gICAgY29sb3I6IHZhcigtLXlsYi1jb2xvci13aGl0ZSk7IH1cbiAgICAuYmxvY2stcGluZy1wb25nIC5waW5nLXBvbmctaXRlbS5iYWNrZ3JvdW5kIGgzIHtcbiAgICAgIGNvbG9yOiB2YXIoLS15bGItY29sb3Itd2hpdGUpOyB9XG4gIC5ibG9jay1waW5nLXBvbmc6bm90KDpoYXMoKyAuYmxvY2stcGluZy1wb25nKSkge1xuICAgIG1hcmdpbi1ib3R0b206IDJyZW07IH1cbiJdfQ== */
\ No newline at end of file
......@@ -48,7 +48,7 @@
}
&.background {
background: var(--wsPrimaryColor);
background: var(--wsPrimaryColor, gray);
color: var(--ylb-color-white);
h3 {
......
lb_ping_pong:
version: 1.2
version: 1.3
css:
theme:
assets/css/ping_pong.css: { preprocess: true }
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment