radius 0.7.4 → 0.8.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +7 -0
- data/CHANGELOG +8 -0
- data/CONTRIBUTORS +2 -0
- data/Gemfile +16 -2
- data/README.rdoc +2 -6
- data/Rakefile +10 -1
- data/coverage/assets/{0.7.1 → 0.10.2}/application.css +52 -363
- data/coverage/assets/{0.7.1 → 0.10.2}/application.js +1153 -72
- data/coverage/assets/0.10.2/colorbox/border.png +0 -0
- data/coverage/assets/0.10.2/colorbox/controls.png +0 -0
- data/coverage/assets/0.10.2/colorbox/loading.gif +0 -0
- data/coverage/assets/0.10.2/colorbox/loading_background.png +0 -0
- data/coverage/assets/0.13.1/DataTables-1.10.20/images/sort_asc.png +0 -0
- data/coverage/assets/0.13.1/DataTables-1.10.20/images/sort_asc_disabled.png +0 -0
- data/coverage/assets/0.13.1/DataTables-1.10.20/images/sort_both.png +0 -0
- data/coverage/assets/0.13.1/DataTables-1.10.20/images/sort_desc.png +0 -0
- data/coverage/assets/0.13.1/DataTables-1.10.20/images/sort_desc_disabled.png +0 -0
- data/coverage/assets/0.13.1/application.css +1 -0
- data/coverage/assets/0.13.1/application.js +7 -0
- data/coverage/assets/0.13.1/colorbox/border.png +0 -0
- data/coverage/assets/0.13.1/colorbox/controls.png +0 -0
- data/coverage/assets/0.13.1/colorbox/loading.gif +0 -0
- data/coverage/assets/0.13.1/colorbox/loading_background.png +0 -0
- data/coverage/assets/0.13.1/favicon_green.png +0 -0
- data/coverage/assets/0.13.1/favicon_red.png +0 -0
- data/coverage/assets/0.13.1/favicon_yellow.png +0 -0
- data/coverage/assets/0.13.1/images/ui-bg_flat_0_aaaaaa_40x100.png +0 -0
- data/coverage/assets/0.13.1/images/ui-bg_flat_75_ffffff_40x100.png +0 -0
- data/coverage/assets/0.13.1/images/ui-bg_glass_55_fbf9ee_1x400.png +0 -0
- data/coverage/assets/0.13.1/images/ui-bg_glass_65_ffffff_1x400.png +0 -0
- data/coverage/assets/0.13.1/images/ui-bg_glass_75_dadada_1x400.png +0 -0
- data/coverage/assets/0.13.1/images/ui-bg_glass_75_e6e6e6_1x400.png +0 -0
- data/coverage/assets/0.13.1/images/ui-bg_glass_95_fef1ec_1x400.png +0 -0
- data/coverage/assets/0.13.1/images/ui-bg_highlight-soft_75_cccccc_1x100.png +0 -0
- data/coverage/assets/0.13.1/images/ui-icons_222222_256x240.png +0 -0
- data/coverage/assets/0.13.1/images/ui-icons_2e83ff_256x240.png +0 -0
- data/coverage/assets/0.13.1/images/ui-icons_454545_256x240.png +0 -0
- data/coverage/assets/0.13.1/images/ui-icons_888888_256x240.png +0 -0
- data/coverage/assets/0.13.1/images/ui-icons_cd0a0a_256x240.png +0 -0
- data/coverage/assets/0.13.1/loading.gif +0 -0
- data/coverage/assets/0.13.1/magnify.png +0 -0
- data/lib/radius/context.rb +2 -1
- data/lib/radius/delegating_open_struct.rb +15 -19
- data/lib/radius/ord_string.rb +6 -8
- data/lib/radius/parser/JavaScanner.class +0 -0
- data/lib/radius/parser/JavaScanner.java +211 -161
- data/lib/radius/parser/JavaScanner.rl +36 -7
- data/lib/radius/parser/scanner.rb +2 -2
- data/lib/radius/parser.rb +69 -40
- data/lib/radius/utility.rb +5 -14
- data/lib/radius/version.rb +1 -1
- data/lib/radius.rb +11 -11
- data/pkg/radius-0.8.0.gem +0 -0
- data/radius.gemspec +12 -4
- data/test/context_test.rb +13 -5
- data/test/multithreaded_test.rb +60 -43
- data/test/ord_string_test.rb +3 -3
- data/test/parser_test.rb +11 -3
- data/test/quickstart_test.rb +2 -2
- data/test/squiggle_test.rb +3 -3
- data/test/test_helper.rb +21 -26
- data/test/utility_test.rb +3 -3
- metadata +86 -70
- data/coverage/assets/0.7.1/fancybox/blank.gif +0 -0
- data/coverage/assets/0.7.1/fancybox/fancy_close.png +0 -0
- data/coverage/assets/0.7.1/fancybox/fancy_loading.png +0 -0
- data/coverage/assets/0.7.1/fancybox/fancy_nav_left.png +0 -0
- data/coverage/assets/0.7.1/fancybox/fancy_nav_right.png +0 -0
- data/coverage/assets/0.7.1/fancybox/fancy_shadow_e.png +0 -0
- data/coverage/assets/0.7.1/fancybox/fancy_shadow_n.png +0 -0
- data/coverage/assets/0.7.1/fancybox/fancy_shadow_ne.png +0 -0
- data/coverage/assets/0.7.1/fancybox/fancy_shadow_nw.png +0 -0
- data/coverage/assets/0.7.1/fancybox/fancy_shadow_s.png +0 -0
- data/coverage/assets/0.7.1/fancybox/fancy_shadow_se.png +0 -0
- data/coverage/assets/0.7.1/fancybox/fancy_shadow_sw.png +0 -0
- data/coverage/assets/0.7.1/fancybox/fancy_shadow_w.png +0 -0
- data/coverage/assets/0.7.1/fancybox/fancy_title_left.png +0 -0
- data/coverage/assets/0.7.1/fancybox/fancy_title_main.png +0 -0
- data/coverage/assets/0.7.1/fancybox/fancy_title_over.png +0 -0
- data/coverage/assets/0.7.1/fancybox/fancy_title_right.png +0 -0
- data/coverage/assets/0.7.1/fancybox/fancybox-x.png +0 -0
- data/coverage/assets/0.7.1/fancybox/fancybox-y.png +0 -0
- data/coverage/assets/0.7.1/fancybox/fancybox.png +0 -0
- data/pkg/radius-0.7.0.prerelease.gem +0 -0
- /data/coverage/assets/{0.7.1 → 0.10.2}/favicon_green.png +0 -0
- /data/coverage/assets/{0.7.1 → 0.10.2}/favicon_red.png +0 -0
- /data/coverage/assets/{0.7.1 → 0.10.2}/favicon_yellow.png +0 -0
- /data/coverage/assets/{0.7.1 → 0.10.2}/loading.gif +0 -0
- /data/coverage/assets/{0.7.1 → 0.10.2}/magnify.png +0 -0
- /data/coverage/assets/{0.7.1 → 0.10.2}/smoothness/images/ui-bg_flat_0_aaaaaa_40x100.png +0 -0
- /data/coverage/assets/{0.7.1 → 0.10.2}/smoothness/images/ui-bg_flat_75_ffffff_40x100.png +0 -0
- /data/coverage/assets/{0.7.1 → 0.10.2}/smoothness/images/ui-bg_glass_55_fbf9ee_1x400.png +0 -0
- /data/coverage/assets/{0.7.1 → 0.10.2}/smoothness/images/ui-bg_glass_65_ffffff_1x400.png +0 -0
- /data/coverage/assets/{0.7.1 → 0.10.2}/smoothness/images/ui-bg_glass_75_dadada_1x400.png +0 -0
- /data/coverage/assets/{0.7.1 → 0.10.2}/smoothness/images/ui-bg_glass_75_e6e6e6_1x400.png +0 -0
- /data/coverage/assets/{0.7.1 → 0.10.2}/smoothness/images/ui-bg_glass_95_fef1ec_1x400.png +0 -0
- /data/coverage/assets/{0.7.1 → 0.10.2}/smoothness/images/ui-bg_highlight-soft_75_cccccc_1x100.png +0 -0
- /data/coverage/assets/{0.7.1 → 0.10.2}/smoothness/images/ui-icons_222222_256x240.png +0 -0
- /data/coverage/assets/{0.7.1 → 0.10.2}/smoothness/images/ui-icons_2e83ff_256x240.png +0 -0
- /data/coverage/assets/{0.7.1 → 0.10.2}/smoothness/images/ui-icons_454545_256x240.png +0 -0
- /data/coverage/assets/{0.7.1 → 0.10.2}/smoothness/images/ui-icons_888888_256x240.png +0 -0
- /data/coverage/assets/{0.7.1 → 0.10.2}/smoothness/images/ui-icons_cd0a0a_256x240.png +0 -0
checksums.yaml
ADDED
@@ -0,0 +1,7 @@
|
|
1
|
+
---
|
2
|
+
SHA256:
|
3
|
+
metadata.gz: e3d5a8f800e81bf9546cea5f39b56b19e5ba59c1e0314d329317a25ac687d40c
|
4
|
+
data.tar.gz: 5b3ea990585ebba49a9cffce044f9266791450e5492bbe20b09241ec06334472
|
5
|
+
SHA512:
|
6
|
+
metadata.gz: 37dd07acd4c59b779c43a62f6a4e25b3c23f92e7d126ae6aa067fb7c7f2106df24f8ebe3342e458a3a3ae099187534949438618d9edb5a6c1a6a180b6ce36035
|
7
|
+
data.tar.gz: 6a45ad39c34c32706cab428392e3caaa80b34fbe5b4dbb41a2a600e5e06ed7ca45c66cf9a2d29261a21ad6cf992d34250b660517187581f429437728da86ce45
|
data/CHANGELOG
CHANGED
@@ -1,5 +1,13 @@
|
|
1
1
|
= Change Log
|
2
2
|
|
3
|
+
== 0.8.0
|
4
|
+
* Ensure that the DelegatingOpenStruct is a true copy of the original [saturnflyer]
|
5
|
+
* Avoid errors with frozen strings in Ruby 3.4+ [jeremyevans]
|
6
|
+
* Drop support for EOL versions of Ruby
|
7
|
+
|
8
|
+
== 0.7.5
|
9
|
+
* Added support for tags and attributes containing dashes [yurivm, ronald]
|
10
|
+
|
3
11
|
== 0.7.4
|
4
12
|
* added support for Ruby 2+
|
5
13
|
|
data/CONTRIBUTORS
CHANGED
data/Gemfile
CHANGED
@@ -7,5 +7,19 @@ group :test do
|
|
7
7
|
gem 'rake'
|
8
8
|
gem 'kramdown'
|
9
9
|
gem "simplecov"
|
10
|
-
gem '
|
11
|
-
|
10
|
+
gem 'coveralls_reborn', :require => false
|
11
|
+
gem 'minitest'
|
12
|
+
end
|
13
|
+
|
14
|
+
|
15
|
+
platforms :rbx do
|
16
|
+
gem 'racc' # if using gems like ruby_parser or parser
|
17
|
+
# gem 'rubysl', '~> 2.0'
|
18
|
+
# gem 'psych'
|
19
|
+
gem 'rubinius-developer_tools'
|
20
|
+
end
|
21
|
+
|
22
|
+
platforms :jruby do
|
23
|
+
gem 'jar-dependencies', '~> 0.4.1'
|
24
|
+
gem 'ruby-maven', '~> 3.3.11'
|
25
|
+
end
|
data/README.rdoc
CHANGED
@@ -1,6 +1,6 @@
|
|
1
1
|
= Radius -- Powerful Tag-Based Templates
|
2
2
|
|
3
|
-
{
|
3
|
+
{rdoc-image:https://github.com/jlong/radius/workflows/CI/badge.svg}[https://github.com/jlong/radius/actions] {rdoc-image:https://codeclimate.com/github/jlong/radius.png}[https://codeclimate.com/github/jlong/radius] {rdoc-image:https://coveralls.io/repos/jlong/radius/badge.png}[https://coveralls.io/r/jlong/radius]
|
4
4
|
|
5
5
|
|
6
6
|
Radius is a powerful tag-based template language for Ruby inspired by the
|
@@ -66,7 +66,7 @@ It is recommended that you install Radius using the RubyGems packaging system:
|
|
66
66
|
|
67
67
|
== License
|
68
68
|
|
69
|
-
Radius is released under the MIT license and is copyright (c) 2006-
|
69
|
+
Radius is released under the MIT license and is copyright (c) 2006-2025
|
70
70
|
John W. Long. A copy of the MIT license can be found in the LICENSE file.
|
71
71
|
|
72
72
|
|
@@ -88,10 +88,6 @@ This is a prioritized roadmap for future releases:
|
|
88
88
|
|
89
89
|
The latest version of Radius can be found on RubyForge:
|
90
90
|
|
91
|
-
http://rubyforge.org/projects/radius
|
92
|
-
|
93
|
-
Experimental and development versions of Radius can be found on Github:
|
94
|
-
|
95
91
|
http://github.com/jlong/radius
|
96
92
|
|
97
93
|
If you are interested in helping with the development of Radius, feel free to
|
data/Rakefile
CHANGED
@@ -1,4 +1,4 @@
|
|
1
|
-
require '
|
1
|
+
require 'bundler/gem_tasks'
|
2
2
|
require 'rake'
|
3
3
|
|
4
4
|
require File.dirname(__FILE__) + '/lib/radius/version'
|
@@ -6,3 +6,12 @@ require File.dirname(__FILE__) + '/lib/radius/version'
|
|
6
6
|
Dir['tasks/**/*.rake'].each { |t| load t }
|
7
7
|
|
8
8
|
task :default => :test
|
9
|
+
|
10
|
+
namespace :build do
|
11
|
+
desc "Build both Ruby and Java platform gems"
|
12
|
+
task :all do
|
13
|
+
version = ::Radius.version
|
14
|
+
system "gem build radius.gemspec --platform ruby -o radius-#{version}.gem"
|
15
|
+
system "gem build radius.gemspec --platform java -o radius-#{version}-java.gem"
|
16
|
+
end
|
17
|
+
end
|
@@ -528,369 +528,58 @@ pre .tex .formula {
|
|
528
528
|
/* Overlays */
|
529
529
|
.ui-widget-overlay { background: #aaaaaa url(images/ui-bg_flat_0_aaaaaa_40x100.png) 50% 50% repeat-x; opacity: .30;filter:Alpha(Opacity=30); }
|
530
530
|
.ui-widget-shadow { margin: -8px 0 0 -8px; padding: 8px; background: #aaaaaa url(images/ui-bg_flat_0_aaaaaa_40x100.png) 50% 50% repeat-x; opacity: .30;filter:Alpha(Opacity=30); -moz-border-radius: 8px; -webkit-border-radius: 8px; border-radius: 8px; }
|
531
|
-
/*
|
532
|
-
|
533
|
-
|
534
|
-
|
535
|
-
|
536
|
-
|
537
|
-
|
538
|
-
|
539
|
-
|
540
|
-
|
541
|
-
|
542
|
-
|
543
|
-
|
544
|
-
|
545
|
-
|
546
|
-
|
547
|
-
|
548
|
-
|
549
|
-
|
550
|
-
|
551
|
-
|
552
|
-
|
553
|
-
|
554
|
-
|
555
|
-
|
556
|
-
|
557
|
-
|
558
|
-
|
559
|
-
}
|
560
|
-
|
561
|
-
|
562
|
-
|
563
|
-
|
564
|
-
}
|
565
|
-
|
566
|
-
#
|
567
|
-
|
568
|
-
|
569
|
-
|
570
|
-
|
571
|
-
|
572
|
-
|
573
|
-
}
|
574
|
-
|
575
|
-
#
|
576
|
-
|
577
|
-
|
578
|
-
|
579
|
-
|
580
|
-
|
581
|
-
|
582
|
-
|
583
|
-
display: none;
|
584
|
-
}
|
585
|
-
|
586
|
-
* html #fancybox-overlay { /* IE6 */
|
587
|
-
position: absolute;
|
588
|
-
width: 100%;
|
589
|
-
}
|
590
|
-
|
591
|
-
#fancybox-tmp {
|
592
|
-
padding: 0;
|
593
|
-
margin: 0;
|
594
|
-
border: 0;
|
595
|
-
overflow: auto;
|
596
|
-
display: none;
|
597
|
-
}
|
598
|
-
|
599
|
-
#fancybox-wrap {
|
600
|
-
position: absolute;
|
601
|
-
top: 0;
|
602
|
-
left: 0;
|
603
|
-
margin: 0;
|
604
|
-
padding: 20px;
|
605
|
-
z-index: 1101;
|
606
|
-
display: none;
|
607
|
-
}
|
608
|
-
|
609
|
-
#fancybox-outer {
|
610
|
-
position: relative;
|
611
|
-
width: 100%;
|
612
|
-
height: 100%;
|
613
|
-
background: #FFF;
|
614
|
-
}
|
615
|
-
|
616
|
-
#fancybox-inner {
|
617
|
-
position: absolute;
|
618
|
-
top: 0;
|
619
|
-
left: 0;
|
620
|
-
width: 1px;
|
621
|
-
height: 1px;
|
622
|
-
padding: 0;
|
623
|
-
margin: 0;
|
624
|
-
outline: none;
|
625
|
-
overflow: hidden;
|
626
|
-
}
|
627
|
-
|
628
|
-
#fancybox-hide-sel-frame {
|
629
|
-
position: absolute;
|
630
|
-
top: 0;
|
631
|
-
left: 0;
|
632
|
-
width: 100%;
|
633
|
-
height: 100%;
|
634
|
-
background: transparent;
|
635
|
-
}
|
636
|
-
|
637
|
-
#fancybox-close {
|
638
|
-
position: absolute;
|
639
|
-
top: -15px;
|
640
|
-
right: -15px;
|
641
|
-
width: 30px;
|
642
|
-
height: 30px;
|
643
|
-
background-image: url('fancybox.png');
|
644
|
-
background-position: -40px 0px;
|
645
|
-
cursor: pointer;
|
646
|
-
z-index: 1103;
|
647
|
-
display: none;
|
648
|
-
}
|
649
|
-
|
650
|
-
#fancybox_error {
|
651
|
-
color: #444;
|
652
|
-
font: normal 12px/20px Arial;
|
653
|
-
padding: 7px;
|
654
|
-
margin: 0;
|
655
|
-
}
|
656
|
-
|
657
|
-
#fancybox-content {
|
658
|
-
height: auto;
|
659
|
-
width: auto;
|
660
|
-
padding: 0;
|
661
|
-
margin: 0;
|
662
|
-
}
|
663
|
-
|
664
|
-
#fancybox-img {
|
665
|
-
width: 100%;
|
666
|
-
height: 100%;
|
667
|
-
padding: 0;
|
668
|
-
margin: 0;
|
669
|
-
border: none;
|
670
|
-
outline: none;
|
671
|
-
line-height: 0;
|
672
|
-
vertical-align: top;
|
673
|
-
-ms-interpolation-mode: bicubic;
|
674
|
-
}
|
675
|
-
|
676
|
-
#fancybox-frame {
|
677
|
-
position: relative;
|
678
|
-
width: 100%;
|
679
|
-
height: 100%;
|
680
|
-
border: none;
|
681
|
-
display: block;
|
682
|
-
}
|
683
|
-
|
684
|
-
#fancybox-title {
|
685
|
-
position: absolute;
|
686
|
-
bottom: 0;
|
687
|
-
left: 0;
|
688
|
-
font-family: Arial;
|
689
|
-
font-size: 12px;
|
690
|
-
z-index: 1102;
|
691
|
-
}
|
692
|
-
|
693
|
-
.fancybox-title-inside {
|
694
|
-
padding: 10px 0;
|
695
|
-
text-align: center;
|
696
|
-
color: #333;
|
697
|
-
}
|
698
|
-
|
699
|
-
.fancybox-title-outside {
|
700
|
-
padding-top: 5px;
|
701
|
-
color: #FFF;
|
702
|
-
text-align: center;
|
703
|
-
font-weight: bold;
|
704
|
-
}
|
705
|
-
|
706
|
-
.fancybox-title-over {
|
707
|
-
color: #FFF;
|
708
|
-
text-align: left;
|
709
|
-
}
|
710
|
-
|
711
|
-
#fancybox-title-over {
|
712
|
-
padding: 10px;
|
713
|
-
background-image: url('fancy_title_over.png');
|
714
|
-
display: block;
|
715
|
-
}
|
716
|
-
|
717
|
-
#fancybox-title-wrap {
|
718
|
-
display: inline-block;
|
719
|
-
}
|
720
|
-
|
721
|
-
#fancybox-title-wrap span {
|
722
|
-
height: 32px;
|
723
|
-
float: left;
|
724
|
-
}
|
725
|
-
|
726
|
-
#fancybox-title-left {
|
727
|
-
padding-left: 15px;
|
728
|
-
background-image: url('fancybox.png');
|
729
|
-
background-position: -40px -90px;
|
730
|
-
background-repeat: no-repeat;
|
731
|
-
}
|
732
|
-
|
733
|
-
#fancybox-title-main {
|
734
|
-
font-weight: bold;
|
735
|
-
line-height: 29px;
|
736
|
-
background-image: url('fancybox-x.png');
|
737
|
-
background-position: 0px -40px;
|
738
|
-
color: #FFF;
|
739
|
-
}
|
740
|
-
|
741
|
-
#fancybox-title-right {
|
742
|
-
padding-left: 15px;
|
743
|
-
background-image: url('fancybox.png');
|
744
|
-
background-position: -55px -90px;
|
745
|
-
background-repeat: no-repeat;
|
746
|
-
}
|
747
|
-
|
748
|
-
#fancybox-left, #fancybox-right {
|
749
|
-
position: absolute;
|
750
|
-
bottom: 0px;
|
751
|
-
height: 100%;
|
752
|
-
width: 35%;
|
753
|
-
cursor: pointer;
|
754
|
-
outline: none;
|
755
|
-
background-image: url('blank.gif');
|
756
|
-
z-index: 1102;
|
757
|
-
display: none;
|
758
|
-
}
|
759
|
-
|
760
|
-
#fancybox-left {
|
761
|
-
left: 0px;
|
762
|
-
}
|
763
|
-
|
764
|
-
#fancybox-right {
|
765
|
-
right: 0px;
|
766
|
-
}
|
767
|
-
|
768
|
-
#fancybox-left-ico, #fancybox-right-ico {
|
769
|
-
position: absolute;
|
770
|
-
top: 50%;
|
771
|
-
left: -9999px;
|
772
|
-
width: 30px;
|
773
|
-
height: 30px;
|
774
|
-
margin-top: -15px;
|
775
|
-
cursor: pointer;
|
776
|
-
z-index: 1102;
|
777
|
-
display: block;
|
778
|
-
}
|
779
|
-
|
780
|
-
#fancybox-left-ico {
|
781
|
-
background-image: url('fancybox.png');
|
782
|
-
background-position: -40px -30px;
|
783
|
-
}
|
784
|
-
|
785
|
-
#fancybox-right-ico {
|
786
|
-
background-image: url('fancybox.png');
|
787
|
-
background-position: -40px -60px;
|
788
|
-
}
|
789
|
-
|
790
|
-
#fancybox-left:hover, #fancybox-right:hover {
|
791
|
-
visibility: visible; /* IE6 */
|
792
|
-
}
|
793
|
-
|
794
|
-
#fancybox-left:hover span {
|
795
|
-
left: 20px;
|
796
|
-
}
|
797
|
-
|
798
|
-
#fancybox-right:hover span {
|
799
|
-
left: auto;
|
800
|
-
right: 20px;
|
801
|
-
}
|
802
|
-
|
803
|
-
.fancy-bg {
|
804
|
-
position: absolute;
|
805
|
-
padding: 0;
|
806
|
-
margin: 0;
|
807
|
-
border: 0;
|
808
|
-
width: 20px;
|
809
|
-
height: 20px;
|
810
|
-
z-index: 1001;
|
811
|
-
}
|
812
|
-
|
813
|
-
#fancy-bg-n {
|
814
|
-
top: -20px;
|
815
|
-
left: 0;
|
816
|
-
width: 100%;
|
817
|
-
background-image: url('fancybox-x.png');
|
818
|
-
}
|
819
|
-
|
820
|
-
#fancy-bg-ne {
|
821
|
-
top: -20px;
|
822
|
-
right: -20px;
|
823
|
-
background-image: url('fancybox.png');
|
824
|
-
background-position: -40px -162px;
|
825
|
-
}
|
826
|
-
|
827
|
-
#fancy-bg-e {
|
828
|
-
top: 0;
|
829
|
-
right: -20px;
|
830
|
-
height: 100%;
|
831
|
-
background-image: url('fancybox-y.png');
|
832
|
-
background-position: -20px 0px;
|
833
|
-
}
|
834
|
-
|
835
|
-
#fancy-bg-se {
|
836
|
-
bottom: -20px;
|
837
|
-
right: -20px;
|
838
|
-
background-image: url('fancybox.png');
|
839
|
-
background-position: -40px -182px;
|
840
|
-
}
|
841
|
-
|
842
|
-
#fancy-bg-s {
|
843
|
-
bottom: -20px;
|
844
|
-
left: 0;
|
845
|
-
width: 100%;
|
846
|
-
background-image: url('fancybox-x.png');
|
847
|
-
background-position: 0px -20px;
|
848
|
-
}
|
849
|
-
|
850
|
-
#fancy-bg-sw {
|
851
|
-
bottom: -20px;
|
852
|
-
left: -20px;
|
853
|
-
background-image: url('fancybox.png');
|
854
|
-
background-position: -40px -142px;
|
855
|
-
}
|
856
|
-
|
857
|
-
#fancy-bg-w {
|
858
|
-
top: 0;
|
859
|
-
left: -20px;
|
860
|
-
height: 100%;
|
861
|
-
background-image: url('fancybox-y.png');
|
862
|
-
}
|
863
|
-
|
864
|
-
#fancy-bg-nw {
|
865
|
-
top: -20px;
|
866
|
-
left: -20px;
|
867
|
-
background-image: url('fancybox.png');
|
868
|
-
background-position: -40px -122px;
|
869
|
-
}
|
870
|
-
|
871
|
-
/* IE */
|
872
|
-
|
873
|
-
#fancybox-loading.fancybox-ie div { background: transparent; filter: progid:DXImageTransform.Microsoft.AlphaImageLoader(src='fancybox/fancy_loading.png', sizingMethod='scale'); }
|
874
|
-
.fancybox-ie #fancybox-close { background: transparent; filter: progid:DXImageTransform.Microsoft.AlphaImageLoader(src='fancybox/fancy_close.png', sizingMethod='scale'); }
|
875
|
-
|
876
|
-
.fancybox-ie #fancybox-title-over { background: transparent; filter: progid:DXImageTransform.Microsoft.AlphaImageLoader(src='fancybox/fancy_title_over.png', sizingMethod='scale'); zoom: 1; }
|
877
|
-
.fancybox-ie #fancybox-title-left { background: transparent; filter: progid:DXImageTransform.Microsoft.AlphaImageLoader(src='fancybox/fancy_title_left.png', sizingMethod='scale'); }
|
878
|
-
.fancybox-ie #fancybox-title-main { background: transparent; filter: progid:DXImageTransform.Microsoft.AlphaImageLoader(src='fancybox/fancy_title_main.png', sizingMethod='scale'); }
|
879
|
-
.fancybox-ie #fancybox-title-right { background: transparent; filter: progid:DXImageTransform.Microsoft.AlphaImageLoader(src='fancybox/fancy_title_right.png', sizingMethod='scale'); }
|
880
|
-
|
881
|
-
.fancybox-ie #fancybox-left-ico { background: transparent; filter: progid:DXImageTransform.Microsoft.AlphaImageLoader(src='fancybox/fancy_nav_left.png', sizingMethod='scale'); }
|
882
|
-
.fancybox-ie #fancybox-right-ico { background: transparent; filter: progid:DXImageTransform.Microsoft.AlphaImageLoader(src='fancybox/fancy_nav_right.png', sizingMethod='scale'); }
|
883
|
-
|
884
|
-
.fancybox-ie .fancy-bg { background: transparent !important; }
|
885
|
-
|
886
|
-
.fancybox-ie #fancy-bg-n { filter: progid:DXImageTransform.Microsoft.AlphaImageLoader(src='fancybox/fancy_shadow_n.png', sizingMethod='scale'); }
|
887
|
-
.fancybox-ie #fancy-bg-ne { filter: progid:DXImageTransform.Microsoft.AlphaImageLoader(src='fancybox/fancy_shadow_ne.png', sizingMethod='scale'); }
|
888
|
-
.fancybox-ie #fancy-bg-e { filter: progid:DXImageTransform.Microsoft.AlphaImageLoader(src='fancybox/fancy_shadow_e.png', sizingMethod='scale'); }
|
889
|
-
.fancybox-ie #fancy-bg-se { filter: progid:DXImageTransform.Microsoft.AlphaImageLoader(src='fancybox/fancy_shadow_se.png', sizingMethod='scale'); }
|
890
|
-
.fancybox-ie #fancy-bg-s { filter: progid:DXImageTransform.Microsoft.AlphaImageLoader(src='fancybox/fancy_shadow_s.png', sizingMethod='scale'); }
|
891
|
-
.fancybox-ie #fancy-bg-sw { filter: progid:DXImageTransform.Microsoft.AlphaImageLoader(src='fancybox/fancy_shadow_sw.png', sizingMethod='scale'); }
|
892
|
-
.fancybox-ie #fancy-bg-w { filter: progid:DXImageTransform.Microsoft.AlphaImageLoader(src='fancybox/fancy_shadow_w.png', sizingMethod='scale'); }
|
893
|
-
.fancybox-ie #fancy-bg-nw { filter: progid:DXImageTransform.Microsoft.AlphaImageLoader(src='fancybox/fancy_shadow_nw.png', sizingMethod='scale'); }
|
531
|
+
/*
|
532
|
+
ColorBox Core Style:
|
533
|
+
The following CSS is consistent between example themes and should not be altered.
|
534
|
+
*/
|
535
|
+
#colorbox, #cboxOverlay, #cboxWrapper{position:absolute; top:0; left:0; z-index:9999; overflow:hidden;}
|
536
|
+
#cboxOverlay{position:fixed; width:100%; height:100%;}
|
537
|
+
#cboxMiddleLeft, #cboxBottomLeft{clear:left;}
|
538
|
+
#cboxContent{position:relative;}
|
539
|
+
#cboxLoadedContent{overflow:auto;}
|
540
|
+
#cboxTitle{margin:0;}
|
541
|
+
#cboxLoadingOverlay, #cboxLoadingGraphic{position:absolute; top:0; left:0; width:100%; height:100%;}
|
542
|
+
#cboxPrevious, #cboxNext, #cboxClose, #cboxSlideshow{cursor:pointer;}
|
543
|
+
.cboxPhoto{float:left; margin:auto; border:0; display:block; max-width:none;}
|
544
|
+
.cboxIframe{width:100%; height:100%; display:block; border:0;}
|
545
|
+
#colorbox, #cboxContent, #cboxLoadedContent{box-sizing:content-box;}
|
546
|
+
|
547
|
+
/*
|
548
|
+
User Style:
|
549
|
+
Change the following styles to modify the appearance of ColorBox. They are
|
550
|
+
ordered & tabbed in a way that represents the nesting of the generated HTML.
|
551
|
+
*/
|
552
|
+
#cboxOverlay{background:#000;}
|
553
|
+
#colorbox{}
|
554
|
+
#cboxTopLeft{width:14px; height:14px; background:url(colorbox/controls.png) no-repeat 0 0;}
|
555
|
+
#cboxTopCenter{height:14px; background:url(colorbox/border.png) repeat-x top left;}
|
556
|
+
#cboxTopRight{width:14px; height:14px; background:url(colorbox/controls.png) no-repeat -36px 0;}
|
557
|
+
#cboxBottomLeft{width:14px; height:43px; background:url(colorbox/controls.png) no-repeat 0 -32px;}
|
558
|
+
#cboxBottomCenter{height:43px; background:url(colorbox/border.png) repeat-x bottom left;}
|
559
|
+
#cboxBottomRight{width:14px; height:43px; background:url(colorbox/controls.png) no-repeat -36px -32px;}
|
560
|
+
#cboxMiddleLeft{width:14px; background:url(colorbox/controls.png) repeat-y -175px 0;}
|
561
|
+
#cboxMiddleRight{width:14px; background:url(colorbox/controls.png) repeat-y -211px 0;}
|
562
|
+
#cboxContent{background:#fff; overflow:visible;}
|
563
|
+
.cboxIframe{background:#fff;}
|
564
|
+
#cboxError{padding:50px; border:1px solid #ccc;}
|
565
|
+
#cboxLoadedContent{margin-bottom:5px;}
|
566
|
+
#cboxLoadingOverlay{background:url(colorbox/loading_background.png) no-repeat center center;}
|
567
|
+
#cboxLoadingGraphic{background:url(colorbox/loading.gif) no-repeat center center;}
|
568
|
+
#cboxTitle{position:absolute; bottom:-25px; left:0; text-align:center; width:100%; font-weight:bold; color:#7C7C7C;}
|
569
|
+
#cboxCurrent{position:absolute; bottom:-25px; left:58px; font-weight:bold; color:#7C7C7C;}
|
570
|
+
|
571
|
+
#cboxPrevious, #cboxNext, #cboxClose, #cboxSlideshow{position:absolute; bottom:-29px; background:url(colorbox/controls.png) no-repeat 0px 0px; width:23px; height:23px; text-indent:-9999px;}
|
572
|
+
#cboxPrevious{left:0px; background-position: -51px -25px;}
|
573
|
+
#cboxPrevious:hover{background-position:-51px 0px;}
|
574
|
+
#cboxNext{left:27px; background-position:-75px -25px;}
|
575
|
+
#cboxNext:hover{background-position:-75px 0px;}
|
576
|
+
#cboxClose{right:0; background-position:-100px -25px;}
|
577
|
+
#cboxClose:hover{background-position:-100px 0px;}
|
578
|
+
|
579
|
+
.cboxSlideshow_on #cboxSlideshow{background-position:-125px 0px; right:27px;}
|
580
|
+
.cboxSlideshow_on #cboxSlideshow:hover{background-position:-150px 0px;}
|
581
|
+
.cboxSlideshow_off #cboxSlideshow{background-position:-150px -25px; right:27px;}
|
582
|
+
.cboxSlideshow_off #cboxSlideshow:hover{background-position:-125px 0px;}
|
894
583
|
#loading {
|
895
584
|
position: fixed;
|
896
585
|
left: 40%;
|