egroupware/pixelegg/less/layout_messages.less
2017-09-14 12:50:28 +00:00

339 lines
7.2 KiB
Plaintext
Executable File

/**
* EGroupware: CSS with less preprocessor
*
* et2 Messages
*
* Please do NOT change css-files directly, instead change less-files and compile them!
*
* @link http://www.egroupware.org
* @license http://opensource.org/licenses/gpl-license.php GPL - GNU General Public License
* @author Stefan Reinhardt <stefan.reinhardt@pixelegg.de>
* @package pixelegg
* @version $Id$
*/
@import (reference) "definitions.less";
//##############################################################################################################
#egwpopup{
top: 43px !important;
right:0px !important;
left: auto !important;
height: ~"calc(100% - 115px)";
width: 300px !important;
position: absolute;
background: white;
box-shadow: -2px 1px 18px 1px silver;
padding: 1em;
/*Button*/
input#egwpopup_ok_button,
button#desktop_perms{
.Complete_Button_normal;
.dimension_height_m;
padding: 0 5px;
&:hover {.Complete_Button_hover;}
&:active {background-color: @color_positive_action_active !important;}
}
#egwpopup_list::-webkit-scrollbar-track
{
-webkit-box-shadow: inset 0 0 6px rgba(0,0,0,0.3);
background-color: #fafafa;
}
#egwpopup_list::-webkit-scrollbar
{
width: 4px;
background-color: #fafafa;
}
#egwpopup_list::-webkit-scrollbar-thumb
{
background-color: #6a6f71;
}
#egwpopup_list {
overflow-y: auto;
height: ~"calc(100% - 52px)";
span.egwpopup_delete {
display: inline-block;
float: right;
width: 24px;
height: 24px;
background-image: url(../images/delete.png);
background-repeat: no-repeat;
background-position: center;
background-size: 12px;
cursor: pointer;
}
.egwpopup_mark {
display: inline-block;
float: right;
width: 10px;
height: 10px;
border: 1px solid #b9436c;
border-radius: 50%;
margin: 7px;
background:#b9436c;
cursor: pointer;
}
.egwpopup_message {
height: 140px;
overflow: scroll;
padding: 10px;
background-color: #fafafa;
border-radius: 3px;
margin-bottom: 10px;
&:hover {
background-color: rgba(103, 159, 210, 0.2);
}
.egwpopup_actions_container {
border-bottom: 1px solid silver;
padding-bottom: 5px;
text-align: center;
}
.egwpopup_actions_container>button {
height: 24px;
width: 90px;
border: none;
background: #e6e6e6;
background-size: 16px;
background-position: 12px center;
background-repeat: no-repeat;
padding-left: 26px;
}
.notification_expanded {
position: fixed;
top: 5vh;
height: 90vh;
left: 20vw;
width: 60vw;
box-shadow: 0 0 40px #666;
&:hover {
background-color: #fafafa;
}
}
}
.egwpopup_message_seen {
.egwpopup_mark {cursor: auto;background:none;border-color: #666c6e;}
}
.egwpopup_expand {
display: inline-block;
float: right;
width: 24px;
height: 24px;
background-image: url(../images/search.png);
background-repeat: no-repeat;
background-position: center;
background-size: 12px;
cursor: pointer;
}
}
div#egwpopup_header {
font-size: 16px;
color: silver;
text-align: center;
padding: 15px;
.egwpopup_toggle {
height: 32px;
width: 32px;
cursor: pointer;
position:relative;
margin-top: 1px;
margin-left: -20px;
float:left;
&:after {
content: "";
position: absolute;
left: 13px;
top: 5px;
width: 10px;
height: 2px;
background-color: silver;
backface-visibility: hidden;
border-radius: 6px;
transform: rotate(145deg) translate(8px, -1px);
-ms-transform: rotate(145deg) translate(8px, -1px);
-moz-transform: rotate(145deg) translate(8px, -1px);
-webkit-transform: rotate(145deg) translate(8px, -1px);
}
&:before {
content: "";
position: absolute;
left: 0px;
top: 0px;
width: 10px;
height: 2px;
background-color: silver;
backface-visibility: hidden;
border-radius: 6px;
transform: rotate(45deg) translate(8px, -2px);
-ms-transform: rotate(45deg) translate(8px, -2px);
-moz-transform: rotate(45deg) translate(8px, -2px);
-webkit-transform: rotate(45deg) translate(8px, -2px);
}
&:hover:before, &:hover:after {
background-color: gray;
}
}
.egwpopup_seenall {
float: right;
width: 10px;
height: 10px;
border: 1px solid silver;
border-radius: 50%;
cursor: pointer;
margin: 4px 0px 0px 0px;
&:hover {
border-color: gray;
background: rgba(103, 159, 210, 0.2);
}
}
.egwpopup_deleteall {
background-image: url(../images/delete.png);
width: 12px;
height: 12px;
background-position: center;
background-size: 12px;
float: right;
background-repeat: no-repeat;
margin-right: 15px;
margin-top: 4px;
cursor: pointer;
display: inline-block;
opacity: 0.5;
&:hover {
opacity: 1;
}
}
}
}
#egwpopup_fw_notifications {
cursor: pointer;
display: inline-block;
float: right;
margin-right: 1em;
margin-top: 0px;
z-index: 200;
width: 26px;
height: 16px;
top: 9px;
position: fixed;
right: 109px;
border: 1px solid #656565;
border-radius: 3px;
text-align: center;
color: #646464;
font-weight: bold;
.popup_note {
position: absolute;
position: absolute;
width: 260px;
height: 30px;
left: -273px;
top: -8px;
border: 1px solid silver;
background: #ffffff;
text-align: center;
font-size: 10pt;
line-height: 22pt;
color: #b9436c;
&:before {
content: '';
position: absolute;
top: 50%;
left: 100%;
margin-top: -10px;
width: 0; height: 0;
border-left: 10px solid #C2C2C2;
border-top: 10px solid transparent;
border-bottom: 10px solid transparent;
}
&:after {
content: '';
position: absolute;
top: 50%;
left: 100%;
margin-top: -8px;
width: 0; height: 0;
border-left: 8px solid #FFFFFF;
border-top: 8px solid transparent;
border-bottom: 8px solid transparent;
}
}
}
#egwpopup_fw_notifications.egwpopup_notify {
color: white;
background: #b9436c;
border-color:#b9436c;
}
/*popup Messsage*/
div#egwpopup_message {
background-color: .color_gray_0;
padding: 1em;
overflow-y: auto;
}
#msg,.message {
color: red;
font-style: italic;
background: @gray_0;
}
// Container für Meldungen / Message Container
.egw_fw_ui_app_header_container {
border-width: 1px 0px 0px 0px;
border-style: solid;
border-color: @gray_30;
height: auto;
// Statusmeldung
// Meldung oberhalb iFrame
.egw_fw_ui_app_header {
padding: 1px 0 0 0;
font-weight: normal;
color: silver;
overflow: hidden;
height: 15px;
}
}
.colselection.ui-widget-content {
width: 33%;
// margin-left: 49%;
}
/*Calendar ##############*/
td.message {
background-color: @gray_10 !important;
height: 0px;
padding: 0px;
span.message {
height: 35px;
border-bottom: 2px solid @gray_10;
color: red;
background: @gray_10;
height: auto;
width: 100%;
}
}
//