コミット
2e7d2ad634
5個のファイルの変更37行の追加10行の削除
  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 ファイルの表示

@@ -538,24 +538,27 @@ class FilesInFolders {
break;
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 {
$class = 'left';
}
$video=sprintf("<iframe width=\"700\" height=\"394\" class=\"ytvideo\" "
."src=\"https://www.youtube.com/embed/%s\"></iframe>",
$request[1]);
$vid);

$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=\"play-button\" src=\"%s\" alt=\"play-button\" />"
."</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",
$request[1],
$vid,
$video
);

@@ -573,6 +576,7 @@ class FilesInFolders {
$class,
$thumbnail,
$md->text(implode("\n",$body)));

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

+ 1
- 1
rsc/sass/_freaCMSfeatures.scss ファイルの表示

@@ -1,7 +1,7 @@

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

+ 14
- 0
rsc/sass/_structure.scss ファイルの表示

@@ -7,3 +7,17 @@ body,h1,h2,h3,h4,h5,h6,ul {



.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 ファイルの表示

@@ -86,6 +86,15 @@ a.content_element_box div.content_element_box {
#mobile-nav.open a.menu-toggle {
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 {
text-decoration: none; }
a:hover {

+ 2
- 2
rsc/style.css.map ファイルの表示

@@ -1,7 +1,7 @@
{
"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,OAAO;EACjB,4DAAyB;IACrB,KAAK,ED5CN,IAAI;IC6CH,UAAU,EAAE,IAAI;IAChB,GAAG,EAAE,KAAK;IACV,KAAK,EAAE,KAAK;IACZ,SAAS,EAAE,KAAK;EAEpB,yCAAuB;IACnB,0CAAO;MAAE,KAAK,EAAC,IAAI;MAAE,MAAM,EAAC,IAAI;;AASpC,yCAAuB;EAD3B,SAAU;IAEF,OAAO,EAAE,IAAI;;AAIrB,WAAY;EAC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AAI;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": [],
"file": "style.css"
}

読み込み中…
キャンセル
保存