orbit4-5/app/assets/stylesheets/pp-add-edit.css

92 lines
1.7 KiB
CSS
Raw Normal View History

2014-04-01 07:10:21 +00:00
/*
<div data-pp="3">
<div data-ps="1"></div>
<p class="add-ps"></p>
</div>
*/
*[data-pp] {
margin: 0 auto;
position: relative;
}
*[data-pp] > .editmode-ps {
2014-04-01 07:10:21 +00:00
position: relative;
min-height: 150px;
outline: 2px dotted #EBB666;
cursor: pointer;
2014-04-01 07:10:21 +00:00
}
*[data-pp] > .editmode-ps:before {
content: attr(title);
display: block;
position: absolute;
top: 50%;
width: 100%;
color: #47bab5;
margin-top: 10px;
text-align: center;
font-size: 1.3em;
z-index: 778;
}
*[data-pp] > .editmode-ps > a {
display: block;
2014-04-01 07:10:21 +00:00
position: absolute;
top: 0;
right: 0;
bottom: 0;
left: 0;
background-color: rgba(255, 255, 255, .5);
z-index: 777;
2014-04-01 07:10:21 +00:00
}
*[data-pp] > .editmode-ps > a:before {
content: "\f044";
2014-04-01 07:10:21 +00:00
position: absolute;
top: 50%;
left: 50%;
font-size: 3.4em;
width: 40px;
height: 40px;
margin: -30px 0 0 -20px;
display: inline-block;
font-family: FontAwesome;
font-style: normal;
font-weight: normal;
line-height: 1;
-webkit-font-smoothing: antialiased;
-moz-osx-font-smoothing: grayscale;
2014-04-01 07:10:21 +00:00
}
*[data-pp] > .editmode-ps:hover:before {
color: #FFF;
2014-04-01 07:10:21 +00:00
}
*[data-pp] > .editmode-ps:hover > a {
color: #FFF;
background-color: rgba(17, 117, 184, .8);
2014-04-01 07:10:21 +00:00
}
*[data-pp] > a {
2014-04-01 07:10:21 +00:00
position: relative;
display: block;
height: 40px;
margin: 10px 0;
border-radius: 5px;
color: #8DE2FD;
background-color: #14A1AD;
2014-04-01 07:10:21 +00:00
}
*[data-pp] > a:before {
content: "\f055";
2014-04-01 07:10:21 +00:00
position: absolute;
top: 50%;
left: 50%;
font-size: 1.5em;
width: 20px;
height: 20px;
margin: -10px 0 0 -10px;
display: inline-block;
font-family: FontAwesome;
font-style: normal;
font-weight: normal;
line-height: 1;
-webkit-font-smoothing: antialiased;
-moz-osx-font-smoothing: grayscale;
2014-04-01 07:10:21 +00:00
}
*[data-pp] > a:hover {
color: #FFF;
2014-04-01 07:10:21 +00:00
}