li { /* リスト形式: なし;表示: インラインブロック; text-transform: uppercase;*/ /*padding-right: 25px;*/ border-bottom: 1px 実線 #fff;マージン: 10px; } #desktop-main-menu-container #desktop-main-menu { /*表示: テーブル行;*/ 空白: nowrap;高さ: 30ピクセル; list-style: 外側 なし なし;マージン: 10px 0 0 65px;テキスト変換: 大文字; } #デスクトップメインメニュー > li { 表示: テーブルセル;フロート: 左;行の高さ: 30px; list-style: 外側 なし なし;マージン: 0;パディング: 0;位置: 相対的; } #desktop-main-menu > li > ul.menu-sub { 表示: なし;位置: 絶対; z インデックス: 1000;背景色: rgb(245, 238, 238);パディング:20ピクセル;テキスト整列:左; } #desktop-main-menu > li > ul.menu-sub li a.active、#desktop-main-menu > li > ul.menu-sub a:link、#desktop-main-menu > li > ul.menu-sub a:visited{ color:#374BA1;テキスト変換: なし。フォントサイズ: 14px; } #desktop-head ul > li.last > ul{ right: -1px; .caption-text-wrapper{ 背景色: 透明; } /*.header-agency-logo img { 高さ: 125px; }*/ /*#block-views-features-blocks-今後のイベント、#block-quicktabs-agency-featured-news-home{ float:left;幅:50%; }*/ .block-features-blocks-upcoming-events, .block-agency-featured-news-home{ /*幅: 75%;*/ マージン: 50px auto 0 auto; } /*.footer-links{width:100%}*/ #region-agency-home-main-content, .grid-24.region-agency-home-main-content{ top: 0;} .page-events #region-content, .page-newsroom #region-content { width: 720px; .owl-theme .owl-nav .owl-next, .owl-theme .owl-nav .owl-prev{ margin-top: -210px; } .owl-theme .owl-nav { margin-top: 0; } .slide #text{ margin-top:0;位置: 絶対; z インデックス: 10;左: 20%。背景: 透明;色: #fff; /* フォントの太さ: 太字;文字間隔: 4px;*/ 行の高さ: 通常; /* 下部: 50px;*/ 表示: ブロック;幅: 450ピクセル;フォントサイズ: 18px!重要;テキスト整列: 左;上: 150ピクセル; .slide #text h2{ font-size:32px; .slide #text {トップ: 100ピクセル; .callout-nav { margin-top: -250px; .tile {位置:相対;} .tile .learn-more{ width:130px;位置: 絶対;下: 0;左: 30%。 .zone-postscript-wrapper{ パディング:0; .logo-container{ グリッドテンプレート列:repeat(auto-fill, minmax(230px, 1fr)); .footer-logo{display:none;float:right;} /*.logo-container{grid-template-columns:100px 100px 100px;グリッド テンプレート行: 50% 50%;コンテンツの位置揃え: 周囲のスペース; }*/ .faq img{幅:自動;高さ:自動} .fullpage-ribbon-banner{ パディング:20px 25%; } .view-display-id-campaign_home_news_block .view-content, .block-quicktabs-agency-featured-news-home .content{ パディング:0 25%; } /********************************* Flickr CSS オーバーライド *********************************/ .page-flickr #zone-content .grid-12 { width: 980px! important; } #flickrgallery{ 幅: 100%;マージン: 0 自動; } /********************************* End Flickr CSS オーバーライド ********************************/ } /* Wide */ @media all and (min-width: 1224px) and (orientation:landscape){ .header{パディング: 10px 22%;} .form-item-sort-by { right: -110px; z インデックス: 1; .slide #text {トップ: 150ピクセル; } /******** 吹き出しレッドボックス ウィジェット Start*********/ .callout-nav .icon, .callout-nav .icon:nth-child(4), .callout-nav .icon:nth-child(5){ width:150px; .callout-nav{幅:700ピクセル; .callout-nav { margin-top: -300px; } /******** コールアウト レッドボックス ウィジェット End*********/ .header-agency-logo{;マージン左: 280px; .logo-container{ グリッドテンプレート列:repeat(auto-fill, minmax(240px, 1fr)); .block-views-features-blocks-homepage-a .view-content, .block-views-features-blocks-homepage-b .view-content, .block-views-features-blocks-homepage-c .view-content, .block-views-features-blocks-homepage-d .view-content{padding:50px 25%; } /********************************* Flickr CSS オーバーライド *********************************/ .page-flickr #zone-content .grid-12 { width: 1040px! important; } /********************************* Flickr CSS オーバーライドの終了 ********************************/ } /* GSE Search CSS */ #___gcse_0{ margin-bottom: 20px;幅: 50%;マージン: 0 自動; .gsc-control-cse{ 背景色: 透明;境界線: 0; } .gsc-input input{ 背景: 0 !重要;パディング: 10px !重要; .gsc-input table{ margin:0!重要; } .gsc-search-button-v2、.gsc-search-button-v2:hover、.gsc-search-button-v2:focus{ パディング: 11px!重要; }背景色: #132460!重要;境界半径: 21px!重要; .gsc-search-button-v2{ ボーダーカラー:透明; } .gsc-input 入力:フォーカス{ ボーダー:0;概要: なし。ボックスシャドウ: なし。 .gsc-search-box{ 表示:ブロック!重要; .gsc-results-wrapper-overlay{ text-align:left; #search_form{ 表示:なし; } ]]> “).insertAfter(“.header-agency-logo.desktop”); // jQuery(“#block-domain-conf-domain-main-links ul:first-child”).children().each(function() { // jQuery(this).clone().appendTo(‘#desktop-main-menu’); // }); // } jQuery(‘#search_form’).clone().appendTo(‘.region-branding-inner’);
“).prependTo(“#block-domain-conf-domain-main-links”); //モバイルに便利なビュー行全体をクリック可能にする jQuery(‘.fullpage-ribbon-banner’).click(function() { var href = jQuery(this).find(“a”).attr(“href”); if(href) { window.location = href; } }); jQuery(‘.fullpage-ribbon-banner’).each(function(){ // jQuery(this).parent() var el = jQuery(this); varparent = el.parent().parent().parent().parent().parent().parent().parent(); el.insertAfter(parent); console.log(parent); }); // FAQ toggle if (jQuery(‘.question’)) { jQuery(‘.question’).click(function () { console.log(‘im clicked’); jQuery(this).siblings(‘div’).slideToggle(); jQuery(this).toggleClass(‘expanded’); }) } // ヘッダー バナー画像を上部に追加しますjQuery(“.fullpage-banner-image”).insertAfter(“.not-front.page-node #page-title”); //ローテーターの下にセクションを移動 //jQuery(“.tile-container”).insertBefore(“.view-display-id-homepage_d h2.views-field-title”); document.getElementById(“block-domain-conf-domain-main-links”).style.width = “100%”; document.getElementById(“zone-preface-wrapper”).style.opacity = “.3”; document.getElementById(“zone-content-wrapper”).style.opacity = “.3”; document.getElementById(“zone-postscript-wrapper”).style.opacity = “.3”; } function closeNav() { document.getElementById(“block-domain-conf-domain-main-links”).style.width = “0”; document.getElementById(“zone-preface-wrapper”).style.opacity = “1”; document.getElementById(“zone-content-wrapper”).style.opacity = “1”; document.getElementById(“zone-postscript-wrapper”).style.opacity = “1”; jQuery(“#menu-btn”).click(openNav); jQuery(“#close-btn”).click(closeNav); // デフォルトの drupal 画像スタイルを削除します if(jQuery(‘.view-agency-sensitive-featured-news-home .views-field-field-image img’).length > 0){ let viewLeadImgs = document.querySelectorAll( “.views-field-field-image img” ); viewLeadImgs.forEach((img) => { let newUrl = img.attributes.src.value.replace( “/sites/default/files/styles/large/public/dc/sites/”, “/sites/default/files/dc/sites/” ); img.setAttribute(“src”, newUrl); }); if(jQuery(‘.field-name-field-image img’).length > 0){ let leadImgs = document.querySelectorAll(“.field-name-field-image img”); leadImgs.forEach((img) => { let newUrl = img.attributes.src.value.replace( “/sites/default/files/styles/large/public/dc/sites/”, “/sites/default/files/dc/sites/” ); img.setAttribute(“src”, newUrl) }); } if(window.location.pathname === ‘/newsroom’){ if(jQuery(“body.page-newsroom .view-newsroom .view-empty”).length ) {jQuery(“#edit-keys”).val(“”);} } }) //jQueryを終了
#ページが見つかりません #マヨールム