Yo 源文件
Yo 是一款基于 Mobile First 理念而设计的 CSS Framework,当然,它也适应于PC端的高级浏览器;其具备轻量,易用,快速且高度强大的自定义能力
Yo 是一款基于 Mobile First 理念而设计的 CSS Framework,当然,它也适应于PC端的高级浏览器;其具备轻量,易用,快速且高度强大的自定义能力
@charset "utf-8"; @import "variables"; /** * 合并variables和config中的同类map * 用以解决业务方升级Yo时需比config和variables的一致性 * 当config为空时,使用variables中的map作为默认值 * 当config不为空时,使用config中的定义 */ // 合并variables和config中的setting map @if global-variable-exists(setting) { $setting: map-merge($_setting, $setting); } @else { $setting: $_setting; } // 合并variables和config中的media-types map @if global-variable-exists(media-types) { $media-types: map-merge($_media-types, $media-types); } @else { $media-types: $_media-types; } // 合并variables和config中的ico map @if global-variable-exists(ico) { $ico: map-merge($_ico, $ico); } @else { $ico: $_ico; } // 合并variables和config中的z-index map @if global-variable-exists(z-index) { $z-index: map-merge($_z-index, $z-index); } @else { $z-index: $_z-index; } // 合并variables和config中的align map @if global-variable-exists(align) { $align: map-merge($_align, $align); } @else { $align: $_align; } // 合并variables和config中的flex map @if global-variable-exists(flex) { $flex: map-merge($_flex, $flex); } @else { $flex: $_flex; } // 合并variables和config中的stacked map @if global-variable-exists(stacked) { $stacked: map-merge($_stacked, $stacked); } @else { $stacked: $_stacked; } // 合并variables和config中的badge map @if global-variable-exists(badge) { $badge: map-merge($_badge, $badge); } @else { $badge: $_badge; } // 合并variables和config中的btn map @if global-variable-exists(btn) { $btn: map-merge($_btn, $btn); } @else { $btn: $_btn; } // 合并variables和config中的checked map @if global-variable-exists(checked) { $checked: map-merge($_checked, $checked); } @else { $checked: $_checked; } // 合并variables和config中的input map @if global-variable-exists(input) { $input: map-merge($_input, $input); } @else { $input: $_input; } // 合并variables和config中的loading map @if global-variable-exists(loading) { $loading: map-merge($_loading, $loading); } @else { $loading: $_loading; } // 合并variables和config中的loadtip map @if global-variable-exists(loadtip) { $loadtip: map-merge($_loadtip, $loadtip); } @else { $loadtip: $_loadtip; } // 合并variables和config中的range map @if global-variable-exists(range) { $range: map-merge($_range, $range); } @else { $range: $_range; } // 合并variables和config中的score map @if global-variable-exists(score) { $score: map-merge($_score, $score); } @else { $score: $_score; } // 合并variables和config中的breadcrumb map @if global-variable-exists(breadcrumb) { $breadcrumb: map-merge($_breadcrumb, $breadcrumb); } @else { $breadcrumb: $_breadcrumb; } // 合并variables和config中的btnbar map @if global-variable-exists(btnbar) { $btnbar: map-merge($_btnbar, $btnbar); } @else { $btnbar: $_btnbar; } // 合并variables和config中的header map @if global-variable-exists(header) { $header: map-merge($_header, $header); } @else { $header: $_header; } // 合并variables和config中的list map @if global-variable-exists(list) { $list: map-merge($_list, $list); } @else { $list: $_list; } // 合并variables和config中的proportion map @if global-variable-exists(proportion) { $proportion: map-merge($_proportion, $proportion); } @else { $proportion: $_proportion; } // 合并variables和config中的table map @if global-variable-exists(table) { $table: map-merge($_table, $table); } @else { $table: $_table; } // 合并variables和config中的datepicker map @if global-variable-exists(datepicker) { $datepicker: map-merge($_datepicker, $datepicker); } @else { $datepicker: $_datepicker; } // 合并variables和config中的dialog map @if global-variable-exists(dialog) { $dialog: map-merge($_dialog, $dialog); } @else { $dialog: $_dialog; } // 合并variables和config中的doublelist map @if global-variable-exists(doublelist) { $doublelist: map-merge($_doublelist, $doublelist); } @else { $doublelist: $_doublelist; } // 合并variables和config中的group map @if global-variable-exists(group) { $group: map-merge($_group, $group); } @else { $group: $_group; } // 合并variables和config中的index map @if global-variable-exists(index) { $index: map-merge($_index, $index); } @else { $index: $_index; } // 合并variables和config中的mask map @if global-variable-exists(mask) { $mask: map-merge($_mask, $mask); } @else { $mask: $_mask; } // 合并variables和config中的number map @if global-variable-exists(number) { $number: map-merge($_number, $number); } @else { $number: $_number; } // 合并variables和config中的group map @if global-variable-exists(group) { $group: map-merge($_group, $group); } @else { $group: $_group; } // 合并variables和config中的popup map @if global-variable-exists(popup) { $popup: map-merge($_popup, $popup); } @else { $popup: $_popup; } // 合并variables和config中的rating map @if global-variable-exists(rating) { $rating: map-merge($_rating, $rating); } @else { $rating: $_rating; } // 合并variables和config中的select map @if global-variable-exists(select) { $select: map-merge($_select, $select); } @else { $select: $_select; } // 合并variables和config中的slidermenu map @if global-variable-exists(slidermenu) { $slidermenu: map-merge($_slidermenu, $slidermenu); } @else { $slidermenu: $_slidermenu; } // 合并variables和config中的suggest map @if global-variable-exists(suggest) { $suggest: map-merge($_suggest, $suggest); } @else { $suggest: $_suggest; } // 合并variables和config中的switch map @if global-variable-exists(switch) { $switch: map-merge($_switch, $switch); } @else { $switch: $_switch; } // 合并variables和config中的switchable map @if global-variable-exists(switchable) { $switchable: map-merge($_switchable, $switchable); } @else { $switchable: $_switchable; } // 合并variables和config中的tab map @if global-variable-exists(tab) { $tab: map-merge($_tab, $tab); } @else { $tab: $_tab; } // 合并variables和config中的tip map @if global-variable-exists(tip) { $tip: map-merge($_tip, $tip); } @else { $tip: $_tip; } // 合并variables和config中的vcode map @if global-variable-exists(vcode) { $vcode: map-merge($_vcode, $vcode); } @else { $vcode: $_vcode; }