123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143 |
- .chooser {
-
- @include clearfix();
- input[type=text] {
- float: left;
- width: 50%;
- margin-right: 1em;
- }
- .chosen {
- display: block;
- }
- .unchosen,
- .chosen {
- position: relative;
- &:before {
- vertical-align: middle;
- font-family: wagtail;
- content: '';
-
- display: inline-block;
-
- color: $color-grey-3;
- line-height: 1em;
- font-size: 2.5em;
- margin-right: 0.3em;
- }
- }
- .unchosen {
- display: none;
- }
- .actions {
- @include clearfix;
- overflow: hidden;
- li {
- float: left;
- margin: 0.3em;
- }
- }
-
- &.blank {
- .chosen { display: none; }
- .unchosen { display: block; }
- }
- }
- .page-chooser,
- .snippet-chooser,
- .document-chooser {
- .chosen {
- .title {
- color: $color-grey-1;
-
- padding-left: 1em;
- display: inline-block;
- }
- .actions {
- clear: both;
- padding-top: 0.6em;
- }
- }
- }
- .page-chooser {
- .unchosen,
- .chosen {
- &:before {
- content: map-get($icons, 'doc-empty-inverse');
- }
- }
- }
- .snippet-chooser {
- .unchosen,
- .chosen {
- &:before {
- content: map-get($icons, 'snippet');
- }
- }
- }
- .document-chooser {
- .unchosen,
- .chosen {
- &:before {
- content: map-get($icons, 'doc-full-inverse');
- }
- }
- }
- .image-chooser {
- .unchosen,
- .chosen {
- &:before {
- content: map-get($icons, 'image');
- }
- }
- .chosen {
- padding-left: $thumbnail-width;
- &:before {
- content: '';
- }
- .preview-image {
- float: left;
- margin-left: -($thumbnail-width);
- margin-right: 1em;
- max-width: $thumbnail-width;
-
-
-
- img {
- max-width: $thumbnail-width;
- max-height: $thumbnail-width;
- height: auto;
- width: auto;
- }
- }
- }
- }
|