bridgetown_theme_single_page_opt_in 0.1.46 → 0.1.47

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: f4706b3a5dbad501aaa73866343b816a05e74bc4affc6b828c4e2102eb807b7f
4
- data.tar.gz: d28e91dbcfe945b5658778275ab1b05a4fe56fc9d2d29dcc29f9d288f4a6b9ac
3
+ metadata.gz: 1a643db5f7762f46b7fe42c15bc270446c9ff909104666601701b6efc3b24fc1
4
+ data.tar.gz: 48b78f35036900791d0e2210f07b8e49116eb7515be9c8c255fa41f85dfc2abf
5
5
  SHA512:
6
- metadata.gz: 978da5b5df648821c110196b8e748e2a1e800ba1151d4f7de8ea038ab547f910bf3d237f49206aa0e3fa9a429539195ef16c0164e696f6e43d9494ba71d24e6c
7
- data.tar.gz: d9ab0e56c84da8436d5b3ae34f8c0282e6313470d0e7acc3436f24cba1844c8a1bc092d822e84a4eb74e321768e11d52d52de9232326bed273858305ebdfe10e
6
+ metadata.gz: 1e6ee74f946f53dacda1cddf653edf9ad8442c7d19f15400e35dbf5956b388b6e0b061b24cb3d4aeb8fcb62d4fd6a70a276f259bd7b5ecea97233881bc542566
7
+ data.tar.gz: dc9aeb4b3e6ddd7fd9b5f4d6e675f5037bb6fb97aef212f7143524ead6c1a99b6f613612fa6bd1dab98c3e792193e45aaf5929b4a7c1422c71df114e6343e234
@@ -4,14 +4,6 @@ add_gem("dotenv")
4
4
  gsub_file("config/initializers.rb", /^((?!#.)end)/, " init :bridgetown_theme_single_page_opt_in\nend")
5
5
  gsub_file("src/index.md", "layout: default", "layout: bridgetown_theme_single_page_opt_in/landing")
6
6
 
7
- prepend_to_file "frontend/styles/index.css" do
8
- "@import \"bridgetown_theme_single_page_opt_in/frontend/styles/index.css\";\n"
9
- end
10
-
11
- prepend_to_file "frontend/styles/index.css" do
12
- "@import url(\"./lander.css\");\n"
13
- end
14
-
15
7
  remove_file("src/_data/site_metadata.yml")
16
8
  create_file "src/_data/site_metadata.yml" do
17
9
  <<~YAML
@@ -798,6 +790,79 @@ create_file "src/images/guide-teaser.svg" do
798
790
  </svg>"
799
791
  end
800
792
 
793
+ create_file "frontend/styles/index.css" do
794
+ "@import url(\"./lander.css\");
795
+
796
+ :root {
797
+ --blue: #084b91;
798
+ --pale-blue: #084b91bf;
799
+ --light-blue: #b4d3f2;
800
+ --white: #ffffff;
801
+ }
802
+
803
+ .overlay {
804
+ position: fixed;
805
+ top: 0;
806
+ bottom: 0;
807
+ left: 0;
808
+ right: 0;
809
+ background: rgba(0, 0, 0, 0.7);
810
+ transition: opacity 0.5s;
811
+ visibility: hidden;
812
+ opacity: 0;
813
+ }
814
+ .overlay:target {
815
+ visibility: visible;
816
+ opacity: 1;
817
+ }
818
+
819
+ .popup {
820
+ margin: 70px auto;
821
+ padding: 20px;
822
+ background: #fff;
823
+ border-radius: 5px;
824
+ width: 70%;
825
+ position: relative;
826
+ transition: all 0.5s ease-in-out;
827
+ }
828
+
829
+ .popup h2 {
830
+ margin: 10px;
831
+ margin-top: 0;
832
+ color: #333;
833
+ font-family: Tahoma, Arial, sans-serif;
834
+ font-size: 16px;
835
+ }
836
+
837
+ .popup .close {
838
+ position: absolute;
839
+ top: 20px;
840
+ right: 30px;
841
+ transition: all 200ms;
842
+ font-size: 30px;
843
+ font-weight: bold;
844
+ text-decoration: none;
845
+ color: #333;
846
+ }
847
+ .popup .close:hover {
848
+ color: #06D85F;
849
+ }
850
+
851
+ .popup .content {
852
+ max-height: 30%;
853
+ overflow: auto;
854
+ }
855
+
856
+ @media screen and (max-width: 700px){
857
+ .box{
858
+ width: 85%;
859
+ }
860
+ .popup{
861
+ width: 85%;
862
+ }
863
+ }"
864
+ end
865
+
801
866
  create_file "frontend/styles/lander.css" do
802
867
  ".de-editable{cursor:auto !important}
803
868
  .highlight{background-color:#FFFF88}.addthisevent-drop{width:100% !important}.de-add-new-element-empty{display:none}.wideCountdown-demo{display:none}html{margin-right:0px !important;overflow-x:hidden}body{color:#2e2e2e}.container{overflow:hidden}.containerWithVisibleOverflow{overflow:visible}[data-trigger=\"load\"],[data-trigger=\"scroll\"]{opacity:0;position:relative}.stickyTop{z-index:4}.stickyTop.stuck{position:fixed;z-index:3;margin-top:0px !important;top:0px}.stickyBottom{position:fixed;bottom:0px;z-index:3}.elVideoplaceholder,.elAudioplaceholder{display:none}.elVideo,.elAudio{display:block !important}.fb-comments{display:block !important}.fbCommentsPlaceholder{display:none}.elFacebookMessengerCheckbox{display:none}.pace .pace-progress{background:#CC181E;position:fixed;z-index:2000;top:0;left:0;height:2px;-webkit-transition:width 1s;-moz-transition:width 1s;-o-transition:width 1s;transition:width 1s}.pace-inactive{display:none}.socialLikesPreview{display:none !important}.socialLikesLive{display:block !important}.stickyTop{z-index:22}.nodoBadge{position:fixed;bottom:0px;right:0px}.btnIMG:hover{opacity:.8}#closeCFPOPUP,#closeCFPOPUP:hover{cursor:pointer !important}.iframeblocked,.iframeunmuted{position:relative}.iframeBlocker,.iframeUnmute{position:absolute;top:0px;left:0px;height:100%;width:100%;z-index:5}.start-session-wrapper{height:100%;width:100%;background-color:rgba(0,0,0,0.8);display:table}.start-session{color:#FFF;font-weight:bold;font-size:2.5em;text-align:center;vertical-align:middle;display:table-cell}.start-session-wrapper:hover{cursor:pointer}.unmute-player-wrapper{height:100%;width:100%;background-color:rgba(0,0,0,0.1);display:table}.unmute-player-icon{color:#FFF;font-weight:bold;font-size:2.5em;text-align:center;vertical-align:middle;display:table-cell}.unmute-player-wrapper:hover{cursor:pointer}.smsExtras{display:none}.smsCheckArea{cursor:pointer;margin-bottom:0px}.smsCheck{margin-right:10px}.smsExtras{margin-top:15px}[data-imagelink]:not([data-imagelink=\"\"]){cursor:pointer}.elAffCopyPaste:hover{border:1px solid #0074C7;cursor:pointer}.elAffCopyPaste:hover .elAffiliateAssetTitle{background-color:#0074C7;color:#FFF}.elAffBlack{display:none;position:absolute;background-color:rgba(0,116,199,0.15);width:100%;height:100%;top:0px;left:0px}
@@ -1,5 +1,5 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  module SinglePageOptInTheme
4
- VERSION = "0.1.46"
4
+ VERSION = "0.1.47"
5
5
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: bridgetown_theme_single_page_opt_in
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.46
4
+ version: 0.1.47
5
5
  platform: ruby
6
6
  authors:
7
7
  - graial