diff --git a/TODO.otl b/TODO.otl index 5c5a9d3..44d2807 100755 --- a/TODO.otl +++ b/TODO.otl @@ -174,14 +174,7 @@ [_] plain [X] 100% default actions [X] show/hide layer - [_] 0% stage 3 - issue browser - [_] issue browser structure - [_] 0% issue navigation - [_] issue list - [_] 0% issue download - [_] whole edition dowload and update (primary mode) - [_] seporate issue download (secondary) - [_] 33% stage 4 - editor and templating + [_] 33% stage 3 - editor and templating [_] 0% template engine [_] 66% edition editor / publisher [X] create/delete magazine @@ -198,6 +191,13 @@ [_] 0% fill template field [_] image [_] text + [_] 0% stage 4 - issue browser + [_] issue browser structure + [_] 0% issue navigation + [_] issue list + [_] 0% issue download + [_] whole edition dowload and update (primary mode) + [_] seporate issue download (secondary) [_] 0% Low priority todo [_] vertically scrollable pages.... diff --git a/lister.css b/lister.css new file mode 100755 index 0000000..c408dec --- /dev/null +++ b/lister.css @@ -0,0 +1,168 @@ +/********************************************************************** +* +**********************************************************************/ + +body { + padding: 0; + margin: 0; +} + + + +/************************************* layers and hidable elements ***/ +.hidden { + display: none; +} +/* keep this empty... */ +.shown { +} + + + +/*********************************************************** pages ***/ +.page { + /* XXX make this browser-sized... */ + position: relative; + text-align: left; + overflow: hidden; + + text-align: center; + + width: 100%; + height: auto; + + font-size: 12px; + + background: white; +} + +.page .content { + display: inline-block; + text-align: left; + position: relative; + overflow: visible; + white-space: normal; + + /* these set the "safe" marks for page content */ + width: 800px; + height: 600px; + + border: dashed 1px red; +} +.content:after { + display: block; + position: absolute; + top: 10px; + right: -90px; + width: 80px; + height: 30px; + padding-left: 15px; + + font-size: 20px; + + background: gray; + color: white; + border-left: solid 5px black; + + opacity: 0.3; +} + +.page .content:after { + content: "Page"; +} +.cover .content:after { + content: "Cover"; +} + +.page .content:before { + position: absolute; + content: ""; + z-index: 9999; + right: 0px; + top: 0px; + width: 50px; + height: 50px; + + border-bottom: dashed red 1px; + border-left: dashed red 1px; +} + +/************************************************** general layout ***/ + +/* magazine article, this can contain a cover and a number of pages */ +.article { + position: relative; + overflow: visible; + font-size: 0px; + min-width: 200px; + + border: dashed red 1px; +} + +.article:after { + display: block; + position: absolute; + content: 'Article'; + top: 0px; + left: 0px; + width: 100px; + height: 30px; + + padding-right: 5px; + text-align: right; + font-size: 20px; + + background: gray; + color: white; + border-right: solid 5px black; + + opacity: 0.3; +} + +.article > .cover { +} + + + +/******************************************************* templates ***/ +/* XXX split these into seporate files... */ +.caption { + display: block; + position: absolute; + height: 100px; + width: 100%; + bottom: 0px; + left: 0px; + + padding: 15px; + color: white; + background: black; + opacity: 0.5; + -webkit-transition: all 0.2s ease; + -moz-transition: all 0.2s ease; + -o-transition: all 0.2s ease; + -ms-transition: all 0.2s ease; + transition: all 0.2s ease; +} +.caption.hidden { + opacity: 0; + height: 0px; +} +.caption.shown { + opacity: 0.8; +} + + + +/*********************************************************************/ +/* keep this at the end... */ +.unanimated { + -webkit-transition: none; + -moz-transition: none; + -o-transition: all 0 ease; + -ms-transition: none; + transition: none; +} + + +/*********************************************************************/ diff --git a/lister.html b/lister.html new file mode 100755 index 0000000..2aed82a --- /dev/null +++ b/lister.html @@ -0,0 +1,109 @@ + + + + +PortableMag + + + + + + + + + + + + + + + +
+
+
+
+
+
+ + + + + + PortableMag cover + + + + + + + Mag + Portable + + A suit for publishing portable periodic magazines on mobile platforms. + + + + +
+
+ + + +
+
+
+

Templates...

+
+
+
+
+

Two column

+
+ Column 1 +
+
+ Column 2 +
+
+
+
+
+
+
+
+ + + + +