summary |
shortlog |
log |
commit | commitdiff |
tree
raw |
patch |
inline | side by side (from parent 1:
0a8fdf7)
- Ustawienie poprawnych z-index dla elementów.
- Zmniejszenie szerokości slidera (bardziej się chyba nie da :-/).
- Dodanie cursor: col-resize przy zmienianiu szerokości paneli.
.panel-overlay {
position: absolute;
top: 0px; bottom: 0px; left: 0px; right: 0px;
.panel-overlay {
position: absolute;
top: 0px; bottom: 0px; left: 0px; right: 0px;
background: gray;
opacity: 0.8;
text-align: center;
overflow: hidden;
display: none;
background: gray;
opacity: 0.8;
text-align: center;
overflow: hidden;
display: none;
}
.panel-content-overlay {
}
.panel-content-overlay {
background-color: #DDD;
white-space: nowrap;
overflow: hidden;
background-color: #DDD;
white-space: nowrap;
overflow: hidden;
position: absolute;
background-color: #DDD;
position: absolute;
background-color: #DDD;
- top: 0px; bottom: 0px; right: 0px; width: 6px;
+ top: 0px; bottom: 0px; right: 0px; width: 4px;
border-left: 1px solid #999;
border-right: 1px solid #999;
border-top: none;
border-bottom: none;
border-left: 1px solid #999;
border-right: 1px solid #999;
border-top: none;
border-bottom: none;
+ z-index: 90;
+ cursor: col-resize;
}
.panel-wrap .panel-slider:hover {
background-color: #999;
}
.panel-wrap .panel-slider:hover {
background-color: #999;
}
.panel-content-overlay.panel-wrap .panel-slider {
}
.panel-content-overlay.panel-wrap .panel-slider {
/* ================= */
/* = Gallery panel = */
/* ================= */
/* ================= */
/* = Gallery panel = */
/* ================= */
-.images-wrap, .panel-htmleditor {
overflow-x: hidden;
overflow-y: scroll;
}
overflow-x: hidden;
overflow-y: scroll;
}
/* ==================== */
.toolbar {
/* ==================== */
.toolbar {
}
.toolbar, .toolbar ol {
}
.toolbar, .toolbar ol {
.toolbar-tabs {
height: 21px;
.toolbar-tabs {
height: 21px;
}
.panel-dceditor label {
}
.panel-dceditor label {
font-size: 12px;
margin-top: 10px;
color: #666;
font-size: 12px;
margin-top: 10px;
color: #666;
.panel-dceditor input, .panel-dceditor textarea {
width: 400px;
.panel-dceditor input, .panel-dceditor textarea {
width: 400px;
<strong class="change-notification" style="display: none">Widok nieaktualny!</strong>
</div>
<div id="left-panel-content" class="panel-content"></div>
<strong class="change-notification" style="display: none">Widok nieaktualny!</strong>
</div>
<div id="left-panel-content" class="panel-content"></div>
- <button type="button" class="panel-slider" id="slider01"> </button>
+ <button type="button" class="panel-slider" id="slider01"></button>
</div>
<div id="right-panel-wrap" class="panel-wrap last-panel">
<div id="right-panel-toolbar" class="panel-toolbar">
</div>
<div id="right-panel-wrap" class="panel-wrap last-panel">
<div id="right-panel-toolbar" class="panel-toolbar">
- <div class="images-wrap">
- <div class="images">
- <p>Aby zobaczyć obrazki wybierz folder poniżej:</p>
- <p><select name="folders" class="id_folders">
+ <div class="toolbar">
+ <select name="folders" class="id_folders">
<option value="" selected="selected">-- Wybierz folder z obrazkami --</option>
<option value="andersen_basnie">andersen_basnie</option>
<option value="" selected="selected">-- Wybierz folder z obrazkami --</option>
<option value="andersen_basnie">andersen_basnie</option>
+ </select>
+ </div>
+ <div class="images-wrap">
+ <div class="images">
var contentDiv = this.contentDiv;
$('.id_folders', contentDiv).change(function()
{
var contentDiv = this.contentDiv;
$('.id_folders', contentDiv).change(function()
{
- $('.images', contentDiv).load('{% url folder_image_ajax %}' + $('.id_folders', panel).val() + '/',
+ $('.images', contentDiv).load('{% url folder_image_ajax %}' + $('.id_folders', contentDiv).val() + '/',
function() {
$('.images-wrap', contentDiv).data('lazyload:lastCheckedScrollTop', -10000);
});
function() {
$('.images-wrap', contentDiv).data('lazyload:lastCheckedScrollTop', -10000);
});