mirror of
https://github.com/php/web-pres2.git
synced 2026-03-23 23:12:07 +01:00
Upgrade to latest jquery, and many style tweaks
This commit is contained in:
@@ -5,17 +5,23 @@ body, h1, h2
|
||||
font-size: 150%;
|
||||
}
|
||||
|
||||
div.whole-slide
|
||||
{
|
||||
width: 1024px;
|
||||
margin: 0 auto;
|
||||
}
|
||||
|
||||
body.agenda-slide, body.slide
|
||||
{
|
||||
background-color: #eeeeec;
|
||||
text-align: left;
|
||||
color: #444;
|
||||
color: #222;
|
||||
}
|
||||
|
||||
div.agenda-slide h1, div.slide h1, div.slide h2
|
||||
{
|
||||
background-color: #eeeeec;
|
||||
color: #444;
|
||||
color: #222;
|
||||
margin-bottom: 0.5em;
|
||||
}
|
||||
|
||||
@@ -52,12 +58,14 @@ h1
|
||||
margin-bottom: 0em;
|
||||
font-family: "PT Sans", Arial;
|
||||
font-size: 2em;
|
||||
text-align: center;
|
||||
}
|
||||
|
||||
h2
|
||||
{
|
||||
color: #abdc45;
|
||||
margin-bottom: 0em;
|
||||
text-align: center;
|
||||
}
|
||||
|
||||
div.title-slide
|
||||
@@ -76,6 +84,7 @@ div.template-white div.title-slide
|
||||
pre.code, pre.xdebug-var-dump
|
||||
{
|
||||
color: #000;
|
||||
background: #fff;
|
||||
}
|
||||
|
||||
pre.xdebug-var-dump
|
||||
@@ -145,6 +154,11 @@ div.big-centre
|
||||
text-align: center;
|
||||
}
|
||||
|
||||
div.centre
|
||||
{
|
||||
text-align: center;
|
||||
}
|
||||
|
||||
a
|
||||
{
|
||||
color: #000;
|
||||
@@ -169,6 +183,17 @@ table
|
||||
font-size: 22pt;
|
||||
}
|
||||
|
||||
table.two
|
||||
{
|
||||
font-size: 85%;
|
||||
text-align: left;
|
||||
}
|
||||
|
||||
table.two tr
|
||||
{
|
||||
vertical-align: top;
|
||||
}
|
||||
|
||||
pre.code strong
|
||||
{
|
||||
color: #f00;
|
||||
@@ -187,3 +212,13 @@ table, td, tr
|
||||
{
|
||||
border: 0;
|
||||
}
|
||||
|
||||
div.small
|
||||
{
|
||||
font-size: 80%;
|
||||
}
|
||||
|
||||
h1.style-center
|
||||
{
|
||||
text-align: center;
|
||||
}
|
||||
|
||||
@@ -1,5 +1,6 @@
|
||||
{
|
||||
"require": {
|
||||
"zetacomponents/template": "^1.5"
|
||||
"zetacomponents/template": "^1.5",
|
||||
"mongodb/mongodb": "^1.0"
|
||||
}
|
||||
}
|
||||
|
||||
59
composer.lock
generated
59
composer.lock
generated
@@ -4,9 +4,64 @@
|
||||
"Read more about it at https://getcomposer.org/doc/01-basic-usage.md#composer-lock-the-lock-file",
|
||||
"This file is @generated automatically"
|
||||
],
|
||||
"hash": "9132e8f300f19ab3b298211760b6da0d",
|
||||
"content-hash": "cd657dd6878812bc39e3a45486b0fa9b",
|
||||
"hash": "ca9f2776a84999c7a5ab41179d19044e",
|
||||
"content-hash": "fda4c2208913c9c63f9bb0d64145769e",
|
||||
"packages": [
|
||||
{
|
||||
"name": "mongodb/mongodb",
|
||||
"version": "1.0.2",
|
||||
"source": {
|
||||
"type": "git",
|
||||
"url": "https://github.com/mongodb/mongo-php-library.git",
|
||||
"reference": "faf8a1d86b5c10684ef91fa6c81475b0c7f95240"
|
||||
},
|
||||
"dist": {
|
||||
"type": "zip",
|
||||
"url": "https://api.github.com/repos/mongodb/mongo-php-library/zipball/faf8a1d86b5c10684ef91fa6c81475b0c7f95240",
|
||||
"reference": "faf8a1d86b5c10684ef91fa6c81475b0c7f95240",
|
||||
"shasum": ""
|
||||
},
|
||||
"require": {
|
||||
"ext-mongodb": "^1.1.0",
|
||||
"php": ">=5.4"
|
||||
},
|
||||
"type": "library",
|
||||
"autoload": {
|
||||
"psr-4": {
|
||||
"MongoDB\\": "src/"
|
||||
},
|
||||
"files": [
|
||||
"src/functions.php"
|
||||
]
|
||||
},
|
||||
"notification-url": "https://packagist.org/downloads/",
|
||||
"license": [
|
||||
"Apache-2.0"
|
||||
],
|
||||
"authors": [
|
||||
{
|
||||
"name": "Jeremy Mikola",
|
||||
"email": "jmikola@gmail.com"
|
||||
},
|
||||
{
|
||||
"name": "Hannes Magnusson",
|
||||
"email": "bjori@mongodb.com"
|
||||
},
|
||||
{
|
||||
"name": "Derick Rethans",
|
||||
"email": "github@derickrethans.nl"
|
||||
}
|
||||
],
|
||||
"description": "MongoDB driver library",
|
||||
"homepage": "https://jira.mongodb.org/browse/PHPLIB",
|
||||
"keywords": [
|
||||
"database",
|
||||
"driver",
|
||||
"mongodb",
|
||||
"persistence"
|
||||
],
|
||||
"time": "2016-03-30 19:10:28"
|
||||
},
|
||||
{
|
||||
"name": "zetacomponents/base",
|
||||
"version": "1.9",
|
||||
|
||||
35
core.css
35
core.css
@@ -8,6 +8,19 @@ body
|
||||
font-size: 125%;
|
||||
}
|
||||
|
||||
div.twitter
|
||||
{
|
||||
visibility: hidden;
|
||||
}
|
||||
|
||||
body.slide div.twitter
|
||||
{
|
||||
position: absolute;
|
||||
right: 1em;
|
||||
bottom: 2px;
|
||||
visibility: visible;
|
||||
}
|
||||
|
||||
.xlarge
|
||||
{
|
||||
font-size: 333%;
|
||||
@@ -18,6 +31,12 @@ body
|
||||
font-size: 150%;
|
||||
}
|
||||
|
||||
.large_center
|
||||
{
|
||||
font-size: 200%;
|
||||
text-align: center;
|
||||
}
|
||||
|
||||
.pre p
|
||||
{
|
||||
font-family: monospace;
|
||||
@@ -101,7 +120,7 @@ div.slideCount
|
||||
position: absolute;
|
||||
width: 99%;
|
||||
text-align: right;
|
||||
margin-right: 2em;
|
||||
right: 2em;
|
||||
top: 0.2em;
|
||||
font-size: small;
|
||||
color: #aaa;
|
||||
@@ -314,7 +333,19 @@ p.attribution
|
||||
text-align: center;
|
||||
font-size: 50%;
|
||||
margin-top: -16px;
|
||||
color: gray;
|
||||
color: black;
|
||||
opacity: 0.5;
|
||||
}
|
||||
|
||||
p.bgattribution {
|
||||
text-align: center;
|
||||
font-size: 50%;
|
||||
margin-top: -16px;
|
||||
color: black;
|
||||
position: fixed;
|
||||
bottom: 0px;
|
||||
background: #ffffff;
|
||||
opacity: 0.6;
|
||||
}
|
||||
|
||||
img.inline
|
||||
|
||||
224
derick.css
Normal file
224
derick.css
Normal file
@@ -0,0 +1,224 @@
|
||||
body, h1, h2
|
||||
{
|
||||
background-color: #3a005d;
|
||||
color: #eeeeec;
|
||||
font-size: 150%;
|
||||
}
|
||||
|
||||
div.whole-slide
|
||||
{
|
||||
width: 1024px;
|
||||
margin: 0 auto;
|
||||
}
|
||||
|
||||
body.agenda-slide, body.slide
|
||||
{
|
||||
background-color: #eeeeec;
|
||||
text-align: left;
|
||||
color: #222;
|
||||
}
|
||||
|
||||
div.agenda-slide h1, div.slide h1, div.slide h2
|
||||
{
|
||||
background-color: #eeeeec;
|
||||
color: #222;
|
||||
margin-bottom: 0.5em;
|
||||
}
|
||||
|
||||
div.slide h2
|
||||
{
|
||||
font-size: 1.5em;
|
||||
margin-top: -1.0em;
|
||||
margin-bottom: 0.5em;
|
||||
}
|
||||
|
||||
div.section-slide div p
|
||||
{
|
||||
color: #eee;
|
||||
font-weight: bold;
|
||||
text-align: left;
|
||||
margin: 1em;
|
||||
text-shadow: -2px -2px 3px #000, -1px -1px 1px #fff
|
||||
}
|
||||
|
||||
ul ul li
|
||||
{
|
||||
font-size: 80%;
|
||||
list-style-type: disc;
|
||||
}
|
||||
|
||||
img.right
|
||||
{
|
||||
margin: 0em 2em 0em 0.5em;
|
||||
}
|
||||
|
||||
h1
|
||||
{
|
||||
color: #abdc45;
|
||||
margin-bottom: 0em;
|
||||
font-family: "PT Sans", Arial;
|
||||
font-size: 2em;
|
||||
text-align: center;
|
||||
}
|
||||
|
||||
h2
|
||||
{
|
||||
color: #abdc45;
|
||||
margin-bottom: 0em;
|
||||
text-align: center;
|
||||
}
|
||||
|
||||
div.title-slide
|
||||
{
|
||||
color: #eeeeec;
|
||||
margin-left: 60px;
|
||||
margin-right: 100px;
|
||||
text-align: left;
|
||||
}
|
||||
|
||||
div.template-white div.title-slide
|
||||
{
|
||||
color: #000;
|
||||
}
|
||||
|
||||
pre.code, pre.xdebug-var-dump
|
||||
{
|
||||
color: #000;
|
||||
background: #fff;
|
||||
}
|
||||
|
||||
pre.xdebug-var-dump
|
||||
{
|
||||
font-size: 100%;
|
||||
}
|
||||
|
||||
p
|
||||
{
|
||||
font-family: "PT Sans", Arial;
|
||||
font-size: 1.75em;
|
||||
}
|
||||
|
||||
div.event-title p
|
||||
{
|
||||
font-family: "PT Sans Caption", Arial;
|
||||
font-weight: bold;
|
||||
font-size: 180%;
|
||||
padding: 0;
|
||||
text-shadow: -2px -2px 3px #000, -1px -1px 1px #fff
|
||||
}
|
||||
|
||||
div.event-presenter
|
||||
{
|
||||
font-size: 1.25em;
|
||||
}
|
||||
|
||||
div.pres-url-small
|
||||
{
|
||||
font-size: 85%;
|
||||
}
|
||||
|
||||
div.footer
|
||||
{
|
||||
border-top: 3px solid #3366ff;
|
||||
width: 870px;
|
||||
top: 585px;
|
||||
position: absolute;
|
||||
background-color: #013290;
|
||||
clear: both;
|
||||
padding-top: 50px;
|
||||
}
|
||||
|
||||
div.footer-thanks
|
||||
{
|
||||
border-top: 3px solid #3366ff;
|
||||
top: 620px;
|
||||
position: absolute;
|
||||
background-color: #013290;
|
||||
clear: both;
|
||||
padding-top: 20px;
|
||||
width: 1024px;
|
||||
}
|
||||
|
||||
pre
|
||||
{
|
||||
font-size: 105%;
|
||||
}
|
||||
|
||||
div.result pre {
|
||||
background: none;
|
||||
}
|
||||
|
||||
div.big-centre
|
||||
{
|
||||
font-size: 250%;
|
||||
text-align: center;
|
||||
}
|
||||
|
||||
div.centre
|
||||
{
|
||||
text-align: center;
|
||||
}
|
||||
|
||||
a
|
||||
{
|
||||
color: #000;
|
||||
}
|
||||
|
||||
div.html
|
||||
{
|
||||
font-size: 80%;
|
||||
color: #000;
|
||||
background-color: #fff;
|
||||
margin-left: 2em;
|
||||
margin-right: 2em;
|
||||
}
|
||||
|
||||
div.html a
|
||||
{
|
||||
color: #777;
|
||||
}
|
||||
|
||||
table
|
||||
{
|
||||
font-size: 22pt;
|
||||
}
|
||||
|
||||
table.two
|
||||
{
|
||||
font-size: 85%;
|
||||
text-align: left;
|
||||
}
|
||||
|
||||
table.two tr
|
||||
{
|
||||
vertical-align: top;
|
||||
}
|
||||
|
||||
pre.code strong
|
||||
{
|
||||
color: #f00;
|
||||
}
|
||||
|
||||
div.float
|
||||
{
|
||||
position: absolute;
|
||||
top: 0;
|
||||
left: 0;
|
||||
width: 100%;
|
||||
height: 100%;
|
||||
}
|
||||
|
||||
table, td, tr
|
||||
{
|
||||
border: 0;
|
||||
}
|
||||
|
||||
div.small
|
||||
{
|
||||
font-size: 80%;
|
||||
}
|
||||
|
||||
h1.style-center
|
||||
{
|
||||
text-align: center;
|
||||
}
|
||||
@@ -1361,7 +1361,7 @@ class pdf extends display {
|
||||
$slideDir = dirname($this->presentationDir.'/'.$presentation->slides[$this->slideNum]->filename).'/';
|
||||
$fn = $this->presentationDir.'/'.$presentation->slides[$this->slideNum]->filename;
|
||||
$fh = fopen($fn, "rb");
|
||||
$r =& new XML_Slide($fh);
|
||||
$r = new XML_Slide($fh);
|
||||
$r->setErrorHandling(PEAR_ERROR_DIE,"%s ($fn)\n");
|
||||
$r->parse();
|
||||
|
||||
|
||||
@@ -33,7 +33,7 @@
|
||||
|
||||
foreach($ps as $pres_id=>$filename) {
|
||||
$fh = fopen($filename, "rb");
|
||||
$p = &new XML_Presentation($fh);
|
||||
$p = new XML_Presentation($fh);
|
||||
$p->setErrorHandling(PEAR_ERROR_DIE,"%s\n");
|
||||
$p->parse();
|
||||
$pres = $p->getObjects();
|
||||
@@ -81,7 +81,7 @@
|
||||
unset($pres);
|
||||
|
||||
// default options for the file..
|
||||
$p = &new XML_Presentation(fopen("index.xml", "rb"));
|
||||
$p = new XML_Presentation(fopen("index.xml", "rb"));
|
||||
$p->setErrorHandling(PEAR_ERROR_DIE,"%s\n");
|
||||
$p->parse();
|
||||
$pres = $p->getObjects();
|
||||
|
||||
10364
jquery-3.3.1.js
vendored
Normal file
10364
jquery-3.3.1.js
vendored
Normal file
File diff suppressed because it is too large
Load Diff
@@ -4,8 +4,13 @@ body
|
||||
color: white !important;
|
||||
}
|
||||
|
||||
div.whole-slide
|
||||
{
|
||||
width: 100% !important;
|
||||
}
|
||||
|
||||
h1 {
|
||||
position: absolute;
|
||||
position: fixed;
|
||||
background-color: rgba( 255, 255, 255, 0.8) !important;
|
||||
width: 100%;
|
||||
text-align: center;
|
||||
@@ -27,6 +32,13 @@ div.center-blurb {
|
||||
width: 50%;
|
||||
}
|
||||
|
||||
div.center-blurb-wide {
|
||||
color: black;
|
||||
background-color: rgba( 255, 255, 255, 0.6 );
|
||||
margin: 0 auto;
|
||||
width: 66%;
|
||||
}
|
||||
|
||||
div.center-blurb div {
|
||||
text-align: left;
|
||||
}
|
||||
|
||||
@@ -4,19 +4,40 @@ body
|
||||
color: white !important;
|
||||
}
|
||||
|
||||
div.whole-slide
|
||||
{
|
||||
width: 100% !important;
|
||||
}
|
||||
|
||||
h1 {
|
||||
position: absolute;
|
||||
top: 75%;
|
||||
position: fixed;
|
||||
top: 60%;
|
||||
background-color: rgba( 255, 255, 255, 0.8) !important;
|
||||
width: 100%;
|
||||
text-align: center;
|
||||
width: 100%;
|
||||
vertical-align: bottom;
|
||||
}
|
||||
|
||||
img {
|
||||
position: absolute;
|
||||
position: relative;
|
||||
z-index: -4;
|
||||
margin: 0;
|
||||
padding: 0;
|
||||
width: 1024px;
|
||||
height: 767px;
|
||||
width: 100%;
|
||||
height: 766px;
|
||||
overflow-y: hidden;
|
||||
}
|
||||
|
||||
p.attribution {
|
||||
display: block;
|
||||
position: absolute;
|
||||
bottom: 0px;
|
||||
background: white;
|
||||
color: black;
|
||||
right: 0px;
|
||||
opacity: 0.6;
|
||||
}
|
||||
|
||||
div {
|
||||
position: relative;
|
||||
}
|
||||
|
||||
@@ -4,10 +4,8 @@ body
|
||||
}
|
||||
|
||||
h1 {
|
||||
position: absolute;
|
||||
color: white !important;
|
||||
background-color: rgba( 0, 0, 0, 0.6) !important;
|
||||
width: 100%;
|
||||
text-align: center;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user