forked from Public/pics
Leave out labels on photo index pages.
They were pretty much only displaying filenames, so not adding much.
This commit is contained in:
parent
9fe8acc747
commit
ee9bdd45c0
@ -163,14 +163,12 @@ ul#nav li a:hover {
|
|||||||
.tiled_grid div.landscape, .tiled_grid div.portrait, .tiled_grid div.panorama,
|
.tiled_grid div.landscape, .tiled_grid div.portrait, .tiled_grid div.panorama,
|
||||||
.tiled_grid div.duo, .tiled_grid div.single {
|
.tiled_grid div.duo, .tiled_grid div.single {
|
||||||
background: #fff;
|
background: #fff;
|
||||||
border-bottom-style: none !important;
|
|
||||||
box-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
|
box-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
|
||||||
float: left;
|
float: left;
|
||||||
line-height: 0;
|
line-height: 0;
|
||||||
margin: 0 3.5% 3.5% 0;
|
margin: 0 3.5% 3.5% 0;
|
||||||
overflow: none;
|
overflow: none;
|
||||||
position: relative;
|
position: relative;
|
||||||
padding-bottom: 5px;
|
|
||||||
width: 31%;
|
width: 31%;
|
||||||
}
|
}
|
||||||
.tiled_grid div img {
|
.tiled_grid div img {
|
||||||
@ -181,7 +179,7 @@ ul#nav li a:hover {
|
|||||||
color: #000;
|
color: #000;
|
||||||
margin: 0;
|
margin: 0;
|
||||||
font: 400 18px "Open Sans", sans-serif;
|
font: 400 18px "Open Sans", sans-serif;
|
||||||
padding: 20px 5px 15px;
|
padding: 15px 5px;
|
||||||
text-overflow: ellipsis;
|
text-overflow: ellipsis;
|
||||||
text-align: center;
|
text-align: center;
|
||||||
white-space: nowrap;
|
white-space: nowrap;
|
||||||
@ -192,9 +190,7 @@ ul#nav li a:hover {
|
|||||||
}
|
}
|
||||||
.tiled_grid div.landscape:hover, .tiled_grid div.portrait:hover, .tiled_grid div.panorama:hover,
|
.tiled_grid div.landscape:hover, .tiled_grid div.portrait:hover, .tiled_grid div.panorama:hover,
|
||||||
.tiled_grid div.duo:hover, .tiled_grid div.single:hover {
|
.tiled_grid div.duo:hover, .tiled_grid div.single:hover {
|
||||||
padding-bottom: 0;
|
box-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
|
||||||
border-bottom-width: 5px;
|
|
||||||
border-bottom-style: solid !important;
|
|
||||||
}
|
}
|
||||||
|
|
||||||
/* Panoramas */
|
/* Panoramas */
|
||||||
@ -519,12 +515,9 @@ textarea {
|
|||||||
/* Styling for the photo pages
|
/* Styling for the photo pages
|
||||||
--------------------------------*/
|
--------------------------------*/
|
||||||
#photo_frame {
|
#photo_frame {
|
||||||
overflow: hidden;
|
|
||||||
text-align: center;
|
text-align: center;
|
||||||
}
|
}
|
||||||
#photo_frame a {
|
#photo_frame a {
|
||||||
background: #fff;
|
|
||||||
border: 0.9em solid #fff;
|
|
||||||
box-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
|
box-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
|
||||||
cursor: -moz-zoom-in;
|
cursor: -moz-zoom-in;
|
||||||
display: inline-block;
|
display: inline-block;
|
||||||
@ -674,7 +667,7 @@ a#previous_photo:hover, a#next_photo:hover {
|
|||||||
}
|
}
|
||||||
.tiled_grid div h4 {
|
.tiled_grid div h4 {
|
||||||
font-size: 14px;
|
font-size: 14px;
|
||||||
padding: 15px 5px 10px;
|
padding: 15px 5px;
|
||||||
}
|
}
|
||||||
|
|
||||||
.tiled_row > div, .tiled_row .single, .tiled_row .duo {
|
.tiled_row > div, .tiled_row .single, .tiled_row .duo {
|
||||||
|
@ -19,7 +19,7 @@ class PhotosIndex extends SubTemplate
|
|||||||
const PANORAMA_HEIGHT = null;
|
const PANORAMA_HEIGHT = null;
|
||||||
|
|
||||||
const PORTRAIT_WIDTH = 400;
|
const PORTRAIT_WIDTH = 400;
|
||||||
const PORTRAIT_HEIGHT = 640;
|
const PORTRAIT_HEIGHT = 645;
|
||||||
|
|
||||||
const LANDSCAPE_WIDTH = 850;
|
const LANDSCAPE_WIDTH = 850;
|
||||||
const LANDSCAPE_HEIGHT = 640;
|
const LANDSCAPE_HEIGHT = 640;
|
||||||
@ -31,9 +31,9 @@ class PhotosIndex extends SubTemplate
|
|||||||
const SINGLE_HEIGHT = 412;
|
const SINGLE_HEIGHT = 412;
|
||||||
|
|
||||||
const TILE_WIDTH = 400;
|
const TILE_WIDTH = 400;
|
||||||
const TILE_HEIGHT = 267;
|
const TILE_HEIGHT = 300;
|
||||||
|
|
||||||
public function __construct(PhotoMosaic $mosaic, $show_edit_buttons = false, $show_labels = true, $show_headers = true)
|
public function __construct(PhotoMosaic $mosaic, $show_edit_buttons = false, $show_labels = false, $show_headers = true)
|
||||||
{
|
{
|
||||||
$this->mosaic = $mosaic;
|
$this->mosaic = $mosaic;
|
||||||
$this->show_edit_buttons = $show_edit_buttons;
|
$this->show_edit_buttons = $show_edit_buttons;
|
||||||
|
Loading…
Reference in New Issue
Block a user