photo_mem/styles/style_photomem.css

165 lines
3.9 KiB
CSS

body {
background: #ccc;
font-family: Arial, SansSerif, "DejaVu Sans";
}
main {
width: 80%;
margin: 0 auto;
}
circle {
fill: transparent;
stroke: black;
stroke-width: 2;
}
#bouton_image {
background-color: #2266cb;
color: white;
}
#menu_modif {
display: block;
color: black;
background-color: gainsboro;
cursor: pointer;
border: 2px solid;
border-radius: 6px;
text-align: center;
position: absolute;
width: 80px;
z-index: 10;
}
#ajout {
border: 2px solid #2266cb;
border-radius: 10px;
top: 100px;
left: 200px;
padding: 1em 2em ;
background-color: Azure;
width: 30em;
z-index: 3;
}
#ajout label {
width: 10em;
display: inline-block;
padding-right: 1em;
}
#ajout input[type=text] {
border: solid 1px cadetblue;
padding: 0.5em;
margin-bottom: 0.25em;
}
#ajout input:focus {
border: solid 2px green;
}
.visible {
visibility: visible;
}
.invisible {
visibility: hidden;
}
.etiq {
background-color: oldlace;
border: 1px solid #2266cb;
border-radius: 10px;
position: absolute;
font-family: Arial;
font-size: 13px;
left: -200px;
top: 100px;
padding: 1em;
}
.titre {
background-color: LightYellow;
border: 2px solid Yellow;
border-radius: 5px;
position: absolute;
left: -200px;
top: 100px;
}
#fichiers {
display: none;
}
#ima_fond {
position: relative;
}
#circle_svg {
z-index: 2;
box-shadow: 0 0 2em #222;
width: 5em;
height: 5em;
display: block;
position: absolute;
background: rgba(255, 255, 255, 0.6);
border-radius: 100%;
-webkit-border-radius: 50%;
-moz-border-radius: 50%;
border-radius: 50%;
-webkit-box-shadow: 0 20px 30px rgba(0, 0, 0, 0.2), inset 0px 10px 30px 5px rgba(255, 255, 255, 1);
-moz-box-shadow: 0 20px 30px rgba(0, 0, 0, 0.2), inset 0px 10px 30px 5px rgba(255, 255, 255, 1);
box-shadow: 0 20px 30px rgba(0, 0, 0, 0.2), inset 0px 10px 30px 5px rgba(255, 255, 255, 1);
}
#circle_svg:after {
background: -moz-radial-gradient(center, ellipse cover, rgba(255,255,255,0.5) 0%, rgba(255,255,255,0) 70%); /* FF3.6+ */
background: -webkit-gradient(radial, center center, 0px, center center, 100%, color-stop(0%,rgba(255,255,255,0.5)), color-stop(70%,rgba(255,255,255,0))); /* Chrome,Safari4+ */
background: -webkit-radial-gradient(center, ellipse cover, rgba(255,255,255,0.5) 0%,rgba(255,255,255,0) 70%); /* Chrome10+,Safari5.1+ */
background: -o-radial-gradient(center, ellipse cover, rgba(255,255,255,0.5) 0%,rgba(255,255,255,0) 70%); /* Opera 12+ */
background: -ms-radial-gradient(center, ellipse cover, rgba(255,255,255,0.5) 0%,rgba(255,255,255,0) 70%); /* IE10+ */
background: radial-gradient(ellipse at center, rgba(255,255,255,0.5) 0%,rgba(255,255,255,0) 70%); /* W3C */
filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#80ffffff', endColorstr='#00ffffff',GradientType=1 ); /* IE6-9 fallback on horizontal gradient */
-webkit-border-radius: 50%;
-moz-border-radius: 50%;
border-radius: 50%;
-webkit-box-shadow: inset 0 20px 30px rgba(255, 255, 255, 0.3);
-moz-box-shadow: inset 0 20px 30px rgba(255, 255, 255, 0.3);
box-shadow: inset 0 20px 30px rgba(255, 255, 255, 0.3);
content: "";
width: 4em;
height: 4em;
left: 10px;
position: absolute;
}
@keyframes pulse {
0% {
-webkit-transform:scaleX(1);
transform:scaleX(1);
opacity:0;
}
50% {
opacity:50;
-webkit-transform:scale3d(1.05,1.05,1.05);
transform:scale3d(1.05,1.05,1.05)
}
to {
opacity:100%;
-webkit-transform:scaleX(1);
transform:scaleX(1)
}
}
.animate__pulse {
-webkit-animation-name:pulse;
animation-name:pulse;
-webkit-animation-timing-function:ease-in-out;
animation-timing-function:ease-in-out
}