This repository has been archived by the owner on May 3, 2022. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 48
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #337 from ezsystems/ezp-24824_subitems
EZP-24824: As an editor, I want to be able to see and browse the subitems of a Location.
- Loading branch information
Showing
20 changed files
with
1,692 additions
and
42 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,90 @@ | ||
/** | ||
* Copyright (C) eZ Systems AS. All rights reserved. | ||
* For full copyright and license information view LICENSE file distributed with this source code. | ||
*/ | ||
|
||
.ez-view-subitemlistview .ez-subitemlist-box { | ||
border: 1px solid #ccc; | ||
background: #F5F4F2; | ||
} | ||
|
||
.ez-view-subitemlistview .ez-subitemlist-title { | ||
background: #fff; | ||
font-size: 1.1em; | ||
font-weight: bold; | ||
box-shadow: 0 1px 5px rgba(0, 0, 0, 0.12); | ||
} | ||
|
||
.ez-view-subitemlistview .ez-subitemlist-content { | ||
transition: all ease 0.3s; | ||
opacity: 1; | ||
} | ||
|
||
.ez-view-subitemlistview.is-page-loading .ez-subitemlist-content { | ||
opacity: 0.3; | ||
} | ||
|
||
.ez-view-subitemlistview .ez-subitemlist-table { | ||
box-shadow: 0 0 2px #ccc; | ||
} | ||
|
||
.ez-view-subitemlistview .ez-subitemlist-table td { | ||
background: #fff; | ||
} | ||
|
||
.ez-view-subitemlistview .ez-subitemlist-table tr:nth-child(2n-1) td { | ||
background: #fafafa; | ||
} | ||
|
||
.ez-view-subitemlistview .ez-subitemlist-navigation { | ||
list-style-type: none; | ||
font-size: 90%; | ||
} | ||
|
||
.ez-view-subitemlistview .ez-subitemlist-navigation-link.is-disabled { | ||
color: #999; | ||
cursor: default; | ||
} | ||
|
||
.ez-view-subitemlistview .ez-subitemlist-navigation-link[rel="first"]:before { | ||
content: "«"; | ||
padding-right: 0.3em; | ||
} | ||
|
||
.ez-view-subitemlistview .ez-subitemlist-navigation-link[rel="next"]:after { | ||
content: "›"; | ||
padding-left: 0.3em; | ||
} | ||
|
||
.ez-view-subitemlistview .ez-subitemlist-navigation-link[rel="prev"]:before { | ||
content: "‹"; | ||
padding-right: 0.3em; | ||
} | ||
|
||
.ez-view-subitemlistview .ez-subitemlist-navigation-link[rel="last"]:after { | ||
content: "»"; | ||
padding-left: 0.3em; | ||
} | ||
|
||
.ez-view-subitemlistview .ez-subitemlist-loader-mask { | ||
transition: all ease 0.3s; | ||
} | ||
|
||
.ez-view-subitemlistview .ez-subitemlist-loader-mask:before { | ||
-webkit-animation: spin 0.5s infinite linear; | ||
animation: spin 0.5s infinite linear; | ||
box-sizing: border-box; | ||
border-radius: 100%; | ||
border-width: 0.5em; | ||
border-style: solid; | ||
border-color: rgba(50, 50, 50, 0.8) rgba(50, 50, 50, 0.8) rgba(50, 50, 50, 0.8) rgba(50, 50, 50, 0.1); | ||
opacity: 1; | ||
z-index: 10000; | ||
width: 3em; | ||
height: 3em; | ||
content: " "; | ||
display: block; | ||
top: 50%; | ||
left: 50%; | ||
position: absolute; | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,79 @@ | ||
/** | ||
* Copyright (C) eZ Systems AS. All rights reserved. | ||
* For full copyright and license information view LICENSE file distributed with this source code. | ||
*/ | ||
|
||
.ez-view-subitemlistview .ez-subitemlist-box { | ||
position: relative; | ||
} | ||
|
||
.ez-view-subitemlistview .ez-subitemlist-loader-mask { | ||
position: absolute; | ||
width: 100%; | ||
height: 100%; | ||
top: 0; | ||
left: 0; | ||
z-index: -1; | ||
} | ||
|
||
.ez-view-subitemlistview.is-page-loading .ez-subitemlist-loader-mask { | ||
z-index: 10; | ||
} | ||
|
||
.ez-view-subitemlistview .ez-subitemlist-title { | ||
margin: 0; | ||
padding: 0 1em; | ||
line-height: 2.5em; | ||
} | ||
|
||
.ez-view-subitemlistview .ez-subitemlist-content { | ||
margin: 1em; | ||
} | ||
|
||
.ez-view-subitemlistview .ez-subitemlist-table { | ||
width: 100%; | ||
} | ||
|
||
.ez-view-subitemlistview .ez-subitemlist-navigation { | ||
display: -webkit-box; | ||
display: -webkit-flex; | ||
display: -ms-flexbox; | ||
display: flex; | ||
-webkit-flex-flow: row nowrap; | ||
-ms-flex-flow: row nowrap; | ||
flex-flow: row nowrap; | ||
padding: 0; | ||
margin: 0.5em 0; | ||
} | ||
|
||
.ez-view-subitemlistview .ez-subitemlist-navigation-item { | ||
-webkit-box-flex: 1; | ||
-webkit-flex: 1; | ||
-ms-flex: 1; | ||
flex: 1; | ||
width: 25%; | ||
padding: 0; | ||
margin: 0; | ||
} | ||
|
||
.ez-view-subitemlistview .ez-subitemlist-navigation-link { | ||
display: block; | ||
} | ||
|
||
.ez-view-subitemlistview .ez-subitemlist-navigation-link[rel="first"], | ||
.ez-view-subitemlistview .ez-subitemlist-navigation-link[rel="next"] { | ||
text-align: left; | ||
} | ||
|
||
.ez-view-subitemlistview .ez-subitemlist-navigation-link[rel="prev"], | ||
.ez-view-subitemlistview .ez-subitemlist-navigation-link[rel="last"] { | ||
text-align: right; | ||
} | ||
|
||
.ez-view-subitemlistview .ez-subitemlist-navigation-link[rel="next"] { | ||
padding-left: 1em; | ||
} | ||
|
||
.ez-view-subitemlistview .ez-subitemlist-navigation-link[rel="prev"] { | ||
padding-right: 1em; | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.