123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198 |
- @import "colours.less";
- #tabs{
- background:@primary;
- margin:-20px;
- margin-bottom:10px;
- position:fixed;
- width:100%;
- box-shadow: 0px 0px 5px 0px rgba(50, 50, 50, 0.8);
- overflow-x:auto;
- white-space:nowrap;
- a{
- display:inline-block;
- color:@primary-100;
- padding:15px 30px;
- text-decoration:none;
- text-transform: uppercase;
- &.active{
- color:#fff;
- border-bottom:3px solid #fff;
- }
- }
- }
- .album{
- width:33.33%;
- /*float:left;*/
- display:inline-block;
- vertical-align:top;
- div{
- margin:5px;
- padding:5px;
- background:@control2;
- }
- span{
- display:block;
- text-align:center;
- color:@Grey-800;
- overflow:hidden;
- }
- }
- .imageSelector{
- .image{
- width:25%;
- display:inline-block;
- vertical-align:top;
- text-align:center;
- &.selected {
- >div{
- background:@primary-300;
- &:hover{
- background:@primary-400;
- }
- }
- }
- input[type=checkbox]{
- display:none;
- }
- >div{
- margin:5px;
- padding:5px;
- background:@control2;
- &:hover{
- background:@Grey-400;
- }
- }
- }
- }
- #album-viewer{
- height:100%;
- display:flex;
- flex-direction: column;
- #album-description{
- flex: 0 0 auto;
- .expander{
- padding:5px;
- background:@control2;
- &:after{
- float:right;
- content: "+";
- }
- &.expanded:after{
- content: '-';
- }
- }
- .text{
- background:@control;
- padding:5px;
- &.ng-hide{
- //opacity: 0;
- line-height: 0;
- }
- }
- }
- #album-thumbnails{
- flex: 0 0 auto;
- overflow-x:auto;
- overflow-y:hidden;
- white-space:nowrap;
- text-align:center;
- img{
- width:100px;
- border:3px solid transparent;
- &.selected{
- border:3px solid @primary-300;
- }
- }
- }
- #album-images{
- flex: 1 1 auto;
- overflow:auto;
- position:relative;
- .image{
- position:absolute;
- top: 0;
- left: 0;
- right: 0;
- bottom: 0;
- overflow:hidden;
- text-align:center;
- img{
- max-height: 100%;
- }
- }
- }
- }
- #galleryUpload{
- .upload{
- font-size:2em;
- padding:5px;
- }
- .dragDrop{
- min-height:200px;
- border-color: @background;
- background-position: center;
- background-size: 100px;
- margin-bottom:5px;
- &.dragOver{
- border: 3px dashed @Grey-700;
- background-image: url("/images/upload.svg");
- background-repeat: no-repeat;
- }
- }
- .newImage{
- display:flex;
- margin-bottom:5px;
- .information{
- flex:1;
- }
- .preview{
- flex:1;
- position: relative;
- .imageContainer{
- position:absolute;
- top:0;
- bottom:0;
- right:0;
- text-align:right;
- img{
- height:100%;
- }
- }
- }
- }
- }
|