moved part.share.php <style>...</style> stanzas to style.css.
parent
976a84f7df
commit
89a056f283
|
@ -332,4 +332,75 @@ button.category{margin:0 3px;}
|
|||
#event.event.link-shared .location,
|
||||
#event.event.link-shared .description {
|
||||
font-weight: bold;
|
||||
}
|
||||
|
||||
.share-link-container h3 {
|
||||
font-weight:bold;
|
||||
}
|
||||
.share-link-container input[type="checkbox"] {
|
||||
vertical-align:middle;
|
||||
}
|
||||
.share-link-container input[type="text"],
|
||||
.share-link-container input[type="e-mail"],
|
||||
.share-link-container input[type="password"],
|
||||
.share-link-container input[type="submit"],
|
||||
.share-link-container input[type="date"] {
|
||||
color:#333;
|
||||
font-family: "Lucida Grande", Arial, Verdana, sans-serif;
|
||||
font-size: 1em;
|
||||
box-sizing: content-box;
|
||||
background: #fff;
|
||||
cursor: text;
|
||||
margin: .3em 0px;
|
||||
padding: .6em .5em .4em;
|
||||
border: 1px solid #ddd;
|
||||
outline: none;
|
||||
border-radius: 3px;
|
||||
width:100%;
|
||||
min-width:10em;
|
||||
box-sizing:border-box;
|
||||
}
|
||||
.share-link-container input[type="submit"] {
|
||||
cursor:pointer;
|
||||
}
|
||||
.share-link-container input:invalid {
|
||||
background:#fee;
|
||||
}
|
||||
/* by default, in a .displayable-container do not display direct-descending .displayable */
|
||||
.displayable-container > .displayable {
|
||||
max-height:0px;
|
||||
-moz-transition:max-height ease-out 0.5s, opacity ease-out 0.5s;
|
||||
-webkit-transition:max-height ease-out 0.5s, opacity ease-out 0.5s;
|
||||
transition:max-height ease-out 0.5s, opacity ease-out 0.5s;
|
||||
overflow:hidden;
|
||||
opacity:0.1;
|
||||
}
|
||||
/* a marker to end a given displayable */
|
||||
.displayable-container > .displayable:last-child::after {
|
||||
width:75%;
|
||||
height:0px;
|
||||
display:block;
|
||||
content:" ";
|
||||
margin:0.2em auto 0.5em auto;
|
||||
border-top:solid 1px #ddd;
|
||||
}
|
||||
/* display the rest once the checkbox is :checked */
|
||||
.displayable-container > .displayable-control:checked ~ .displayable {
|
||||
max-height:500px;
|
||||
opacity:1;
|
||||
-moz-transition:max-height ease-in 1s, opacity ease-in 0.5s;
|
||||
-webkit-transition:max-height ease-in 1s, opacity ease-in 0.5s;
|
||||
transition:max-height ease-in 1s, opacity ease-in 0.5s;
|
||||
}
|
||||
/* e-mail form */
|
||||
.e-mail-form-container {
|
||||
display:flex;
|
||||
flex-direction:row;
|
||||
}
|
||||
.e-mail-form-container > input {
|
||||
flex:auto 1;
|
||||
}
|
||||
.e-mail-form-container > input[type="submit"] {
|
||||
min-width:5em;
|
||||
width:auto;
|
||||
}
|
|
@ -77,79 +77,6 @@ if(is_array($sharedwithByEvent)) {
|
|||
<input type="button" id="sendemailbutton" style="float:right;" class="submit" value="<?php p($l->t("Send Email")); ?>" data-eventid="<?php p($eventid);?>" data-location="<?php p($location);?>" data-description="<?php p($description);?>" data-dtstart="<?php p($dtstart);?>" data-dtend="<?php p($dtend);?>">
|
||||
<br />
|
||||
<!-- link-sharing an event -->
|
||||
<!-- background-image: url(<?php print_unescaped((!$_['shared']) ? OCP\Util::imagePath('core', 'actions/share.svg') : OCP\Util::imagePath('core', 'actions/shared.svg')) ?>); -->
|
||||
<style>
|
||||
.share-link-container h3 {
|
||||
font-weight:bold;
|
||||
}
|
||||
.share-link-container input[type="checkbox"] {
|
||||
vertical-align:middle;
|
||||
}
|
||||
.share-link-container input[type="text"],
|
||||
.share-link-container input[type="e-mail"],
|
||||
.share-link-container input[type="password"],
|
||||
.share-link-container input[type="submit"],
|
||||
.share-link-container input[type="date"] {
|
||||
color:#333;
|
||||
font-family: "Lucida Grande", Arial, Verdana, sans-serif;
|
||||
font-size: 1em;
|
||||
box-sizing: content-box;
|
||||
background: #fff;
|
||||
cursor: text;
|
||||
margin: .3em 0px;
|
||||
padding: .6em .5em .4em;
|
||||
border: 1px solid #ddd;
|
||||
outline: none;
|
||||
border-radius: 3px;
|
||||
width:100%;
|
||||
min-width:10em;
|
||||
box-sizing:border-box;
|
||||
}
|
||||
.share-link-container input[type="submit"] {
|
||||
cursor:pointer;
|
||||
}
|
||||
.share-link-container input:invalid {
|
||||
background:#fee;
|
||||
}
|
||||
/* by default, in a .displayable-container do not display direct-descending .displayable */
|
||||
.displayable-container > .displayable {
|
||||
max-height:0px;
|
||||
-moz-transition:max-height ease-out 0.5s, opacity ease-out 0.5s;
|
||||
-webkit-transition:max-height ease-out 0.5s, opacity ease-out 0.5s;
|
||||
transition:max-height ease-out 0.5s, opacity ease-out 0.5s;
|
||||
overflow:hidden;
|
||||
opacity:0.1;
|
||||
}
|
||||
/* a marker to end a given displayable */
|
||||
.displayable-container > .displayable:last-child::after {
|
||||
width:75%;
|
||||
height:0px;
|
||||
display:block;
|
||||
content:" ";
|
||||
margin:0.2em auto 0.5em auto;
|
||||
border-top:solid 1px #ddd;
|
||||
}
|
||||
/* display the rest once the checkbox is :checked */
|
||||
.displayable-container > .displayable-control:checked ~ .displayable {
|
||||
max-height:500px;
|
||||
opacity:1;
|
||||
-moz-transition:max-height ease-in 1s, opacity ease-in 0.5s;
|
||||
-webkit-transition:max-height ease-in 1s, opacity ease-in 0.5s;
|
||||
transition:max-height ease-in 1s, opacity ease-in 0.5s;
|
||||
}
|
||||
/* e-mail form */
|
||||
.e-mail-form-container {
|
||||
display:flex;
|
||||
flex-direction:row;
|
||||
}
|
||||
.e-mail-form-container > input {
|
||||
flex:auto 1;
|
||||
}
|
||||
.e-mail-form-container > input[type="submit"] {
|
||||
min-width:5em;
|
||||
width:auto;
|
||||
}
|
||||
</style>
|
||||
<noscript><style>
|
||||
/* if JS is disabled, .share-link-form-submit will be available,
|
||||
hence .share-link-e-mail-send is un-needed*/
|
||||
|
|
Loading…
Reference in New Issue