summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAnthony G. Basile <blueness@gentoo.org>2017-05-20 17:02:17 -0400
committerAnthony G. Basile <blueness@gentoo.org>2017-05-20 17:02:17 -0400
commit7110857caa2bec4dc45c2f2eeba3e537e82fae79 (patch)
tree840bdbd374eb3b4d88e38c7110c897608f770737 /plugins/wordpress-mobile-pack/admin/sass/mixins/_display.scss
parentUpdate Aksimet v3.3.1, Jetpack v 4.9, Public Post Preview v 2.6.0 (diff)
downloadblogs-gentoo-7110857caa2bec4dc45c2f2eeba3e537e82fae79.tar.gz
blogs-gentoo-7110857caa2bec4dc45c2f2eeba3e537e82fae79.tar.bz2
blogs-gentoo-7110857caa2bec4dc45c2f2eeba3e537e82fae79.zip
Update wordpress-mobile-pack 3.0
Signed-off-by: Anthony G. Basile <blueness@gentoo.org>
Diffstat (limited to 'plugins/wordpress-mobile-pack/admin/sass/mixins/_display.scss')
-rwxr-xr-xplugins/wordpress-mobile-pack/admin/sass/mixins/_display.scss154
1 files changed, 154 insertions, 0 deletions
diff --git a/plugins/wordpress-mobile-pack/admin/sass/mixins/_display.scss b/plugins/wordpress-mobile-pack/admin/sass/mixins/_display.scss
new file mode 100755
index 00000000..ad6e7673
--- /dev/null
+++ b/plugins/wordpress-mobile-pack/admin/sass/mixins/_display.scss
@@ -0,0 +1,154 @@
+@mixin wbz-display-box($important: no) {
+ @if $important == important{
+ display: -webkit-box !important;
+ display: -ms-flexbox !important;
+ display: -moz-box !important;
+ display: box !important;
+ }
+ @else {
+ display: -webkit-box;
+ display: -ms-flexbox;
+ display: -moz-box;
+ display: box;
+ }
+}
+@mixin wbz-display-inline-box($important: no) {
+ @if $important == important{
+ display: -webkit-inline-box !important;
+ display: -ms-inline-flexbox !important;
+ display: -moz-inline-box !important;
+ display: inline-flex !important;
+ }
+ @else {
+ display: -webkit-inline-box;
+ display: -ms-inline-flexbox;
+ display: -moz-inline-box;
+ display: inline-flex;
+ }
+}
+@mixin wbz-box-flex($flex: 1, $preferredSize: auto, $important: no) {
+ @if $important == important{
+ -webkit-box-flex: $flex !important;
+ -ms-flex: $flex 0 $preferredSize !important;
+ -moz-box-flex: $flex !important;
+ box-flex: $flex !important;
+ flex: $flex 0 $preferredSize !important;
+ }
+ @else {
+ -webkit-box-flex: $flex;
+ -ms-flex: $flex 0 $preferredSize;
+ -moz-box-flex: $flex;
+ box-flex: $flex;
+ flex: $flex 0 $preferredSize;
+ }
+}
+@mixin wbz-box-orient($orient: horizontal, $important: no) {
+ @if $important == important {
+ -webkit-box-orient: $orient !important;
+ -moz-box-orient: $orient !important;
+ box-orient: $orient !important;
+ @if $orient == horizontal {
+ -ms-flex-direction: row !important;
+ flex-direction: row !important;
+ } @else {
+ -ms-flex-direction: column !important;
+ flex-direction: column !important;
+ }
+ } @else {
+ -webkit-box-orient: $orient;
+ -moz-box-orient: $orient;
+ box-orient: $orient;
+ @if $orient == horizontal {
+ -ms-flex-direction: row;
+ flex-direction: row;
+ } @else {
+ -ms-flex-direction: column;
+ flex-direction: column;
+ }
+ }
+}
+@mixin wbz-box-pack($pack: start, $important: no) {
+ @if $important == important {
+ -webkit-box-pack: $pack !important;
+ -moz-box-pack: $pack !important;
+ -ms-flex-pack: $pack !important;
+ box-pack: $pack !important;
+ @if $pack == start {
+ justify-content: flex-start !important;
+ }
+ @else if $pack == end {
+ justify-content: flex-end !important;
+ }
+ @else if $pack == justify {
+ justify-content: space-between !important;
+ }
+ @else {
+ justify-content: $pack !important;
+ }
+ } @else {
+ -webkit-box-pack: $pack;
+ -moz-box-pack: $pack;
+ -ms-flex-pack: $pack;
+ box-pack: $pack;
+ @if $pack == start {
+ justify-content: flex-start;
+ }
+ @else if $pack == end {
+ justify-content: flex-end;
+ }
+ @else if $pack == justify {
+ justify-content: space-between;
+ }
+ @else {
+ justify-content: $pack;
+ }
+ }
+}
+@mixin wbz-box-align($align: stretch, $important: no) {
+ @if $important == important{
+ -webkit-box-align: $align!important;
+ -moz-box-align: $align!important;
+ -ms-flex-align: $align!important;
+ box-align: $align!important;
+
+ @if $align == start {
+ align-items: flex-start!important;
+ }
+ @else if $align == end {
+ align-items: flex-end!important;
+ }
+ @else {
+ align-items: $align!important;
+ }
+ }
+ @else {
+ -webkit-box-align: $align;
+ -moz-box-align: $align;
+ -ms-flex-align: $align;
+ box-align: $align;
+
+ @if $align == start {
+ align-items: flex-start;
+ }
+ @else if $align == end {
+ align-items: flex-end;
+ }
+ @else {
+ align-items: $align;
+ }
+ }
+}
+@mixin wbz-box-sizing($value, $important: no){
+ @if $important == important{
+ -webkit-box-sizing: $value !important;
+ -moz-box-sizing: $value !important;
+ box-sizing: $value !important;
+ }
+ @else {
+ -webkit-box-sizing: $value;
+ -moz-box-sizing: $value;
+ box-sizing: $value;
+ }
+}
+
+