updated web library with new style and features

added remote reading from iOS
This commit is contained in:
Luis Ángel San Martín
2014-07-29 17:40:00 +02:00
parent 83429af008
commit f916498510
76 changed files with 1077 additions and 628 deletions

View File

@ -1,138 +1,119 @@
body{
background-color: #363636;
background-color: #F5F5F5;
font-family: Arial, Helvetica, sans-serif;
}
#content{
width: 256px;
background: url("../images/topbox.jpg") no-repeat scroll 0 0 #FFF;
margin: 16px auto 0;
padding: 16px;
/* libraries */
#contentLibraries{
width: 300px;
border: 1px solid #C6C6C6;
background-color: white;
margin-left: auto;
margin-right: auto;
margin-top: 9px;
}
.folder
#contentLibraries .library-icon
{
float: left;
}
.cover
{
float: left;
}
.cover img
{
-webkit-box-shadow: 0px 0px 5px #333;
}
.index{
width: 272px;
background: url("../images/topbox.jpg") no-repeat scroll 0 0 #FFF;
margin: 7px auto 0;
padding: 16px 0px 0px 16px;
}
.info
{
padding: 8px 0px 0px 0px;
float: left;
position: relative;
height: 110px;
width: 160px;
}
.buttons
{
position:absolute;
bottom:0px;
left:0px;
}
#itemContainer li
{
float: left;
width: 250px;
height: 120px;
margin: 20px 0 15px 0;
}
#itemContainer a
{
text-decoration: none;
font-family: Arial;
color: #FFF;
font-size: 13px;
}
.browseButton
{
width: 67px;
height: 24px;
background: url("../images/bt_browse.jpg") no-repeat scroll 0 0 transparent;
border: none;
text-align:center;
display: block;
float: left;
padding: 5px 0 0 0;
margin: 0 0 0 8px;
background-color: white;
height: 18px;
padding: 11px 19px 10px 19px;
display:block;
}
.importButton
#contentLibraries li
{
width: 67px;
height: 20px;
background: url("../images/bt_import.jpg") no-repeat scroll 0 0 transparent;
border: none;
text-align:center;
display: block;
float: left;
margin: 0 0 0 8px;
padding: 4px 0 0 0;
border-bottom: 1px solid #e2e2e2;
position: relative;
list-style: none;
}
.importedButton
#contentLibraries li:last-child
{
width: 77px;
height: 20px;
background: url("../images/bt_import.jpg") no-repeat scroll 0 -24px transparent;
border: none;
text-align:center;
}
#contentLibraries .library-link
{
width: 211px;
height: 28px;
border: none;
padding: 11px 0 0 0px;
background-color: white;
display: block;
float: left;
margin: 0 0 0 4px;
padding: 4px 0 0 0;
text-decoration: none;
float:left;
font-family: Arial;
color: #FFF;
font-size: 13px;
}
#librariesList li
{
}
#librariesList a
{
width: 256px;
height: 32px;
background: url("../images/bt_library_iphone.jpg") no-repeat scroll 0 0 transparent;
border: none;
display: block;
padding: 9px 0 0 40px;
font-size: 16px;
text-decoration: none;
font-family: Arial;
color: #FFF;
font-size: 13px;
color: #525252 ;
}
#contentLibraries a
{
position: absolute;
height: 39px;
width: 100%;
z-index: 10;
display: block;
top 0;
text-decoration: none;
}
#contentLibraries .library-indicator
{
float: left;
background-color: white;
height: 8px;
padding: 16px 16px 15px 16px;
display:block;
}
#content h1
{
color: #292929;
text-align: center;
font-size: 21px;
}
#contentLibraries h1{
color: #292929;
text-align: center;
border-bottom: 1px solid #C6C6C6;
font-size: 21px;
padding: 15px 0 16px 0;
}
#folder-header
{
position: fixed;
width: 100%;
height: 88px;
background-color: rgba(255,255,255,0.9);
border-bottom: 1px solid #C6C6C6;
z-index: 999;
}
#folder-subheader1
{
width: 100%;
height: 40px;
margin-top: 18px;
}
#folder-subheader2
{
width: 100%;
padding-left: 16px;
}
#topIndex
{
width: 100%;
margin: 7px 0px 7px 0px;
position: absolute;
left: 16px;
top: 19px;
}
#topIndex a
@ -140,95 +121,242 @@ margin: 20px 0 15px 0;
float: left;
}
.indicator {
margin: 0 5px;
}
.path {
text-decoration: none;
color: #5C5C5C;
font-family: Arial, Helvetica;
font-size: 15px;
}
#header-combos
{
position: absolute;
right: 10px;
top: 15px;
color: #a3a3a3;
width: 160px;
}
#topIndex .next{
width: 29px;
height: 29px;
width: 25px;
height: 19px;
border: none;
margin: 0 8px 4px 0;
margin: 0 21px 4px 0;
padding: 5px 0 0 0;
display: block;
background: url("../images/bt_next.jpg") no-repeat scroll 0 0 transparent;
background: url("/images/next.png") no-repeat scroll 0 0 transparent;
background-size: 25px 19px;
padding: 0;
text-indent: -9999px;
text-indent: -99999px;
}
#topIndex .previous{
width: 29px;
height: 29px;
width: 25px;
height: 19px;
border: none;
margin: 0 8px 4px 0;
margin: 0 14px 4px 0;
padding: 5px 0 0 0;
display: block;
background: url("../images/bt_previous.jpg") no-repeat scroll 0 0 transparent;
background: url("/images/prev.png") no-repeat scroll 0 0 transparent;
background-size: 25px 19px;
padding: 0;
text-indent: -9999px;
text-indent: -99999px;
}
#topIndex .up{
width: 58px;
height: 29px;
width: 15px;
height: 19px;
border: none;
margin: 0 8px 4px 0;
padding: 5px 0 0 0;
background: url("../images/bt_up.jpg") no-repeat scroll 0 0 transparent;
background: url("/images/up.png") no-repeat scroll 0 0 transparent;
background-size: 15px 19px;
color: #FFF;
font-size: 17px;
display: block;
text-decoration: none;
font-family: Arial;
font-weight: bold;
text-align:center;
text-indent: -99999px;
}
#topIndex .libraries{
width: 92px;
height: 29px;
border: none;
margin: 0 8px 4px 0;
padding: 6px 0 0 0;
background: url("../images/bt_libraries.jpg") no-repeat scroll 0 0 transparent;
color: #FFF;
font-size: 17px;
display: block;
text-decoration: none;
font-family: Arial;
font-weight: bold;
text-align:center;
}
#libraryList li
#itemContainer li
{
width: 300px;
height: 120px;
border: 1px solid #E2E2E2;
margin: 9px auto 0px auto;
background-color: white;
overflow: hidden;
position: relative;
}
.folderContent
{
padding-top: 90px;
}
/* hasta aquí */
.folder
{
float: left;
}
#libraryList a
.cover
{
width: 256px;
height: 32px;
background: url("../images/bt_library.jpg") no-repeat scroll 0 0 transparent;
border: none;
padding: 8px 0 0 40px;
color: #FFF;
font-size: 14px;
display: block;
text-decoration: none;
float: left;
overflow: hidden;
}
.mark
{
position: absolute;
top: 0px;
margin-left: 55px;
}
.info
{
padding: 8px 0px 0px 0px;
float: left;
position: relative;
height: 115px;
width: 212px;
}
.buttons
{
position:absolute;
bottom:0px;
left:0px;
border-top: 1px solid #e2e2e2;
padding-top: 3px;
height: 25px;
width: 220px;
font-family: Arial;
color: #6e6e6e;
font-size: 10px;
}
.elementInfo
{
position:absolute;
bottom:24px;
padding-top: 3px;
height: 25px;
width: 220px;
font-family: Arial;
color: #adadad;
font-size: 10px;
}
.numPages
{
float: left;
padding-left:8px;
}
.comicSize
{
float: right;
padding-right: 9px;
}
#itemContainer a
{
text-decoration: none;
}
.browseButton
{
width: 60px;
background: url("/images/browse.png") no-repeat scroll 0 0 transparent;
background-position: 16px 5px;
background-size: 7px 7px;
border: none;
text-align:right;
display: block;
float: right;
padding: 4px 10px 0 0;
color: #6e6e6e;
}
.importButton
{
width: 60px;
background: url("/images/download.png") no-repeat scroll 0 0 transparent;
background-position: 3px 5px;
background-size: 7px 8px;
border: none;
text-align:left;
display: block;
float: left;
margin: 0 0 0 4px;
padding: 4px 0 0 16px;
color: #6e6e6e;
}
.readButton
{
width: 60px;
background: url("/images/read.png") no-repeat scroll 0 0 transparent;
background-position: 24px 5px;
background-size: 7px 9px;
border: none;
text-align:right;
display: block;
float: right;
padding: 4px 10px 0 0;
color: #6e6e6e;
}
.importedButton
{
width: 60px;
background: url("/images/imported.png") no-repeat scroll 0 0 transparent;
background-position: 2px 6px;
background-size: 8px 6px;
border: none;
text-align:left;
display: block;
float: left;
margin: 0 0 0 4px;
padding: 4px 0 0 16px;
color: #6e6e6e;
}
#indexes{
border-top: 1px solid #C6C6C6;
background-color: white;
padding: 0px;
margin: 9px 0 0 0;
}
.index{
background-color: white;
margin: 9px 0 9px 0;
}
#alphaIndex a, #pageIndex a{
width: 29px;
height: 29px;
background: url("../images/bt_index.jpg") no-repeat scroll 0 0 transparent;
height: 24px;
border: none;
margin: 0 8px 4px 0;
padding: 5px 0 0 0;
color: #FFF;
margin: 0 0 9px 9px;
padding: 5px 0 0 0px;
color: #5C5C5C;
font-size: 20px;
text-align: center;
display: block;
text-decoration: none;
font-family: Arial;
font-weight: bold;
border: 1px solid #E2E2E2;
text-align:center;
}
@ -237,37 +365,13 @@ margin: 20px 0 15px 0;
}
#pageIndex .current{
background: url("../images/bt_current.jpg") no-repeat scroll 0 0 transparent;
color: #EBEBEB;
color: white;
background-color: #A2A2A2;
border: 1px solid #A2A2A2;
}
#alphaIndex .next, #pageIndex .next{
background: url("../images/bt_next.jpg") no-repeat scroll 0 0 transparent;
padding: 0;
text-indent: -9999px;
}
#alphaIndex .previous, #pageIndex .previous{
background: url("../images/bt_previous.jpg") no-repeat scroll 0 0 transparent;
padding: 0;
text-indent: -9999px;
}
#alphaIndex .first, #pageIndex .first{
background: url("../images/bt_first.jpg") no-repeat scroll 0 0 transparent;
padding: 0;
text-indent: -9999px;
}
#alphaIndex .last, #pageIndex .last{
background: url("../images/bt_last.jpg") no-repeat scroll 0 0 transparent;
padding: 0;
text-indent: -9999px;
}
#content h1{
color: #696969;
font-weight: bold;
font-size: 21px;
margin: 0 0 5px 0;
}
#content h2{
#content h2, #contentLibraries h2{
color: #000;
font-weight: bold;
font-size: 12px;
@ -277,13 +381,13 @@ margin: 20px 0 15px 0;
.inputs_login{
width: 256px;
height: 64px;
background: url("../images/fnd_inputs.jpg") no-repeat scroll 0 0 #FFF;
background: url("/images/fnd_inputs.jpg") no-repeat scroll 0 0 #FFF;
margin: 0 0 18px 0;
}
.username{
width: 200px;
height: 24px;
background: url("../images/fnd_input_username.jpg") no-repeat scroll 0 0 #2b2b2b;
background: url("/images/fnd_input_username.jpg") no-repeat scroll 0 0 #2b2b2b;
border: none;
padding: 0 0 0 44px;
margin: 5px 0 6px 8px;
@ -293,7 +397,7 @@ margin: 20px 0 15px 0;
.pass{
width: 200px;
height: 24px;
background: url("../images/fnd_input_pass.jpg") no-repeat scroll 0 0 #2b2b2b;
background: url("/images/fnd_input_pass.jpg") no-repeat scroll 0 0 #2b2b2b;
border: none;
padding: 0 0 0 44px;
margin: 0 0 0 8px;
@ -303,7 +407,7 @@ margin: 20px 0 15px 0;
.button_sign{
width: 86px;
height: 30px;
background: url("../images/bt_login.jpg") no-repeat scroll 0 0 transparent;
background: url("/images/bt_login.jpg") no-repeat scroll 0 0 transparent;
border: none;
margin: 0;
padding: 0;
@ -319,12 +423,7 @@ margin: 20px 0 15px 0;
margin: 0 0 0 8px;
line-height: 120%;
}
.sombra{
background: url("../images/bottombox.jpg") no-repeat scroll bottom center #FFF;
width: 288px;
height: 14px;
margin: 0 auto;
}
.clear{
height: 2px;
clear: both;
@ -332,11 +431,33 @@ margin: 20px 0 15px 0;
.title{
font-family: Arial;
font-weight: bold;
font-size: 14px;
font-size: 12px;
margin: 0 0 0 6px;
color: #333;
color: #555555 ;
overflow: hidden;
word-wrap: break-word;
height: 80px;
height: 65px;
text-decoration: none;
}
#indexalpha, #indexnumber{
-webkit-appearance: none;
background-color: rgba(255,255,255,0);
border-radius: 0px;
border: none;
color: #a3a3a3;
font-size: 16px;
font-family: Arial, Helvetica;
height: 30px;
margin: 0 0 0 10px;
padding:0;
float: right;
}
.comboIndicator {
float: right;
padding: 14px 0 0 0;
margin: 0 0 0 4px;
width: 5px;
}