docs page update;
This commit is contained in:
1 parent
02cd05f997
commit
d16bb492aa
2 files changed
+34
-61
No files matched your search
+24
-52
@@ -1,68 +1,40 @@
|
|||||||
.page-docs {
|
.page-docs {
|
||||||
&.ng-leave {
|
&.ng-leave {
|
||||||
transform-origin: 50% 50%;
|
transform-origin: 50% 50%;
|
||||||
animation: rotateOutNewspaper .3s both ease-in;
|
animation: rotateOutNewspaper .3s both ease-in;
|
||||||
}
|
}
|
||||||
|
|
||||||
&.ng-enter {
|
&.ng-enter {
|
||||||
animation: scaleUp 0.3s both ease-in
|
animation: scaleUp 0.3s both ease-in
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
.act{
|
.documents-block {
|
||||||
text-decoration: none;
|
margin: 3em 0 0;
|
||||||
border-bottom: 1px dashed #688fff;
|
|
||||||
|
display: flex;
|
||||||
|
flex-wrap: wrap;
|
||||||
|
justify-content: space-around;
|
||||||
|
align-items: baseline;
|
||||||
}
|
}
|
||||||
|
|
||||||
.docblock{
|
.doc {
|
||||||
margin-bottom: 40px;
|
margin: 0 1.2em 2.5em;
|
||||||
text-align: center;
|
|
||||||
|
|
||||||
h2{
|
p {
|
||||||
margin-left: 50px;
|
text-align: center;
|
||||||
text-align: left;
|
}
|
||||||
}
|
img {
|
||||||
|
max-width: 100%;
|
||||||
.panel{
|
}
|
||||||
text-align: left;
|
|
||||||
li{
|
|
||||||
display: inline-block;
|
|
||||||
margin: 0 5px;
|
|
||||||
}
|
|
||||||
|
|
||||||
.select{
|
|
||||||
padding:2px 6px 2px 6px;
|
|
||||||
background-color: #688fff;
|
|
||||||
color: white;
|
|
||||||
border: none;
|
|
||||||
}
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
||||||
.doc{
|
|
||||||
display: inline-block;
|
|
||||||
margin: 30px 35px;
|
|
||||||
|
|
||||||
img{
|
|
||||||
display: block;
|
|
||||||
margin-left: auto;
|
|
||||||
margin-right: auto;
|
|
||||||
max-width:360px;
|
|
||||||
}
|
|
||||||
|
|
||||||
.docinfo{
|
|
||||||
margin: 0;
|
|
||||||
padding: 0;
|
|
||||||
display: block;
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
|
|
||||||
@media screen and (max-device-width: 400px){
|
@media (max-width: 31.25em) {
|
||||||
.doc{
|
.documents-block {
|
||||||
margin: 30px 35px;
|
margin: 1em 0 0;
|
||||||
|
}
|
||||||
|
|
||||||
img{
|
.doc {
|
||||||
max-width: 250px;
|
margin: 0 0 2em;
|
||||||
}
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
@@ -1,10 +1,11 @@
|
|||||||
<div class="main" ng-controller="DocumentsController">
|
<div class="documents-block" ng-controller="DocumentsController">
|
||||||
<div class="docblock"><h2>Лицензии, свидетельства и уставы</h2>
|
<div class="doc" ng-repeat="doc in documents">
|
||||||
<div class="doc" ng-repeat="doc in documents">
|
<a href="{{doc.url}}" target="_blank" class="invisible">
|
||||||
<a href="{{doc.url}}" target="_blank">
|
<img ng-src="{{doc.preview}}">
|
||||||
<img ng-src="{{doc.preview}}">
|
</a>
|
||||||
<span>{{doc.title | uppercaseFirst}}</span>
|
|
||||||
</a>
|
<p>
|
||||||
</div>
|
<a href="{{doc.url}}" target="_blank">{{doc.title | uppercaseFirst}}</a>
|
||||||
|
</p>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
Reference in new issue
Block a user