-
Notifications
You must be signed in to change notification settings - Fork 1
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 #11 from openpermissions/css_namespace
Namespace css
- Loading branch information
Showing
2 changed files
with
92 additions
and
104 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,35 +1,35 @@ | ||
<failure> | ||
<div id="container"> | ||
<div class="error_card"> | ||
<div id="opp_container"> | ||
<div class="opp_error-card"> | ||
<h1>Not Found</h1> | ||
<div class="body"> | ||
<div class="opp_body"> | ||
<p> Unfortunately we could not find any information about this asset.</p> | ||
</div> | ||
<div class="footer"> | ||
<div class="opp_footer"> | ||
<p> If this asset belongs to you and you would like to know more about registering it with the Open Permissions Platform, | ||
please contact <a href="mailto:[email protected]" target="_top">OPP Support</a> for more information.</p> | ||
</div> | ||
<div class="footer-logo"> | ||
<div class="opp_footer-logo"> | ||
<p>Powered by </p> <img src="https://s3-eu-west-1.amazonaws.com/copyrighthub-matrix-images/opp-logo.png"></img> | ||
</div> | ||
</div> | ||
</div> | ||
</failure> | ||
|
||
<error> | ||
<div id="container"> | ||
<div class="error_card"> | ||
<div id="opp_container"> | ||
<div class="opp_error-card"> | ||
<h1> Error </h1> | ||
<div class="body"> | ||
<div class="opp_body"> | ||
<p> Unfortunately there was a problem retrieving information for this asset. It may work if you try again.<p> | ||
<p>Alternatively, please contact <a href="mailto:[email protected]" target="_top">OPP Support</a> | ||
for help with further troubleshooting.</p> | ||
|
||
|
||
<div> | ||
<input class="collapse" id="error" type="checkbox" > | ||
<input class="opp_collapse" id="error" type="checkbox" > | ||
<label for="error">Error Message</label> | ||
<div class="collapse-body"> | ||
<div class="opp_collapse-body"> | ||
<pre> | ||
<code> | ||
{JSON.stringify(opts.error, ["message", "arguments", "type", "name", "status", "errors"], 4)} | ||
|
@@ -39,13 +39,13 @@ | |
</div> | ||
</div> | ||
|
||
<div class="footer-logo"> | ||
<div class="opp_footer-logo"> | ||
<p>Powered by </p> <img src="https://s3-eu-west-1.amazonaws.com/copyrighthub-matrix-images/opp-logo.png"></img> | ||
</div> | ||
</div> | ||
</div> | ||
<style> | ||
.error_card { | ||
.opp_error-card { | ||
font-family: 'Signika', sans-serif; | ||
position:relative; | ||
width:80%; | ||
|
@@ -58,31 +58,31 @@ | |
box-shadow: 2px 2px 9px rgba(0,0,0,0.3); | ||
} | ||
|
||
.error_card h1 { | ||
.opp_error-card h1 { | ||
background: #DADFE1; | ||
border-bottom: solid 1px; | ||
border-color: #6C7A89; | ||
padding-left:10px; | ||
} | ||
|
||
.error_card a { | ||
.opp_error-card a { | ||
color: #737373; | ||
} | ||
|
||
.error_card .body { | ||
.opp_error-card .opp_body { | ||
margin: 0 20px; | ||
} | ||
|
||
.error_card .footer { | ||
.opp_error-card .opp_footer { | ||
font-size: 12px; | ||
margin: 0 20px; | ||
} | ||
|
||
.collapse { | ||
.opp_collapse { | ||
display: none; | ||
} | ||
|
||
.collapse + label { | ||
.opp_collapse + label { | ||
background: #DADFE1; | ||
border: 1px solid #6C7A89; | ||
padding: 2px; | ||
|
@@ -95,15 +95,15 @@ | |
box-shadow: 2px 2px 9px rgba(0,0,0,0.3); | ||
} | ||
|
||
.collapse + label + .collapse-body { | ||
.opp_collapse + label + .opp_collapse-body { | ||
display: none; | ||
} | ||
|
||
.collapse:checked + label + .collapse-body { | ||
.opp_collapse:checked + label + .opp_collapse-body { | ||
display: block; | ||
} | ||
|
||
.collapse + label:before { | ||
.opp_collapse + label:before { | ||
-webkit-border-radius: 10px; | ||
-moz-border-radius: 10px; | ||
border-radius: 10px; | ||
|
@@ -118,11 +118,11 @@ | |
margin-right: 5px; | ||
} | ||
|
||
.collapse:checked + label:before { | ||
.opp_collapse:checked + label:before { | ||
content:"\25BC"; | ||
} | ||
|
||
.collapse-body{ | ||
.opp_collapse-body{ | ||
height: 200px; | ||
overflow: auto; | ||
background: #eee; | ||
|