X-Git-Url: https://git.mdrn.pl/wolnelektury.git/blobdiff_plain/145bf215dceaee2808be13e45e8c5c09907ecd36..9f4f697f0c6fe9a9d55bb45aaa93c804992f3339:/apps/wolnelektury_core/static/css/main/_tools.scss diff --git a/apps/wolnelektury_core/static/css/main/_tools.scss b/apps/wolnelektury_core/static/css/main/_tools.scss index cb67ddab3..b3441eff7 100755 --- a/apps/wolnelektury_core/static/css/main/_tools.scss +++ b/apps/wolnelektury_core/static/css/main/_tools.scss @@ -2,16 +2,28 @@ #{$name}: $size + px; #{$name}: ($size / 16) + rem; } -@mixin font-size-px($size) { - @include size-px(font-size, $size); -} @mixin mono { font-family: "Andale Mono", "Lucida Sans Typewriter", "Courier New"; } + @mixin hidden-label { display: block; width: 1px; height: 1px; overflow:hidden; } + +@mixin white-box { + border-color: #ddd; + border-style: solid; + @include size-px(border-width, 1); + background: #fff; + + -moz-box-shadow: 2px 2px 2px #ddd; + -webkit-box-shadow: 2px 2px 2px #ddd; + box-shadow: 2px 2px 2px #ddd; + -moz-box-shadow: .125rem .125rem .125rem #ddd; + -webkit-box-shadow: .125rem .125rem .125rem #ddd; + box-shadow: .125rem .125rem .125rem #ddd; +}