more generic names of some css classes
This commit is contained in:
+23
-29
@@ -32,8 +32,11 @@ a:focus {
|
|||||||
text-decoration: underline;
|
text-decoration: underline;
|
||||||
}
|
}
|
||||||
|
|
||||||
a.red:hover,
|
a.danger {
|
||||||
a.red:focus {
|
color: #D32F2F;
|
||||||
|
}
|
||||||
|
a.danger:hover,
|
||||||
|
a.danger:focus {
|
||||||
color: #F44336;
|
color: #F44336;
|
||||||
}
|
}
|
||||||
|
|
||||||
@@ -324,11 +327,9 @@ li:hover .menuTrigger a {
|
|||||||
}
|
}
|
||||||
|
|
||||||
li.left:hover .menuTrigger {
|
li.left:hover .menuTrigger {
|
||||||
-text-shadow: #c5e1a5 0 0 15px, #c5e1a5 0 0 5px;
|
|
||||||
background-image: radial-gradient(#c5e1a5 40%, transparent 75%);
|
background-image: radial-gradient(#c5e1a5 40%, transparent 75%);
|
||||||
}
|
}
|
||||||
li.right:hover .menuTrigger {
|
li.right:hover .menuTrigger {
|
||||||
-text-shadow: #fafafa 0 0 15px, #fafafa 0 0 5px;
|
|
||||||
background-image: radial-gradient(#fafafa 40%, transparent 75%);
|
background-image: radial-gradient(#fafafa 40%, transparent 75%);
|
||||||
}
|
}
|
||||||
|
|
||||||
@@ -336,13 +337,12 @@ li.right:hover .menuTrigger {
|
|||||||
|
|
||||||
/* Begin Alert: modal window with message and buttons. */
|
/* Begin Alert: modal window with message and buttons. */
|
||||||
div.alert-container {
|
div.alert-container {
|
||||||
|
position: absolute;
|
||||||
display: flex;
|
display: flex;
|
||||||
justify-content: center;
|
justify-content: center;
|
||||||
align-items: center;
|
align-items: center;
|
||||||
width: 100%;
|
width: 100%;
|
||||||
height: 100%;
|
height: 100%;
|
||||||
position: absolute;
|
|
||||||
-x-backdrop-filter: blur(4px);
|
|
||||||
background: rgba(0,0,0,0.33);
|
background: rgba(0,0,0,0.33);
|
||||||
z-index: 3;
|
z-index: 3;
|
||||||
}
|
}
|
||||||
@@ -484,8 +484,8 @@ div.alert .content {
|
|||||||
|
|
||||||
#topic-view {
|
#topic-view {
|
||||||
position: relative;
|
position: relative;
|
||||||
overflow-x: hidden;
|
|
||||||
display: flex;
|
display: flex;
|
||||||
|
overflow-x: hidden;
|
||||||
flex-direction: column;
|
flex-direction: column;
|
||||||
width: 100%;
|
width: 100%;
|
||||||
height: 100%;
|
height: 100%;
|
||||||
@@ -830,8 +830,8 @@ i.search {
|
|||||||
}
|
}
|
||||||
|
|
||||||
.contact-box > li {
|
.contact-box > li {
|
||||||
display: flex;
|
|
||||||
position: relative;
|
position: relative;
|
||||||
|
display: flex;
|
||||||
padding: 0.35rem 0.25rem 0.5rem 0.35rem;
|
padding: 0.35rem 0.25rem 0.5rem 0.35rem;
|
||||||
min-height: 3.75rem;
|
min-height: 3.75rem;
|
||||||
flex-grow: 0;
|
flex-grow: 0;
|
||||||
@@ -882,8 +882,8 @@ i.search {
|
|||||||
|
|
||||||
/* Avatar and online-offline indicator */
|
/* Avatar and online-offline indicator */
|
||||||
.contact-box .avatar-box {
|
.contact-box .avatar-box {
|
||||||
margin-right: 0.35rem;
|
|
||||||
position: relative;
|
position: relative;
|
||||||
|
margin-right: 0.35rem;
|
||||||
width: 3rem;
|
width: 3rem;
|
||||||
min-width: 3rem;
|
min-width: 3rem;
|
||||||
height: 3rem;
|
height: 3rem;
|
||||||
@@ -927,14 +927,13 @@ i.search {
|
|||||||
|
|
||||||
/* Online-offline indicator positioned inside avatar-box */
|
/* Online-offline indicator positioned inside avatar-box */
|
||||||
.avatar-box .online, .offline {
|
.avatar-box .online, .offline {
|
||||||
display: inline-block;
|
position: absolute;
|
||||||
width: 0.75rem;
|
width: 0.75rem;
|
||||||
min-width: 0.75rem;
|
min-width: 0.75rem;
|
||||||
height: 0.75rem;
|
height: 0.75rem;
|
||||||
min-height: 0.75rem;
|
min-height: 0.75rem;
|
||||||
flex-shrink: 0;
|
flex-shrink: 0;
|
||||||
border-radius: 50%;
|
border-radius: 50%;
|
||||||
position: absolute;
|
|
||||||
right: 0;
|
right: 0;
|
||||||
bottom: 0.1rem;
|
bottom: 0.1rem;
|
||||||
}
|
}
|
||||||
@@ -959,7 +958,6 @@ i.search {
|
|||||||
}
|
}
|
||||||
|
|
||||||
.contact-box .checkmark.material-icons {
|
.contact-box .checkmark.material-icons {
|
||||||
display: inline-block;
|
|
||||||
width: 1.5rem;
|
width: 1.5rem;
|
||||||
height: 1.5rem;
|
height: 1.5rem;
|
||||||
font-size: 1.5rem;
|
font-size: 1.5rem;
|
||||||
@@ -1019,8 +1017,8 @@ i.search {
|
|||||||
|
|
||||||
/* Styling of avatar upload control */
|
/* Styling of avatar upload control */
|
||||||
.avatar-upload {
|
.avatar-upload {
|
||||||
display: flex;
|
|
||||||
position: relative;
|
position: relative;
|
||||||
|
display: flex;
|
||||||
flex-direction: column;
|
flex-direction: column;
|
||||||
flex-shrink: 0;
|
flex-shrink: 0;
|
||||||
width: 7rem;
|
width: 7rem;
|
||||||
@@ -1414,8 +1412,8 @@ i.search {
|
|||||||
}
|
}
|
||||||
|
|
||||||
.chat-box .bubble {
|
.chat-box .bubble {
|
||||||
display: flex;
|
|
||||||
position: relative;
|
position: relative;
|
||||||
|
display: flex;
|
||||||
max-width: 40rem;
|
max-width: 40rem;
|
||||||
min-width: 9rem;
|
min-width: 9rem;
|
||||||
height: auto;
|
height: auto;
|
||||||
@@ -1523,7 +1521,6 @@ i.search {
|
|||||||
}
|
}
|
||||||
|
|
||||||
.chat-box .timestamp {
|
.chat-box .timestamp {
|
||||||
display: inline-block;
|
|
||||||
position: relative;
|
position: relative;
|
||||||
font-size: 80%;
|
font-size: 80%;
|
||||||
color: #777;
|
color: #777;
|
||||||
@@ -1558,7 +1555,6 @@ i.search {
|
|||||||
position: relative;
|
position: relative;
|
||||||
overflow: hidden;
|
overflow: hidden;
|
||||||
border-radius: 0.1rem;
|
border-radius: 0.1rem;
|
||||||
display: block;
|
|
||||||
}
|
}
|
||||||
|
|
||||||
.inline-image {
|
.inline-image {
|
||||||
@@ -1578,11 +1574,11 @@ i.search {
|
|||||||
|
|
||||||
/* Broken image graphics which replaces the stock graphics. */
|
/* Broken image graphics which replaces the stock graphics. */
|
||||||
img.inline-image::before, img.image-preview::before {
|
img.inline-image::before, img.image-preview::before {
|
||||||
|
position: absolute;
|
||||||
|
display: flex;
|
||||||
font-size: 0.9rem;
|
font-size: 0.9rem;
|
||||||
font-weight: lighter;
|
font-weight: lighter;
|
||||||
color: #666;
|
color: #666;
|
||||||
display:flex;
|
|
||||||
position: absolute;
|
|
||||||
top: 0;
|
top: 0;
|
||||||
left: 0;
|
left: 0;
|
||||||
width: 100%;
|
width: 100%;
|
||||||
@@ -1673,7 +1669,6 @@ ul.tabbar > li > a {
|
|||||||
padding-top: 0.75rem;
|
padding-top: 0.75rem;
|
||||||
padding-left: 1rem;
|
padding-left: 1rem;
|
||||||
padding-right: 1rem;
|
padding-right: 1rem;
|
||||||
display: block;
|
|
||||||
text-align: center;
|
text-align: center;
|
||||||
line-height: 2rem;
|
line-height: 2rem;
|
||||||
font-weight: 400;
|
font-weight: 400;
|
||||||
@@ -1690,11 +1685,10 @@ ul.tabbar li.active > a {
|
|||||||
}
|
}
|
||||||
|
|
||||||
ul.tabbar li.active > a:after {
|
ul.tabbar li.active > a:after {
|
||||||
height:0.15rem;
|
height: 0.15rem;
|
||||||
display:block;
|
content: "";
|
||||||
content:"";
|
bottom: 0;
|
||||||
bottom:0;
|
left: 0;
|
||||||
left:0;
|
|
||||||
position: absolute;
|
position: absolute;
|
||||||
background: #2196f3;
|
background: #2196f3;
|
||||||
animation: tabbar-border-expand 0.2s cubic-bezier(0.4, 0.0, 0.4, 1) 0s alternate forwards;
|
animation: tabbar-border-expand 0.2s cubic-bezier(0.4, 0.0, 0.4, 1) 0s alternate forwards;
|
||||||
@@ -1702,12 +1696,12 @@ ul.tabbar li.active > a:after {
|
|||||||
|
|
||||||
@keyframes tabbar-border-expand {
|
@keyframes tabbar-border-expand {
|
||||||
0% {
|
0% {
|
||||||
opacity:0;
|
opacity: 0;
|
||||||
width:0;
|
width: 0;
|
||||||
}
|
}
|
||||||
100% {
|
100% {
|
||||||
opacity:1;
|
opacity: 1;
|
||||||
width:100%;
|
width: 100%;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
/* END Tabs */
|
/* END Tabs */
|
||||||
@@ -1789,10 +1783,10 @@ ul.tabbar li.active > a:after {
|
|||||||
|
|
||||||
/* Div with letter tile content */
|
/* Div with letter tile content */
|
||||||
.lettertile > div {
|
.lettertile > div {
|
||||||
|
position: absolute;
|
||||||
display: flex;
|
display: flex;
|
||||||
flex-shrink: 0;
|
flex-shrink: 0;
|
||||||
flex-grow: 0;
|
flex-grow: 0;
|
||||||
position: absolute;
|
|
||||||
top: 0; bottom: 0; left: 0; right: 0;
|
top: 0; bottom: 0; left: 0; right: 0;
|
||||||
text-transform: uppercase;
|
text-transform: uppercase;
|
||||||
align-items: center;
|
align-items: center;
|
||||||
|
|||||||
Vendored
+1
-1
File diff suppressed because one or more lines are too long
@@ -110,11 +110,11 @@ class AccSecurityView extends React.Component {
|
|||||||
</div>
|
</div>
|
||||||
<div className="hr" />
|
<div className="hr" />
|
||||||
<div className="panel-form-column">
|
<div className="panel-form-column">
|
||||||
<a href="#" className="red flat-button" onClick={(e) => {e.preventDefault(); this.props.onLogout();}}>
|
<a href="#" className="danger flat-button" onClick={(e) => {e.preventDefault(); this.props.onLogout();}}>
|
||||||
<i className="material-icons">exit_to_app</i> <FormattedMessage id="button_logout"
|
<i className="material-icons">exit_to_app</i> <FormattedMessage id="button_logout"
|
||||||
defaultMessage="Logout" description="Button [Logout]" />
|
defaultMessage="Logout" description="Button [Logout]" />
|
||||||
</a>
|
</a>
|
||||||
<a href="#" className="red flat-button" onClick={(e) => {this.handleDeleteAccount(e);}}>
|
<a href="#" className="danger flat-button" onClick={(e) => {this.handleDeleteAccount(e);}}>
|
||||||
<i className="material-icons">delete</i> <FormattedMessage id="button_delete_account"
|
<i className="material-icons">delete</i> <FormattedMessage id="button_delete_account"
|
||||||
defaultMessage="Delete account" description="Button [Delete account]" />
|
defaultMessage="Delete account" description="Button [Delete account]" />
|
||||||
</a>
|
</a>
|
||||||
|
|||||||
@@ -717,18 +717,18 @@ class InfoView extends React.Component {
|
|||||||
:
|
:
|
||||||
null
|
null
|
||||||
}
|
}
|
||||||
<a href="#" className="red flat-button" onClick={this.handleLeave}>
|
<a href="#" className="danger flat-button" onClick={this.handleLeave}>
|
||||||
<i className="material-icons">exit_to_app</i> {formatMessage(messages.leave_chat)}
|
<i className="material-icons">exit_to_app</i> {formatMessage(messages.leave_chat)}
|
||||||
</a>
|
</a>
|
||||||
{!this.state.groupTopic ?
|
{!this.state.groupTopic ?
|
||||||
<a href="#" className="red flat-button" onClick={this.handleBlock}>
|
<a href="#" className="danger flat-button" onClick={this.handleBlock}>
|
||||||
<i className="material-icons">block</i> {formatMessage(messages.block_contact)}
|
<i className="material-icons">block</i> {formatMessage(messages.block_contact)}
|
||||||
</a>
|
</a>
|
||||||
:
|
:
|
||||||
null
|
null
|
||||||
}
|
}
|
||||||
{!this.state.owner ?
|
{!this.state.owner ?
|
||||||
<a href="#" className="red flat-button" onClick={this.handleReport}>
|
<a href="#" className="danger flat-button" onClick={this.handleReport}>
|
||||||
<i className="material-icons">report</i> {formatMessage(messages.report_chat)}
|
<i className="material-icons">report</i> {formatMessage(messages.report_chat)}
|
||||||
</a>
|
</a>
|
||||||
:
|
:
|
||||||
|
|||||||
+5
-5
@@ -1214,7 +1214,7 @@ class AccSecurityView extends (react__WEBPACK_IMPORTED_MODULE_0___default().Comp
|
|||||||
className: "panel-form-column"
|
className: "panel-form-column"
|
||||||
}, react__WEBPACK_IMPORTED_MODULE_0___default().createElement("a", {
|
}, react__WEBPACK_IMPORTED_MODULE_0___default().createElement("a", {
|
||||||
href: "#",
|
href: "#",
|
||||||
className: "red flat-button",
|
className: "danger flat-button",
|
||||||
onClick: e => {
|
onClick: e => {
|
||||||
e.preventDefault();
|
e.preventDefault();
|
||||||
this.props.onLogout();
|
this.props.onLogout();
|
||||||
@@ -1229,7 +1229,7 @@ class AccSecurityView extends (react__WEBPACK_IMPORTED_MODULE_0___default().Comp
|
|||||||
}]
|
}]
|
||||||
})), react__WEBPACK_IMPORTED_MODULE_0___default().createElement("a", {
|
})), react__WEBPACK_IMPORTED_MODULE_0___default().createElement("a", {
|
||||||
href: "#",
|
href: "#",
|
||||||
className: "red flat-button",
|
className: "danger flat-button",
|
||||||
onClick: e => {
|
onClick: e => {
|
||||||
this.handleDeleteAccount(e);
|
this.handleDeleteAccount(e);
|
||||||
}
|
}
|
||||||
@@ -2701,19 +2701,19 @@ class InfoView extends (react__WEBPACK_IMPORTED_MODULE_0___default().Component)
|
|||||||
className: "material-icons"
|
className: "material-icons"
|
||||||
}, "delete_outline"), " \xA0", formatMessage(this.state.deleter ? messages.delete_messages : messages.clear_messages)) : null, react__WEBPACK_IMPORTED_MODULE_0___default().createElement("a", {
|
}, "delete_outline"), " \xA0", formatMessage(this.state.deleter ? messages.delete_messages : messages.clear_messages)) : null, react__WEBPACK_IMPORTED_MODULE_0___default().createElement("a", {
|
||||||
href: "#",
|
href: "#",
|
||||||
className: "red flat-button",
|
className: "danger flat-button",
|
||||||
onClick: this.handleLeave
|
onClick: this.handleLeave
|
||||||
}, react__WEBPACK_IMPORTED_MODULE_0___default().createElement("i", {
|
}, react__WEBPACK_IMPORTED_MODULE_0___default().createElement("i", {
|
||||||
className: "material-icons"
|
className: "material-icons"
|
||||||
}, "exit_to_app"), " \xA0", formatMessage(messages.leave_chat)), !this.state.groupTopic ? react__WEBPACK_IMPORTED_MODULE_0___default().createElement("a", {
|
}, "exit_to_app"), " \xA0", formatMessage(messages.leave_chat)), !this.state.groupTopic ? react__WEBPACK_IMPORTED_MODULE_0___default().createElement("a", {
|
||||||
href: "#",
|
href: "#",
|
||||||
className: "red flat-button",
|
className: "danger flat-button",
|
||||||
onClick: this.handleBlock
|
onClick: this.handleBlock
|
||||||
}, react__WEBPACK_IMPORTED_MODULE_0___default().createElement("i", {
|
}, react__WEBPACK_IMPORTED_MODULE_0___default().createElement("i", {
|
||||||
className: "material-icons"
|
className: "material-icons"
|
||||||
}, "block"), " \xA0", formatMessage(messages.block_contact)) : null, !this.state.owner ? react__WEBPACK_IMPORTED_MODULE_0___default().createElement("a", {
|
}, "block"), " \xA0", formatMessage(messages.block_contact)) : null, !this.state.owner ? react__WEBPACK_IMPORTED_MODULE_0___default().createElement("a", {
|
||||||
href: "#",
|
href: "#",
|
||||||
className: "red flat-button",
|
className: "danger flat-button",
|
||||||
onClick: this.handleReport
|
onClick: this.handleReport
|
||||||
}, react__WEBPACK_IMPORTED_MODULE_0___default().createElement("i", {
|
}, react__WEBPACK_IMPORTED_MODULE_0___default().createElement("i", {
|
||||||
className: "material-icons"
|
className: "material-icons"
|
||||||
|
|||||||
File diff suppressed because one or more lines are too long
+1
-1
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
Reference in New Issue
Block a user