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

parent fe1446a8
...@@ -47,6 +47,7 @@ ...@@ -47,6 +47,7 @@
{ {
font-weight: bold; font-weight: bold;
color: #333 !important; color: #333 !important;
background-color: #C9CACB;
} }
.b-list_folders-item.active b .b-list_folders-item.active b
...@@ -94,17 +95,11 @@ ...@@ -94,17 +95,11 @@
.b-folder-content .sorted .b-folder-content .sorted
{ {
margin: 0; margin: 0;
/*
margin-left: -10px;
margin-right: 20px;*/
} }
.b-folder-content .not-sorted .b-folder-content .not-sorted
{ {
margin: 0; margin: 0;
/*
margin-left: -20px;
*/
} }
.b-foto-double .b-foto-double
...@@ -112,6 +107,7 @@ ...@@ -112,6 +107,7 @@
padding: 0; padding: 0;
} }
/*
.b-foto-double.pair.last-pair .b-foto-double.pair.last-pair
{ {
margin-right: 50px; margin-right: 50px;
...@@ -126,6 +122,23 @@ ...@@ -126,6 +122,23 @@
{ {
margin-right: 0; 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 { .b-foto {
padding: 4px; padding: 4px;
...@@ -133,14 +146,11 @@ ...@@ -133,14 +146,11 @@
.b-foto_inner { .b-foto_inner {
position: relative; position: relative;
/*border: 1px solid #8D9094;*/
border-radius: 4px; border-radius: 4px;
overflow: hidden; overflow: hidden;
cursor: pointer; cursor: pointer;
} }
.b-foto_inner.selected {
/*border-width: 4px;*/
}
.b-folder-content.has-selected .b-foto_inner.paired { .b-folder-content.has-selected .b-foto_inner.paired {
cursor: default; cursor: default;
......
...@@ -277,9 +277,11 @@ $(document).ready(function(){ ...@@ -277,9 +277,11 @@ $(document).ready(function(){
if ($pairs.length>0) { if ($pairs.length>0) {
$pairs.removeClass('last-pair'); $pairs.removeClass('last-pair');
$pairs.last().addClass('last-pair'); $pairs.last().addClass('last-pair');
$doubles.last().addClass('last-pair'); //$doubles.last().addClass('last-pair');
$doubles.first().addClass('first-pair');
} else { } 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