egroupware_official/pixelegg/less/layout_messages.less

392 lines
8.4 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% - 65px)";
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)";
.egwpopup_time_label {
width: 100%;
color: #fafafa;
text-align: center;
font-style: italic;
opacity: 0.5;
font-size: 10pt;
background: #255ea5;
font-weight: bold;
}
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: auto;
overflow: hidden;
padding: 10px;
background-color: #fafafa;
margin-bottom: 5px;
&:hover {
background-color: rgba(103, 159, 210, 0.2);
}
.egwpopup_message_inner_container {
height: 63px;
overflow: hidden;
}
.egwpopup_message_top_toolbar {
display: inline-block;
width: 100%;
.egwpopup_message_date {
float: left;
color: #767676;
}
.egwpopup_message_open {
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;
}
.egwpopup_collapse {display: none;}
}
.egwpopup_actions_container {
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;
}
.egwpopup_message_more_info {
color:#767676;
padding-top: 5px;
padding-bottom: 5px;
}
span.egwpopup_nav_prev, span.egwpopup_nav_next {
display: none;
}
}
.egwpopup_message.egwpopup_expanded {
position: fixed;
top: 4vh;
height: 90vh;
left: 20vw;
width: 60vw;
box-shadow: 0 0 40px #666;
overflow: auto;
&:hover {
background-color: #fafafa;
}
.egwpopup_message_inner_container {
height: ~"calc(100% - 62px)";
overflow: auto;
}
.egwpopup_collapse {
float: right;
width: 24px;
height: 24px;
background-image: url(../images/close.png);
background-repeat: no-repeat;
background-position: center;
background-size: 12px;
cursor: pointer;display: inline-block
}
.egwpopup_message_more_info {display: none;}
span.egwpopup_nav_prev {
display: inline-block;
float: right;
width: 24px;
height: 24px;
background-image: url(../images/back.png);
background-repeat: no-repeat;
background-position: center;
background-size: 16px;
cursor: pointer;
}
.egwpopup_nav_disable {opacity:0.5; pointer-events: none;}
span.egwpopup_nav_next {
display: inline-block;
float: right;
width: 24px;
height: 24px;
background-image: url(../images/forward.png);
background-repeat: no-repeat;
background-position: center;
background-size: 16px;
cursor: pointer;
}
}
.egwpopup_message_seen {
.egwpopup_mark {cursor: auto;background:none;border-color: #666c6e;}
}
.egwpopup_message_clone {
border:2px dashed silver;
opacity: 0.3;
height: 125px;
}
}
div#egwpopup_header {
font-size: 16px;
color: silver;
text-align: center;
padding: 15px;
.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: 280px;
height: 30px;
left: -293px;
top: -8px;
border: 1px solid silver;
background: #ffffff;
text-align: center;
font-size: 10pt;
line-height: 22pt;
color: #b9436c;
white-space: nowrap;
z-index:999;
&: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%;}
/*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%;
}
}
.button_right_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;
}
}