PHP Classes

File: modules/system/assets/ui/less/flag.less

Recommend this page to a friend!
  Packages of Luke Towers   Winter   modules/system/assets/ui/less/flag.less   Download  
File: modules/system/assets/ui/less/flag.less
Role: Auxiliary data
Content type: text/plain
Description: Auxiliary data
Class: Winter
Content management system that uses MVC
Author: By
Last change:
Date: 7 months ago
Size: 1,173 bytes
 

Contents

Class file image Download
// // Dependencies // -------------------------------------------------- @import "../vendor/flag-icon/less/variables"; // // Overriding path variable // -------------------------------------------------- @flag-icon-css-path: 'vendor/flag-icon/flags'; // // Flag // -------------------------------------------------- [class^="flag-"], [class*=" flag-"] { background-size: contain; background-position: 50%; background-repeat: no-repeat; position: relative; display: inline-block; width: unit((4 / 3), em); line-height: 1em; &:before { content: "\00a0"; } &.oc-flag-squared, &.wn-flag-squared { width: 1em; } } .flag-icon(@country) { .flag-@{country} { background-image: ~"url(@{flag-icon-css-path}@{flag-icon-rect-path}/@{country}.svg)"; &.wn-flag-squared, &.oc-flag-squared { background-image: ~"url(@{flag-icon-css-path}@{flag-icon-square-path}/@{country}.svg)"; } } } // // Generate all flags // -------------------------------------------------- @import "../vendor/flag-icon/less/flag-icon-list"; @import "../vendor/flag-icon/less/flag-icon-more";