new document views; + pdf view; documents model update

This commit is contained in:
tmshv committed 2014-11-24 16:40:27 +03:00
1 parent 3f4b07e6c9
commit 164975f21f
12 files changed
+349 -235

No files matched your search

Binary file not shown.

After

Width:  |  Height:  |  Size: 14 KiB

-1
View File
@@ -6,7 +6,6 @@
&.ng-enter {
animation: scaleUp 0.3s both ease-in
// animation: slideInUp 0.5s both ease-in;
}
}
+65 -57
View File
@@ -9,10 +9,74 @@
background-color: white;
box-shadow: 0 1px 5px 0 rgba(0, 0, 0, 0.5);
display: flex;
justify-content: space-between;
align-items: center;
&.transparent{
opacity: 0.95;
}
}
.controls {
input {
width: 30px;
height: 30px;
margin: 0 2px;
text-align: center;
font-size: .9em;
}
input:focus {
outline: 0;
}
button {
height: 30px;
border-radius: 6px;
border: 1px solid #666;
background-color: white;
font-size: 1.25em;
line-height: 0;
text-align: center;
outline: none;
&:hover {
border-color: #4d62d9;
color: #4d62d9;
}
&:active {
border-color: #3d4fb2;
color: #3d4fb2;
}
}
}
.controls .block {
display: inline-block;
margin: 0 5px;
vertical-align: middle;
}
a.download {
height:30px;
width: 23px;
vertical-align: middle;
padding: 0 8px;
display: inline-block;
background: url(/graphics/download.png) no-repeat 50%;
border-radius: 6px;
border: 1px solid #666;
&:hover{
border-color: #4d62d9;
}
&:active {
border-color: #3d4fb2;
}
}
}
.document {
@@ -33,62 +97,6 @@
font-weight: 700;
}
#page-container > div {
/* box-shadow: 1px 1px 3px 1px #333;*/
}
.controls {
display: inline-block;
margin-top: -4px;
/* vertical-align: middle;*/
.block {
display: inline-block;
/* height: 100%;*/
margin: 0px 5px;
vertical-align: middle;
}
input {
width: 30px;
height: 30px;
margin: 0 2px;
text-align: center;
font-size: .9em;
}
button {
display: inline-block;
height: 30px;
padding: 0 10px;
border-radius: 6px;
border: 2px solid #bbb;
color: #555;
background-color: white;
font-size: 1.3em;
text-align: center;
outline: none;
&:hover {
/* border: 1px solid #666;*/
/* background-color: #eee;*/
border: 2px solid #4d62d9;
color: #4d62d9;
}
&:active {
border: 2px solid #3d4fb2;
color: #3d4fb2;
background-color: rgba(61, 79, 178, 0.3);
}
}
a.download {
width: 22px;
height: 22px;
padding: 5px 8px;
display: inline-block;
background: #f3f3f3 url(download-icon.png) no-repeat;
background-position: 50%;
border-radius: 3px;
border: 1px solid #e0e0e0;
}
}
#page-container {
background-color: #c3bfa3;
transition: left 500ms;
@@ -97,7 +105,7 @@
.pf {
margin: 60px auto 20px;
/* box-shadow: 1px 1px 3px 1px #333;*/
box-shadow: 0px 1px 4px 0px rgba(0, 0, 0, 0.9);
box-shadow: 0 1px 4px 0px rgba(0, 0, 0, 0.9);
border-collapse: separate;
}
+1 -1
View File
@@ -5,6 +5,7 @@
margin: 0;
padding: 0;
border: 0;
z-index: -1;
}
@media screen {
@@ -62,7 +63,6 @@
position: relative;
background-color: white;
overflow: hidden;
margin: 0;
border: 0;
}