</div>
<div id="qbox" class="qbox"
- data-default-leftoffset="105"
data-attach-bottom="true"
>
<div class="content">
/
<a href="{% url 'register' %}?next={{ request.path }}"> Załóż konto
</a>
+ </div>
+ <div class="zakladka-tool zakladka-tool_sluchaj">
+ Słuchaj od tego miejsca
+ </div>
+ </div>
{% endif %}
- </div>
<div class="pointer pointer-bottom"></div>
<div class="pointer pointer-top"></div>
p.paragraph {
text-align: justify;
- margin: 0 0 0 44px;
+ margin: 0;
text-indent: 1.5em;
}
float: left;
clear: left;
font-size: .8em;
- margin-left: 0;
+ margin-left: -40px;
width: 36px;
height: auto;
padding: 2px;
border-radius: 22px;
background: white;
box-shadow: 6px 6px 10px 0px rgba(0, 120, 128, 0.35);
- overflow: hidden;
&.copied {
.content:after {
color: black;
justify-content: center;
align-items: center;
+ border-radius: 22px;
}
}
-
+
.content {
overflow: hidden;
display: flex;
leftoffset = x - margin;
} else {
right = '';
-
- // default position.
- leftoffset = 40;
+
leftoffset = $elem.data('default-leftoffset');
+ if (leftoffset === undefined) {
+ leftoffset = $elem.width() / 2;
+ }
nx = x - leftoffset;
// Do we need to move away from the right?
if (nx + boxwidth > maxx) {
- // ACTUALLY CALCULATE STUFF
- // if maxx - minx < 470 px -- daj z lewej do prawej i już!
-
right = '';
let d = nx + boxwidth - maxx;
- //if (leftoffset + d > $elem.width() - 10) d = $elem.width() - leftoffset - 10;
nx -= d;
leftoffset += d;
}