123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111 |
- //
- // Change Avatar Modal
- // --------------------------------------------------
- // Index
- .modal-change-avatar .modal-avatar-index {
- .avatar-preview {
- border-radius: @border-radius-large;
- margin: 0px auto;
- overflow: hidden;
- position: relative;
- width: 200px;
- height: 200px;
- .loader {
- display: none;
- position: absolute;
- top: 50px;
- height: 100px;
- .loader-spinning-wheel {
- border-width: 10px;
- border-color: #fff;
- border-left-color: transparent;
- border-right-color: transparent;
- width: 100px;
- height: 100px;
- }
- }
- &.preview-loading {
- img {
- .opacity(0.33);
- }
- .loader {
- display: block;
- }
- }
- @media (max-width: (@grid-float-breakpoint - 1)) {
- margin-bottom: @line-height-computed;
- width: 150px;
- height: 150px;
- img {
- width: 150px;
- height: 150px;
- }
- .loader {
- top: 25px;
- height: 100px;
- .loader-spinning-wheel {
- width: 100px;
- height: 100px;
- }
- }
- }
- }
- .btn {
- text-align: left;
- }
- }
- // Gallery
- .modal-change-avatar .modal-avatar-gallery {
- padding-bottom: 0px;
- .avatars-gallery {
- margin-bottom: @line-height-computed;
- h3 {
- margin-top: 0px;
- }
- }
- .avatars-gallery-images {
- .row {
- margin-bottom: @line-height-computed / 2;
- }
- .btn {
- border-radius: @border-radius-base + 2px;
- border: 2px solid @gray-lighter;
- background: none;
- padding: 2px;
- &:hover, &:focus {
- border-color: @gray-light;
- }
- &.avatar-selected, &:active {
- border-color: @link-color;
- }
- img {
- border-radius: @border-radius-base;
- width: 100%;
- }
- }
- }
- }
|