1
0
mirror of https://github.com/e107inc/e107.git synced 2025-08-15 02:57:15 +02:00

Admin-ui: When type='image' and optArray has been set, will render a set selection of inline images.

This commit is contained in:
Cameron
2017-04-08 12:57:21 -07:00
parent 1c77e12454
commit a80e6c52f0
2 changed files with 59 additions and 0 deletions

View File

@@ -95,6 +95,16 @@ cursor: help;
}
.e-image-radio { padding-left:0;}
.e-image-radio label > input { visibility: hidden; position: absolute; }
.e-image-radio label > input + div{ cursor:pointer; border:2px solid transparent; border-radius:4px;height: 60px; padding: 5px; vertical-align: middle; }
.e-image-radio label > input:checked + div { border:2px solid #337ab7; }
.e-image-radio label > input + div span { visibility: hidden; float:right; margin-right:10px; color:#337ab7 }
.e-image-radio label > input:checked + div span { visibility: initial; }
/* TODO - use col-xx-x markup where core-mainpanel-block occurs. ? */
@media (max-width: 1700px){
.core-mainpanel-block { width:25%; }