схема группировки с правым отступом

parent fe1446a8
......@@ -47,6 +47,7 @@
{
font-weight: bold;
color: #333 !important;
background-color: #C9CACB;
}
.b-list_folders-item.active b
......@@ -94,24 +95,19 @@
.b-folder-content .sorted
{
margin: 0;
/*
margin-left: -10px;
margin-right: 20px;*/
}
.b-folder-content .not-sorted
{
margin: 0;
/*
margin-left: -20px;
*/
}
.b-foto-double
{
padding: 0;
}
/*
.b-foto-double.pair.last-pair
{
margin-right: 50px;
......@@ -126,6 +122,23 @@
{
margin-right: 0;
}
*/
.b-foto-double.pair.last-pair
{
margin-right: 50px;
}
.b-foto-double:first-child
{
margin-left: 50px;
}
.b-foto-double.first-pair
{
margin-left: 0;
}
.b-foto {
padding: 4px;
......@@ -133,14 +146,11 @@
.b-foto_inner {
position: relative;
/*border: 1px solid #8D9094;*/
border-radius: 4px;
overflow: hidden;
cursor: pointer;
}
.b-foto_inner.selected {
/*border-width: 4px;*/
}
.b-folder-content.has-selected .b-foto_inner.paired {
cursor: default;
......
......@@ -277,9 +277,11 @@ $(document).ready(function(){
if ($pairs.length>0) {
$pairs.removeClass('last-pair');
$pairs.last().addClass('last-pair');
$doubles.last().addClass('last-pair');
//$doubles.last().addClass('last-pair');
$doubles.first().addClass('first-pair');
} else {
$doubles.last().removeClass('last-pair');
//$doubles.last().removeClass('last-pair');
$doubles.first().removeClass('first-pair');
}
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment