Browse Source

style

dev01
parent
commit
2e7d2ad634
5 changed files with 37 additions and 10 deletions
  1. +11
    -7
      app/modules/filesinfolders.php
  2. +1
    -1
      rsc/sass/_freaCMSfeatures.scss
  3. +14
    -0
      rsc/sass/_structure.scss
  4. +9
    -0
      rsc/style.css
  5. +2
    -2
      rsc/style.css.map

+ 11
- 7
app/modules/filesinfolders.php View File

break; break;
case 'youtube': case 'youtube':
if( in_array($request[2],array('left','right','full'))) {
$class = $request[2];
$vid=array_shift($request);
$pos= array_shift($request);
if( in_array($pos,array('left','right','full'))) {
$class = $pos;
} else { } else {
$class = 'left'; $class = 'left';
} }
$video=sprintf("<iframe width=\"700\" height=\"394\" class=\"ytvideo\" " $video=sprintf("<iframe width=\"700\" height=\"394\" class=\"ytvideo\" "
."src=\"https://www.youtube.com/embed/%s\"></iframe>", ."src=\"https://www.youtube.com/embed/%s\"></iframe>",
$request[1]);
$vid);


$thumbnail = sprintf("<div class=\"video-thumbnail\"><a href=\"%s\" data-featherlight=\"#%s\">" $thumbnail = sprintf("<div class=\"video-thumbnail\"><a href=\"%s\" data-featherlight=\"#%s\">"
."<img class=\"thumbnail\" src=\"https://img.youtube.com/vi/%s/mqdefault.jpg\" alt=\"video-preview\"/>" ."<img class=\"thumbnail\" src=\"https://img.youtube.com/vi/%s/mqdefault.jpg\" alt=\"video-preview\"/>"
."<img class=\"play-button\" src=\"%s\" alt=\"play-button\" />" ."<img class=\"play-button\" src=\"%s\" alt=\"play-button\" />"
."</a></div><div class=\"lightbox\" id=\"%s\" >%s</div>", ."</a></div><div class=\"lightbox\" id=\"%s\" >%s</div>",
"https://www.youtube.com/watch?v=".$request[1],
$request[1],
$request[1],
"https://www.youtube.com/watch?v=".$vid,
$vid,
$vid,
"/rsc/img/play-button.png", "/rsc/img/play-button.png",
$request[1],
$vid,
$video $video
); );


$class, $class,
$thumbnail, $thumbnail,
$md->text(implode("\n",$body))); $md->text(implode("\n",$body)));

break; break;
default: default:
$new=self::warn("Content Module \"".$request[0]."\" unknown"); $new=self::warn("Content Module \"".$request[0]."\" unknown");

+ 1
- 1
rsc/sass/_freaCMSfeatures.scss View File



// content elements: // content elements:
// box // box
a.content_element_box{
a.content_element_box {
.hover { .hover {
display: none; display: none;
} }

+ 14
- 0
rsc/sass/_structure.scss View File







.content_element_page.wall {
a.content_element_box {
float: left;
}
&:after {
content:"";
display: block;
clear: both;
}
div.content_element_box {
height:100px;
}
}

+ 9
- 0
rsc/style.css View File

#mobile-nav.open a.menu-toggle { #mobile-nav.open a.menu-toggle {
background-position: bottom; } background-position: bottom; }


.content_element_page.wall a.content_element_box {
float: left; }
.content_element_page.wall:after {
content: "";
display: block;
clear: both; }
.content_element_page.wall div.content_element_box {
height: 100px; }

a { a {
text-decoration: none; } text-decoration: none; }
a:hover { a:hover {

+ 2
- 2
rsc/style.css.map View File

{ {
"version": 3, "version": 3,
"mappings": "AAUA,CAAE;EACE,UAAU,EAAC,UAAU;;ACJzB,IAAK;EACD,KAAK,EALH,IAAI;EAMN,UAAU,EARP,IAAI;;AAWX,CAAE;EACE,KAAK,EAVH,IAAI;;ACCN,4BAAO;EACC,OAAO,EAAE,IAAI;AAGjB,kCAAO;EACH,OAAO,EAAE,MAAM;AAEnB,qCAAU;EACN,OAAO,EAAE,IAAI;AAGrB,6CAAwB;EACpB,OAAO,EAAE,YAAY;EACrB,QAAQ,EAAE,QAAQ;EAClB,MAAM,EAAE,KAAK;EACb,MAAM,EAAC,GAAG;EAEV,oDAAO;IAAE,MAAM,EAAC,IAAI;EACpB,iDAAI;IACA,MAAM,EAAE,IAAI;IACZ,KAAK,EAAE,IAAI;EAEf,sDAAS;IACL,QAAQ,EAAE,QAAQ;IAClB,KAAK,EAAE,IAAI;IACX,MAAM,EAAC,CAAC;IACR,KAAK,EAAC,CAAC;IACP,UAAU,EAAE,wBAAqB;;AAI7C,wBAAyB;EACrB,OAAO,EAAE,IAAI;;AAKjB,mCAAoC;EAChC,UAAU,EAAE,IAAI;EAChB,QAAQ,EAAE,O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EAAE,MAAM;EAEpB,yBAAc;IACV,QAAQ,EAAE,KAAK;IACf,GAAG,EAAC,CAAC;IACL,KAAK,EAAC,CAAC;IACP,KAAK,EAAC,IAAI;IACV,MAAM,EAAC,IAAI;IACX,OAAO,EAAC,GAAG;IACX,MAAM,EAAE,OAAO;IACf,UAAU,EAAE,wBAAqB;IACjC,gBAAgB,EAAE,oBAAoB;IACtC,mBAAmB,EAAE,GAAG;IACxB,eAAe,EAAE,IAAI;EAEzB,8BAAqB;IACjB,mBAAmB,EAAE,MAAM;;AC3F/B,gDAAsB;EAClB,KAAK,EAAE,IAAI;AAEf,gCAAQ;EACJ,OAAO,EAAC,EAAE;EACV,OAAO,EAAE,KAAK;EACd,KAAK,EAAE,IAAI;AAEf,kDAAwB;EACpB,MAAM,EAAC,KAAK;;ACpBpB,CAAE;EACE,eAAe,EAAE,IAAI;EACrB,OAAQ;IACJ,eAAe,EAAE,SAAS",
"sources": ["sass/main.scss","sass/_colours.scss","sass/_freaCMSfeatures.scss","sass/_structure.scss","sass/_design.scss"],
"names": [], "names": [],
"file": "style.css" "file": "style.css"
} }

Loading…
Cancel
Save