+++ /dev/null
-.social-shelf-tags {
- list-style: none;
- padding: 0;
- margin: 1em 0;
- width: 30em;
- overflow: hidden;
- text-overflow: ellipsis;
- white-space: nowrap;
- position:absolute;
- margin-left: 15.4em;
- top: 13.5em;
- padding: .5em 0;
- background: #fff;
-}
-
-.social-shelf-tags li {
- display: inline-block;
- margin-right:1em;
- margin-bottom: .5em;
-}
-
-.social-shelf-tags a {
- display: block;
- padding: .3em 1em;
- background: #ABDADE;
- color: #08646b;
- border-radius: 1em;
-}
-
-
-.social-shelf-tags:hover {
- overflow: visible;
- text-overflow: ellipsis;
- white-space: normal;
- z-index: 1000;
-}
@import "funding/funding";
@import "polls/polls";
+
+@import "social/shelf_tags";
.search-result {
- @include size(width, 975px);
+ @include size(border, 1px solid #ddd);
+ @include size(box-shadow, 2px 2px 2px #ddd);
+ @include size(margin, 1px);
+ background: white;
- .book-box-body {
- @include size(width, 310px);
+ @include min-screen($S_BOOK_SHORT_FULL) {
+ @include size(width, $W_BOOK_SHORT_FULL -4px);
+ }
+
+ @media screen and (min-width: 62.5em) {
+ @include size(width, 965px);
+ @include size(padding-right, 8px);
+ }
+
+ .book-box {
+ display: inline-block;
+
+ @include min-screen($S_BOOK_SHORT_FULL) {
+ @include size(width, $W_BOOK_SHORT_FULL - 4px);
+ }
+
+ .book-box-inner {
+ border: none;
+ box-shadow: none;
+ margin: 0;
+ }
}
}
.book-list-header {
- @include size(width, 975px);
+ @media screen and (min-width: 62.5em) {
+ @include size(width, 975px);
+ }
padding: 0em;
@include size(margin-left, -1px);
}
.snippets {
- @include size(width, 440px);
- float: right;
- @include size(margin-top, -200px);
+ @media screen and (min-width: 62.5em) {
+ @include size(width, 440px);
+ float: right;
+ }
.snippet-text {
@include size(font-size, 12px);
display: inline-block;
vertical-align: top;
@include size(margin-bottom, 5.5px);
- @include size(width, 385px);
+ @include size(max-width, 385px);
ul {
list-style: none;
--- /dev/null
+.social-shelf-tags {
+ list-style: none;
+ padding: 0;
+ margin: 10px 0;
+
+ @include min-screen($S_BOOK_SHORT_FULL) {
+ position: absolute;
+ top: 134px;
+ left: 152px;
+ padding: 10px 10px 5px 10px;
+ margin: 10px 0;
+ width: 310px;
+ overflow: hidden;
+ text-overflow: ellipsis;
+ white-space: nowrap;
+
+ &:hover {
+ overflow: visible;
+ text-overflow: ellipsis;
+ white-space: normal;
+ z-index: 1000;
+ background: #fff;
+ box-shadow: 0 0 2px #ddd;
+ }
+ }
+
+ li {
+ display: inline-block;
+ margin-right: .5em;
+ margin-bottom: .5em;
+
+ a {
+ display: block;
+ padding: .2em .9em;
+ background: #ABDADE;
+ color: #08646b;
+ border-radius: 1em;
+ }
+ }
+}
'main': {
# styles both for mobile and for big screen
'source_filenames': [
- 'css/jquery.countdown.css',
+ 'css/jquery.countdown.css',
'sponsors/css/sponsors.css',
- 'css/social/shelf_tags.css',
'uni_form/uni-form.css',
'uni_form/default.uni-form.css',
},
'player': {
'source_filenames': [
- 'jplayer/jplayer.blue.monday.css',
- 'player/player.css',
+ 'jplayer/jplayer.blue.monday.css',
+ 'player/player.css',
],
'output_filename': 'css/compressed/player.css',
},
'player/openplayer.js',
'js/search.js',
'funding/funding.js',
-
+
'uni_form/uni-form.js',
),
'output_filename': 'js/base.min.js',
},
'player': {
'source_filenames': [
- 'jplayer/jquery.jplayer.min.js',
- 'jplayer/jplayer.playlist.min.js',
- 'player/player.js',
+ 'jplayer/jquery.jplayer.min.js',
+ 'jplayer/jplayer.playlist.min.js',
+ 'player/player.js',
],
'output_filename': 'js/player.min.js',
},