Home
last modified time | relevance | path

Searched refs:ratio (Results 1 – 25 of 106) sorted by relevance

12345

/template/breeze/bower_components/gumby/sass/extensions/modular-scale/stylesheets/
D_modular-scale.scss5 $ratio: golden_ratio() !default; variable
10 @function modular-scale($multiple, $base-size: $base-size, $ratio: $ratio, $round-pixels: $round-pi… parameter
25 // calculate values in using each base-size / ratio combination
26 @if type-of($base-size) == "list" and type-of($ratio) == "list" {
27 …@if unit(ms-multibase-multiratio($multiple, $base-size, $ratio)) == "px" and $round-pixels == true…
28 @return round(ms-multibase-multiratio($multiple, $base-size, $ratio));
30 @return ms-multibase-multiratio($multiple, $base-size, $ratio);
35 @if type-of($base-size) == "list" and type-of($ratio) == "number" {
36 @if unit(ms-multibase($multiple, $base-size, $ratio)) == "px" and $round-pixels == true {
37 @return round(ms-multibase($multiple, $base-size, $ratio));
[all …]
/template/bootstrap3/
Ddetail.php242 $ratio = 1; variable
246 $ratio = $maxwidth / $w; variable
248 $ratio = $maxheight / $h; variable
252 $ratio = $maxheight / $h; variable
254 $ratio = $maxwidth / $w; variable
258 if ($ratio) {
259 $w = floor($ratio * $w);
260 $h = floor($ratio * $h);
265 foreach (array(0.1, 0.25, 0.5, 0.75, 1) as $ratio) {
267 'w' => floor($ratio * $originalwidth),
[all …]
/template/strap/ComboStrap/
H A DFetcherImage.php57 $ratio = $this->getRequestedAspectRatio();
58 $url->addQueryParameterIfNotPresent(Dimension::RATIO_ATTRIBUTE, $ratio);
339 $ratio = $this->getCalculatedRequestedAspectRatioAsFloat();
341 $ratio = $this->getIntrinsicAspectRatio();
343 return self::round($width / $ratio);
353 $ratio = $this->getCalculatedRequestedAspectRatioAsFloat();
354 [$croppedWidth, $croppedHeight] = $this->getCroppingDimensionsWithRatio($ratio);
389 $ratio = $this->getCalculatedRequestedAspectRatioAsFloat();
391 $ratio = $this->getIntrinsicAspectRatio();
393 return self::round($ratio * $height);
[all …]
H A DPageImageTag.php130 $ratio = $tagAttributes->getValueAndRemoveIfPresent(Dimension::RATIO_ATTRIBUTE);
131 if ($width === null && $height !== null && $ratio === null) {
134 if ($width !== null && $height !== null && $ratio === null) {
140 if ($ratio !== null) {
142 $imageFetcher->setRequestedAspectRatio($ratio);
144 … LogUtility::error("The ratio value ($ratio) is not a valid ratio for the icon image ($icon)");
H A DConditionalLength.php147 $ratio = $this->getRatio();
148 if ($ratio > 1) {
149 …throw new ExceptionBadArgument("The length ratio ($ratio) is greater than 1. It should be less tha…
H A DColorRgb.php724 $ratio = ($lighter->getLuminance() + 0.05) / ($darker->getLuminance() + 0.05);
725 return floor($ratio * 100) / 100;
735 $ratio = $this->getContrastRatio($targetColor);
738 while ($ratio < $minimum) {
744 $ratio = $newColorRgb->getContrastRatio($targetColor);
H A DGridTag.php321 $ratio = $conditionalLengthObject->getRatio();
322 if ($ratio > 1) {
323 …LogUtility::warning("The ratio ($ratio) of the width ($conditionalLengthObject) should not be grea…
H A DMediaMarkup.php750 $ratio = $tagAttributes->getValueAndRemoveIfPresent(Dimension::RATIO_ATTRIBUTE);
751 if ($ratio !== null) {
752 $this->fetchUrl->addQueryParameterIfNotPresent(Dimension::RATIO_ATTRIBUTE, $ratio);
/template/breeze/bower_components/modular-scale/
Dreadme.md9ratio and a base value. The base value is usually your text font size or 1em. Optionally you can a…
51 …r `1em` and can have multiple values. `$ms-ratio` is the factor of change between each number so i…
55 $ms-ratio: $golden;
69 @debug ms-list($start, $end, $ms-base, $ms-ratio);
84 .multi-ratio {
89 You can use multiple $ms-bases and multiple $ms-ratio together
101 By default, the variable `$ms-ratio` is set to `$golden`.
128 Add your own ratio in Sass by setting a variable and passing that to modular-scale.
131 $my-ratio: 1 / 3.14159265;
132 $ms-ratio: $my-ratio;
[all …]
/template/breeze/bower_components/modular-scale/stylesheets/
D_modular-scale-tests.scss47 @warn "function ms() multi-ratio: FAIL!";
53 @warn "function ms(+) multi-ratio: pass";
58 @warn "function ms() multi-ratio: FAIL!";
64 @warn "function ms(-) multi-ratio: pass";
D_modular-scale.scss4 $ms-ratio: $golden !default;
/template/breeze/bower_components/modular-scale/stylesheets/modular-scale/
D_function.scss2 @function ms($Value: 0, $Bases: $ms-base, $Ratios: $ms-ratio) {
4 // If no multi-base or multi-ratio stuff is going on
53 @function modular-scale($Value: 0, $Bases: $ms-base, $Ratios: $ms-ratio) {
D_ratios.scss1 // Golden ratio
D_calc.scss1 @function ms-calc($Value, $Base: $ms-base, $Ratio: $ms-ratio) {
D_generate-list.scss15 @function ms-generate-list($Value: 0, $Bases: $ms-base, $Ratios: $ms-ratio) {
21 // Loop through each ratio AND each base
/template/breeze/bower_components/gumby/sass/functions/
D_height-calc.scss5 @return ms($ratio, $size) + 1;
D_button-size.scss16 $button-height: ms($ratio, $button-font-size) + 1;
/template/sxs/
Dsxs.php348 $ratio = $item['meta']->getResizeRatio(120);
349 $tw = floor($w * $ratio);
350 $th = floor($h * $ratio);
/template/strap/resources/slot/
H A Dmain-header.md4 <page-image featured height="250" ratio="21:9" linking="default" default="icon|ancestor|logo" lazy=…
/template/mikio/icons/bootstrap-icons/svg/
H A Daspect-ratio-fill.svg1 <svg class="bi bi-aspect-ratio-fill" width="1em" height="1em" viewBox="0 0 16 16" fill="currentColo…
H A Daspect-ratio.svg1 <svg class="bi bi-aspect-ratio" width="1em" height="1em" viewBox="0 0 16 16" fill="currentColor" xm…
/template/strap/resources/theme/default/pages/partials/
H A Dmain-header-partial.hbs10 …{{#page-image featured height="250" ratio="21:9" linking="default" default="icon|ancestor|logo" zo…
/template/klean/bootstrap/css/
Dbootstrap-theme.min.css.map1ratio) {\n -webkit-transform: scale(@ratio);\n -ms-transform: scale(@ratio); // IE9 only\n …
/template/templar/less/
Dmixins.less286 .scale(@ratio) {
287 -webkit-transform: scale(@ratio);
288 -moz-transform: scale(@ratio);
289 -ms-transform: scale(@ratio);
290 -o-transform: scale(@ratio);
291 transform: scale(@ratio);
/template/breeze/bower_components/gumby/sass/extensions/sassy-math/stylesheets/
D_math.scss276 $golden-ratio: golden();
277 $ϕ: $golden-ratio;

12345