trabajo-afectivo/app/assets/stylesheets/zammad.scss

13820 lines
213 KiB
SCSS
Raw Normal View History

$supergood-color: hsl(145, 51%, 45%);
$good-color: hsl(62, 45%, 46%);
$ok-color: hsl(41, 100%, 49%);
$bad-color: hsl(30, 93%, 50%);
$superbad-color: hsl(19, 90%, 51%);
$ghost-color: hsl(0, 0%, 80%);
$danger-color: hsl(0, 65%, 55%);
2015-09-29 12:07:25 +00:00
$task-state-closed-color: $supergood-color;
$task-state-pending-color: hsl(206, 7%, 28%);
2015-09-29 12:07:25 +00:00
$task-state-open-color: $ok-color;
$task-state-escalating-color: $superbad-color;
$high-priority-color: hsl(360, 71%, 60%);
$low-priority-color: hsl(200, 68%, 73%);
$minWidth: 1024px;
$sidebarWidth: 280px;
$navigationWidth: 260px;
$mobileNavigationWidth: 50px;
$mobileNavigationWidthOpen: 220px;
$highlight-color: hsl(205, 90%, 60%);
@mixin desktop {
@media screen and (min-width: 1260px) {
@content;
}
}
@mixin small-desktop {
@media screen and (max-width: 1260px) {
@content;
}
}
@mixin tablet {
@media screen and (min-width: 768px) {
@content;
}
}
@mixin phone {
@media screen and (max-width: 767px) {
@content;
}
}
2017-07-28 14:45:32 +00:00
/* sets LTR and RTL within the same style call */
@mixin bidi-style($prop, $value, $inverse-prop, $default-value) {
#{$prop}: $value;
html[dir='rtl'] & {
2017-07-28 14:45:32 +00:00
#{$inverse-prop}: $value;
#{$prop}: $default-value;
}
}
/* adds a property only in RTL */
@mixin rtl($prop, $value) {
html[dir='rtl'] & {
2017-07-28 14:45:32 +00:00
#{$prop}: $value;
}
}
/* adds a property only in LTR */
@mixin ltr($prop, $value) {
html[dir='ltr'] & {
2017-07-28 14:45:32 +00:00
#{$prop}: $value;
}
}
%clickable {
cursor: pointer;
user-select: none;
touch-action: manipulation;
}
2015-03-25 17:00:00 +00:00
html {
height: 100%;
}
body {
font-family: 'Fira Sans', 'Helvetica Neue', Helvetica, Arial, sans-serif;
2014-07-23 22:13:40 +00:00
line-height: 1.45;
2014-07-18 16:18:13 +00:00
font-weight: normal;
background: hsl(210, 14%, 97%);
2015-03-25 17:00:00 +00:00
height: 100%;
color: hsl(60, 1%, 34%);
2015-06-10 10:58:21 +00:00
word-wrap: break-word;
overflow-wrap: break-word;
display: flex;
2015-06-09 08:47:20 +00:00
flex-direction: column;
}
/* prevent clickable <use xlink:href="#icon-abc"></use> */
use {
pointer-events: none;
}
2014-09-30 11:15:40 +00:00
p {
margin: 12px 0;
&.subtle {
color: hsl(60, 1%, 74%);
}
&.description {
color: hsl(190, 2%, 74%);
}
}
h3 + .description {
margin-top: 0;
2014-09-30 11:15:40 +00:00
}
2015-10-06 19:51:28 +00:00
strong {
font-weight: 500;
}
.inherit-color {
color: inherit;
}
.text-muted {
color: hsl(60, 1%, 74%);
}
.text-small {
font-size: 12px;
}
2014-11-07 13:37:02 +00:00
.u-highlight {
color: #0f94d6;
2014-11-07 13:37:02 +00:00
}
2015-06-09 08:47:20 +00:00
.u-dontfold {
flex-shrink: 0;
}
.u-invisible {
opacity: 0;
pointer-events: none;
2015-11-05 11:04:29 +00:00
position: absolute !important;
}
[data-dir='ltr'] {
direction: ltr;
}
[data-dir='rtl'] {
direction: rtl;
}
2014-10-07 15:28:24 +00:00
a {
outline: none !important;
2014-11-07 13:37:02 +00:00
@extend .u-highlight;
2015-08-17 16:13:27 +00:00
&.is-disabled,
&[disabled] {
pointer-events: none;
2019-06-04 03:40:48 +00:00
cursor: not-allowed !important;
opacity: 0.33;
2015-08-17 16:13:27 +00:00
}
2014-10-07 15:28:24 +00:00
}
a.create {
color: hsl(145, 51%, 45%);
text-decoration: underline;
}
2014-08-25 16:32:39 +00:00
small {
color: hsl(198, 4%, 56%);
2014-08-25 16:32:39 +00:00
font-size: 12px;
}
blockquote {
font-size: inherit;
}
2015-01-05 00:12:52 +00:00
ol,
ul {
2017-07-28 14:45:32 +00:00
padding-inline-start: 20px;
}
#app {
display: flex;
flex: 1;
min-width: $minWidth;
2015-06-10 09:41:36 +00:00
overflow: auto;
-webkit-overflow-scrolling: touch;
@include phone {
min-width: auto;
position: absolute;
left: 0;
top: 0;
width: 100%;
height: 100%;
}
}
.u-unclickable {
pointer-events: none;
}
.u-clickable {
@extend %clickable;
}
2016-02-09 17:09:50 +00:00
.u-unselectable {
pointer-events: none;
user-select: none;
}
.u-no-userselect {
user-select: none;
}
.u-textTruncate {
white-space: nowrap;
overflow: hidden;
text-overflow: ellipsis;
}
.u-positionOrigin {
position: relative;
}
.u-inlineBlock {
display: inline-block;
}
.u-notAllowed {
cursor: not-allowed;
}
.u-overflow-wrap {
word-break: break-word;
@supports (overflow-wrap: anywhere) {
overflow-wrap: anywhere;
word-break: unset;
}
}
.zIndex-1 {
z-index: 100;
}
.zIndex-2 {
z-index: 200;
}
.zIndex-3 {
z-index: 300;
}
.zIndex-4 {
z-index: 400;
}
.zIndex-5 {
z-index: 500;
}
.zIndex-6 {
z-index: 600;
}
.zIndex-7 {
z-index: 700;
}
.zIndex-8 {
z-index: 800;
}
.zIndex-9 {
z-index: 900;
}
.zIndex-10 {
z-index: 1000;
}
.zIndex-11 {
z-index: 1100;
}
.u-high-priority-color {
fill: $high-priority-color;
}
.u-low-priority-color {
fill: $low-priority-color;
}
.clickCatcher {
top: 0;
left: 0;
width: 100%;
height: 100%;
position: absolute;
cursor: default;
}
2014-09-04 00:54:33 +00:00
.debug .clickCatcher {
background: hsla(0, 100%, 50%, 0.13);
}
2014-09-04 00:54:33 +00:00
.debug .clickCatcher + .clickCatcher {
background: hsla(50, 100%, 50%, 0.13);
}
.clearfix::after {
2014-11-14 10:15:00 +00:00
visibility: hidden;
display: block;
font-size: 0;
content: ' ';
2014-11-14 10:15:00 +00:00
clear: both;
height: 0;
}
.clearfix {
display: inline-block;
}
/* start commented backslash hack \ */
* html .clearfix {
height: 1%;
}
.clearfix {
display: block;
}
2014-11-14 10:15:00 +00:00
/* close commented backslash hack */
[contenteditable] {
display: block;
outline-style: none;
border-radius: 3px;
/* needed to make empty tags editable, otherwise no focus can be set */
min-height: 10px;
min-width: 20px;
}
[contenteditable]:hover,
[contenteditable]:focus {
background: hsl(210, 17%, 98%);
}
2014-10-01 11:57:36 +00:00
[contenteditable]:focus {
text-overflow: clip !important;
}
[contenteditable].invalid {
background: #f92;
}
[contenteditable] > .placeholder {
color: #999;
}
2014-12-28 18:35:20 +00:00
[contenteditable] p {
margin: 0;
}
/* fix for placeholder */
.Medium-placeholder {
position: relative;
}
2014-09-15 21:58:54 +00:00
.close,
.close:hover {
float: none;
opacity: 1;
}
#app > nav {
position: relative;
z-index: 1;
}
2015-11-17 14:52:50 +00:00
pre {
display: block;
padding: 9.5px;
margin: 0 0 20px;
font-size: 13px;
line-height: 1.42857143;
color: #333;
word-break: break-all;
word-wrap: break-word;
background: white;
border: 1px solid hsl(0, 0%, 90%);
2015-11-17 14:52:50 +00:00
border-radius: 3px;
}
2015-11-17 14:52:50 +00:00
pre code {
padding: 0;
font-size: inherit;
color: inherit;
white-space: pre-wrap;
background-color: transparent;
border-radius: 0;
}
.hljs,
code {
background: none;
padding: 2px 4px;
font-size: 0.88em;
}
code:not(.hljs) {
border: 1px solid rgba(0, 0, 0, 0.2);
border-radius: 3px;
white-space: nowrap;
}
pre code.hljs {
font-size: 1em;
}
2015-06-09 17:51:43 +00:00
.textarea::placeholder,
.form-control::placeholder,
2016-02-09 13:30:36 +00:00
.token-input::placeholder,
.u-placeholder {
color: hsl(0, 0%, 80%);
2015-06-09 17:51:43 +00:00
}
2014-09-04 21:56:58 +00:00
.btn {
display: inline-block;
2014-11-14 10:15:00 +00:00
font-size: 14px;
padding: 10px 24px 9px;
color: hsl(0, 0%, 33%);
2014-11-14 10:15:00 +00:00
background: white;
border: 1px solid rgba(0, 0, 0, 0.1);
2015-01-14 22:45:08 +00:00
outline: none !important;
border-radius: 4px;
text-align: center;
white-space: nowrap;
vertical-align: middle;
2019-06-04 03:40:48 +00:00
text-decoration: none;
@extend %clickable;
@include phone {
padding-left: 12px;
padding-right: 12px;
}
2016-05-19 08:20:38 +00:00
2015-09-15 09:49:38 +00:00
.icon {
vertical-align: middle;
margin-top: -2px;
@include bidi-style(margin-right, 5px, margin-right, -2px);
@include bidi-style(margin-left, -2px, margin-right, 5px);
2016-02-09 15:08:48 +00:00
fill: currentColor;
2019-06-04 03:40:48 +00:00
flex-shrink: 0;
}
span {
min-width: 0;
overflow: hidden;
text-overflow: ellipsis;
display: block;
2019-06-04 03:40:48 +00:00
}
&--only-icon .icon,
&--icon-only .icon {
margin-left: 0 !important;
margin-right: 0 !important;
2015-09-15 09:49:38 +00:00
}
2017-09-26 07:25:42 +00:00
&--icon--last .icon {
@include bidi-style(
margin-left,
5px,
margin-right,
0
); // so far only used in ticket_zoom secondaryAction dropup
}
2016-05-19 08:20:38 +00:00
&:focus {
box-shadow: 0 0 0 3px hsl(201, 62%, 90%);
}
2015-10-06 19:51:28 +00:00
2017-09-26 07:25:42 +00:00
&--small {
2015-10-06 19:51:28 +00:00
padding-top: 5px;
padding-bottom: 4px;
&.btn--quad {
padding: 4px 5px;
}
2015-10-06 19:51:28 +00:00
}
2016-05-19 08:20:38 +00:00
2017-09-26 07:25:42 +00:00
&--slim {
2015-03-10 20:11:36 +00:00
padding-left: 12px;
padding-right: 12px;
}
2015-06-09 14:48:58 +00:00
2017-09-26 07:25:42 +00:00
&--fullWidth {
2016-02-09 15:08:48 +00:00
width: 100%;
text-align: center;
justify-content: center;
}
2015-06-29 11:17:43 +00:00
&.is-disabled,
&[disabled],
&:disabled {
pointer-events: none;
2014-11-14 10:15:00 +00:00
cursor: not-allowed;
opacity: 0.33;
2014-11-14 10:15:00 +00:00
}
&:active {
box-shadow: none;
background: hsl(0, 0%, 98%);
2014-11-14 10:15:00 +00:00
}
2019-06-04 03:40:48 +00:00
&--capitalized {
text-transform: capitalize;
}
2017-09-26 07:25:42 +00:00
&--action {
2015-03-10 20:11:36 +00:00
text-transform: uppercase;
color: hsl(0, 0%, 60%);
2015-03-10 20:11:36 +00:00
font-size: 12px;
letter-spacing: 0.05em;
2015-01-21 15:54:09 +00:00
height: 31px;
2017-07-21 09:46:52 +00:00
padding: 0 11px !important;
display: inline-flex;
align-items: center;
2019-06-04 03:40:48 +00:00
min-width: 0;
2016-05-19 08:20:38 +00:00
.icon {
@include ltr(margin, -2px 5px 0 -2px);
@include rtl(margin, -2px -2px 0 5px);
}
2015-10-02 16:03:42 +00:00
.icon:only-child {
margin: 0;
}
2016-05-19 08:20:38 +00:00
2015-03-10 20:11:36 +00:00
&.btn--slim {
padding-left: 7px !important;
padding-right: 7px !important;
.btn-label {
@include bidi-style(margin-left, 0, margin-right, 0);
}
2016-05-19 08:20:38 +00:00
&.btn--small {
padding-left: 5px !important;
padding-right: 5px !important;
}
}
&.btn--small {
2020-06-02 11:01:16 +00:00
height: 26px;
font-size: 11px;
padding-left: 8px;
padding-right: 8px;
2015-03-10 20:11:36 +00:00
}
2015-01-14 21:00:37 +00:00
}
2020-06-02 11:01:16 +00:00
&-active-icon {
display: none;
}
2019-06-04 03:40:48 +00:00
&--active {
background: hsl(204, 7%, 28%);
2019-06-04 03:40:48 +00:00
color: white;
2019-06-04 03:40:48 +00:00
&:active {
background: hsla(0, 0%, 0%, 0.55);
2019-06-04 03:40:48 +00:00
}
2020-06-02 11:01:16 +00:00
.btn-inactive-icon {
display: none;
}
.btn-active-icon {
display: inline;
}
2019-06-04 03:40:48 +00:00
}
// used in .recipientList-controls
2017-09-26 07:25:42 +00:00
&--onDark {
background: hsla(200, 100%, 97%, 0.15);
border-color: hsl(250, 7%, 16%);
2015-05-28 11:33:54 +00:00
color: white;
.icon {
2015-05-28 11:33:54 +00:00
opacity: 1;
}
}
2019-06-04 03:40:48 +00:00
// used in the sidebar
&--onWhite {
background: hsl(0, 0%, 98%);
2019-06-04 03:40:48 +00:00
&:active {
background: hsl(0, 0%, 96%);
2019-06-04 03:40:48 +00:00
}
}
2017-09-26 07:25:42 +00:00
&--primary {
2014-11-14 10:15:00 +00:00
color: white;
background: hsl(203, 65%, 55%);
2015-01-14 22:45:08 +00:00
&:active {
background: hsl(203, 65%, 45%);
2015-01-14 22:45:08 +00:00
}
2020-06-02 11:01:16 +00:00
.icon {
fill: white;
opacity: 1;
}
2014-11-14 10:15:00 +00:00
}
2017-09-26 07:25:42 +00:00
&--secondary {
color: hsl(202, 68%, 54%);
2016-02-09 15:28:39 +00:00
}
2017-09-26 07:25:42 +00:00
&--positive,
&--create,
&--success {
2014-11-14 10:15:00 +00:00
color: white;
background: hsl(145, 51%, 45%);
2016-05-19 08:20:38 +00:00
2015-01-14 22:45:08 +00:00
&:active {
background: hsl(145, 51%, 35%);
2015-01-14 22:45:08 +00:00
}
&.btn--secondary {
background: white;
color: hsl(145, 51%, 45%);
2016-05-19 08:20:38 +00:00
&:active {
background: hsl(0, 0%, 98%);
}
}
2015-11-05 11:04:29 +00:00
2016-02-04 13:28:27 +00:00
&.btn--text {
color: $supergood-color;
}
2014-11-14 10:15:00 +00:00
}
2017-09-26 07:25:42 +00:00
&--danger {
2014-11-14 10:15:00 +00:00
color: white;
background: $danger-color;
2015-01-14 22:45:08 +00:00
&:active {
background: darken($danger-color, 10%);
2015-01-14 22:45:08 +00:00
}
&.btn--secondary {
background: white;
color: $danger-color;
2016-05-19 08:20:38 +00:00
&:active {
background: hsl(0, 0%, 98%);
}
}
2014-11-14 10:15:00 +00:00
}
2017-09-26 07:25:42 +00:00
&--text {
2019-06-04 03:40:48 +00:00
display: inline-flex;
align-items: center;
2015-06-16 11:17:55 +00:00
font-size: inherit;
2016-03-04 14:05:07 +00:00
margin: -10px;
padding: 10px;
color: hsl(203, 65%, 55%);
border: none;
background: none;
2015-06-16 11:17:55 +00:00
vertical-align: baseline;
2017-07-28 14:45:32 +00:00
text-align: start;
2019-06-04 03:40:48 +00:00
.table & {
margin: 0;
min-height: 38px;
}
2016-05-19 08:20:38 +00:00
&.no-padding {
padding: 0;
margin: 0;
min-height: auto;
}
.icon {
opacity: 1;
@include bidi-style(margin-left, -2px, margin-right, 6px);
@include bidi-style(margin-right, 6px, margin-right, -2px);
2019-06-04 03:40:48 +00:00
width: 16px;
max-height: 16px;
object-fit: contain;
}
2016-05-19 08:20:38 +00:00
&.btn--icon--last .icon {
@include bidi-style(margin-left, 6px, margin-right, -2px);
@include bidi-style(margin-right, -2px, margin-right, 6px);
}
&:active {
color: hsl(203, 65%, 40%);
2015-10-20 15:16:29 +00:00
background: none;
}
&.btn--secondary {
color: hsl(0, 0%, 68%);
text-decoration: underline;
2016-05-19 08:20:38 +00:00
&:active {
color: hsl(0, 0%, 53%);
}
2015-01-14 22:45:08 +00:00
}
&.btn--positive {
color: hsl(145, 51%, 45%);
2016-05-19 08:20:38 +00:00
&:active {
color: hsl(145, 51%, 30%);
background: none;
}
2014-11-14 10:15:00 +00:00
}
&.btn--danger {
color: $danger-color;
2016-05-19 08:20:38 +00:00
&:active {
color: hsl(0, 65%, 40%);
background: none;
}
}
&.btn--subtle {
text-decoration: underline;
color: hsl(0, 0%, 85%);
2016-05-19 08:20:38 +00:00
&:active {
color: hsl(0, 0%, 75%);
}
2014-11-14 10:15:00 +00:00
}
2016-03-04 14:21:33 +00:00
&.space-left {
2017-07-28 14:45:32 +00:00
@include bidi-style(margin-left, 0, margin-right, -10px);
2016-03-04 14:21:33 +00:00
}
&.space-right {
2017-07-28 14:45:32 +00:00
@include bidi-style(margin-right, 0, margin-left, -10px);
2016-03-04 14:21:33 +00:00
}
2014-11-14 10:15:00 +00:00
}
2015-03-10 20:11:36 +00:00
2017-09-26 07:25:42 +00:00
&--large {
&.btn--text {
margin: 0;
}
}
2017-09-26 07:25:42 +00:00
&--quad {
2015-11-05 11:04:29 +00:00
padding: 10px 12px 9px;
2016-05-19 08:20:38 +00:00
2016-02-04 13:28:27 +00:00
.icon {
margin: -1px;
2016-02-04 13:28:27 +00:00
}
2015-11-05 11:04:29 +00:00
}
2017-09-26 07:25:42 +00:00
&--split--first {
2017-07-28 14:45:32 +00:00
@include bidi-style(border-radius, 3px 0 0 3px, border-radius, 0 3px 3px 0);
2015-03-10 20:11:36 +00:00
}
2017-09-26 07:25:42 +00:00
&--split,
&--split--last {
2015-03-10 20:11:36 +00:00
border-radius: 0;
2017-07-28 14:45:32 +00:00
@include bidi-style(border-left-width, 0, border-right-width, 1px);
@include ltr(margin-left, 0 !important);
@include rtl(margin-right, 0 !important);
2015-03-10 20:11:36 +00:00
}
2017-09-26 07:25:42 +00:00
&--split--last {
2017-07-28 14:45:32 +00:00
@include bidi-style(border-radius, 0 3px 3px 0, border-radius, 3px 0 0 3px);
2015-03-10 20:11:36 +00:00
}
2017-09-26 07:25:42 +00:00
&--dropdown {
position: relative;
2016-05-19 08:20:38 +00:00
select {
opacity: 0;
width: 100%;
height: 100%;
left: 0;
top: 0;
position: absolute;
@extend %clickable;
}
}
2014-11-14 10:15:00 +00:00
}
.btn + .btn,
.btn + .buttonDropdown,
.buttonDropdown + .buttonDropdown {
2017-07-28 14:45:32 +00:00
@include bidi-style(margin-left, 10px, margin-right, 0);
2014-11-14 10:15:00 +00:00
}
.btn + .btn.align-right {
2017-07-28 14:45:32 +00:00
@include bidi-style(margin-left, auto, margin-right, 0);
2014-11-14 10:15:00 +00:00
}
.btn.align-right ~ .btn {
2017-07-28 14:45:32 +00:00
@include bidi-style(margin-left, 15px, margin-right, 0);
}
.vertical > .btn:not(.hidden) + .btn {
2017-07-28 14:45:32 +00:00
@include bidi-style(margin-left, 0, margin-right, 0);
2014-11-14 10:15:00 +00:00
margin-top: 10px;
2019-06-04 03:40:48 +00:00
&--text {
@include bidi-style(margin-left, -10px, margin-right, -10px);
2019-06-04 03:40:48 +00:00
margin-top: 0;
}
2014-11-14 10:15:00 +00:00
}
.btn--download .icon-download {
2014-11-14 10:15:00 +00:00
margin-right: 6px;
2017-07-28 14:45:32 +00:00
@include rtl(margin-right, -10px);
margin-top: 4px;
2014-11-14 10:15:00 +00:00
margin-left: -10px;
2017-07-28 14:45:32 +00:00
@include rtl(margin-left, 6px);
2014-11-14 10:15:00 +00:00
vertical-align: top;
fill: white;
2014-11-14 10:15:00 +00:00
}
.btn-label {
2017-07-28 14:45:32 +00:00
@include bidi-style(margin-left, 7px, margin-right, 0);
}
2019-06-04 03:40:48 +00:00
.btn-show-all {
&[aria-expanded='false'] [data-show='collapsed'],
&[aria-expanded='true'] [data-show='open'] {
2019-06-04 03:40:48 +00:00
display: none;
}
.icon {
margin-left: 0;
margin-right: 0;
}
}
2015-03-10 20:11:36 +00:00
.visibility-change {
/*
2016-05-19 08:20:38 +00:00
2015-03-10 20:11:36 +00:00
Interactive Visibility Change Classes:
2016-05-19 08:20:38 +00:00
2015-03-10 20:11:36 +00:00
<div class="visibility-change">
2015-06-02 16:21:14 +00:00
<svg class="icon-marker" data-visible="active"><use xlink:href="#icon-marker" /></svg>
2015-03-10 20:11:36 +00:00
</div>
2016-05-19 08:20:38 +00:00
2015-03-10 20:11:36 +00:00
Important: HTML Order active > hover > normal
*/
[data-visible='active'],
[data-visible='hover'] {
2015-03-10 20:11:36 +00:00
display: none;
}
&.is-active [data-visible='active'] {
2015-03-10 20:11:36 +00:00
display: block;
2016-05-19 08:20:38 +00:00
& ~ [data-visible='normal'] {
display: none;
2015-03-10 20:11:36 +00:00
}
}
&:hover [data-visible='hover'] {
2015-03-10 20:11:36 +00:00
display: block;
2016-05-19 08:20:38 +00:00
& ~ [data-visible='normal'] {
display: none;
2015-03-10 20:11:36 +00:00
}
}
}
2015-10-20 15:16:29 +00:00
.btn-group {
display: inline-flex;
flex-wrap: wrap;
2016-05-19 08:20:38 +00:00
2017-09-26 07:25:42 +00:00
&--full {
2015-10-20 15:16:29 +00:00
display: flex;
}
& + .btn-group {
margin-top: 10px;
padding-top: 10px;
border-top: 1px solid hsl(240, 2%, 92%);
2015-10-20 15:16:29 +00:00
}
.btn {
&:not(:first-child) {
border-top-left-radius: 0;
border-bottom-left-radius: 0;
}
&:not(:last-child) {
border-top-right-radius: 0;
border-bottom-right-radius: 0;
border-right-width: 0;
}
+ .btn {
@include bidi-style(margin-left, 0, margin-right, 10px);
}
2015-10-20 15:16:29 +00:00
}
2017-09-26 07:25:42 +00:00
.btn--text {
2015-10-20 15:16:29 +00:00
padding: 6px 10px 5px; /* reporting main.eco */
display: inline-block;
2015-10-21 09:10:18 +00:00
border-radius: 3px;
2016-05-19 08:20:38 +00:00
2015-10-21 09:10:18 +00:00
&.is-selected {
background: hsl(203, 65%, 55%);
2015-10-21 09:10:18 +00:00
color: white;
}
2015-10-20 15:16:29 +00:00
}
}
2015-10-02 21:36:15 +00:00
.buttonDropdown {
display: flex;
align-items: center;
position: relative;
user-select: none;
2016-05-19 08:20:38 +00:00
.dropdown-menu {
margin-bottom: 0;
2015-10-02 21:36:15 +00:00
}
2016-05-19 08:20:38 +00:00
&.is-open .dropdown-menu {
display: block;
2015-10-02 21:36:15 +00:00
}
.btn--text {
2016-03-04 14:40:07 +00:00
padding-left: 13px;
padding-right: 13px;
}
2019-06-04 03:40:48 +00:00
.dropdown-menu-accessories {
cursor: pointer;
&:focus {
outline: none;
.dropdown-menu {
display: block;
}
.btn--split--last {
box-shadow: 0 0 0 3px hsl(201, 62%, 90%);
2019-06-04 03:40:48 +00:00
pointer-events: initial;
}
}
.btn--split--last {
pointer-events: none;
&:focus {
box-shadow: none;
pointer-events: none;
}
&:active {
background-color: #429ed7;
}
}
}
2015-10-02 21:36:15 +00:00
}
.dropdown-menu-right {
@include rtl(right, auto);
@include rtl(left, 0);
}
.dropdown-menu-left {
@include rtl(left, auto);
@include rtl(right, 0);
}
2015-10-06 19:51:28 +00:00
.status-fields {
display: flex;
max-width: 100%;
@include phone {
display: block;
}
.dropdown li {
display: flex;
align-items: center;
padding: 0 10px;
}
.dropdown-menu .status-badge {
margin-left: 10px;
}
.dropdown-menu .badge {
margin-top: -2px;
margin-right: 7px;
background: hsla(0, 0%, 0%, 0.5);
}
2015-10-06 19:51:28 +00:00
}
.status-field {
color: hsl(0, 0%, 60%);
border: 1px solid hsl(0, 0%, 90%);
2016-03-23 13:26:53 +00:00
display: flex;
height: 34px;
flex-shrink: 1;
min-width: 20px;
padding: 5px 0;
2016-03-23 13:26:53 +00:00
align-items: center;
white-space: nowrap;
text-overflow: ellipsis;
overflow: hidden;
@include phone {
border-bottom-width: 0;
}
2016-05-19 08:20:38 +00:00
&.is-active {
background: hsl(203, 65%, 55%);
color: white;
border-color: hsl(203, 65%, 45%);
box-shadow: 1px 0 hsl(203, 65%, 45%);
position: relative;
@extend %clickable;
}
2015-10-06 19:51:28 +00:00
&:not(:last-child):not(:only-child) {
2017-07-28 14:45:32 +00:00
@include bidi-style(border-right-width, 0, border-left-width, 1px);
@include phone {
border-right-width: 1px !important;
}
2015-10-06 19:51:28 +00:00
}
2016-05-19 08:20:38 +00:00
2015-10-06 19:51:28 +00:00
&:first-child {
border-radius: 5px 0 0 5px;
2017-07-28 14:45:32 +00:00
@include rtl(border-radius, 0 5px 5px 0);
@include phone {
border-radius: 5px 5px 0 0 !important;
.dropdown & {
flex: 1;
border-top-right-radius: 0 !important;
border-right-width: 0 !important;
}
}
.dropdown.open & {
border-radius: 5px 0 0;
@include rtl(border-radius, 0 5px 0 0);
@include phone {
border-radius: 5px 0 0 !important;
}
}
2015-10-06 19:51:28 +00:00
}
2016-05-19 08:20:38 +00:00
2015-10-06 19:51:28 +00:00
&:last-child {
border-radius: 0 5px 5px 0;
2017-07-28 14:45:32 +00:00
@include rtl(border-radius, 5px 0 0 5px);
@include phone {
border-radius: 0 0 5px 5px !important;
border-bottom-width: 1px;
}
2015-10-06 19:51:28 +00:00
}
&:only-child {
border-radius: 5px;
@include phone {
border-radius: 5px !important;
}
2015-10-06 19:51:28 +00:00
}
.badge {
@include bidi-style(margin, 0 7px 0 10px, margin, 0 10px 0 7px);
background: hsla(210, 50%, 10%, 0.24);
2015-10-06 19:51:28 +00:00
}
2016-03-23 13:26:53 +00:00
.status-badge {
width: 32px;
display: inline-flex;
align-items: center;
justify-content: center;
align-self: stretch;
}
&--arrow {
@extend %clickable;
border-left: none;
width: 34px;
justify-content: center;
@include phone {
border-top-right-radius: 5px !important;
}
.icon {
fill: currentColor;
}
}
&--spacer {
padding-left: 16px;
padding-right: 2px;
}
2015-10-06 19:51:28 +00:00
}
2016-03-23 15:24:33 +00:00
.status-badge {
display: inline-block;
}
2016-03-23 13:26:53 +00:00
.info-badge {
2016-03-23 15:24:33 +00:00
fill: currentColor;
padding: 3px 6px 1px;
2016-03-23 13:26:53 +00:00
line-height: 12px;
2016-03-23 15:24:33 +00:00
opacity: 0.5;
position: relative;
2016-05-19 08:20:38 +00:00
/*
border in its own layer to make it more
2016-03-23 15:24:33 +00:00
translucend but still depend on the currentColor
*/
&::after {
content: '';
2016-03-23 15:24:33 +00:00
position: absolute;
width: 100%;
height: 100%;
left: 0;
top: 0;
border: 1px solid currentColor;
opacity: 0.5;
border-radius: 100%;
}
}
2016-03-23 13:26:53 +00:00
@keyframes pulsate {
to {
filter: brightness(1.2);
}
}
2015-10-06 19:51:28 +00:00
.badge {
display: inline-block;
min-width: 18px;
padding: 3px 5px;
font-size: 12px;
font-weight: 500;
line-height: 1;
color: #fff;
text-align: center;
white-space: nowrap;
vertical-align: top;
border-radius: 9px;
background: hsl(198, 18%, 86%);
2017-07-28 14:45:32 +00:00
@include bidi-style(margin-right, 3px, margin-left, 0);
2015-10-08 08:12:59 +00:00
flex-shrink: 0;
2015-10-06 19:51:28 +00:00
&:empty {
display: none;
}
&.badge--big {
min-width: 22px;
font-size: 14px;
border-radius: 11px;
padding: 5px 7px 3px;
}
&.badge--text {
min-width: 0;
padding: 0;
margin-right: 0;
2017-07-28 14:45:32 +00:00
@include bidi-style(margin-right, 0, margin-left, 0);
2015-10-06 19:51:28 +00:00
font-size: inherit;
font-weight: inherit;
text-align: inherit;
line-height: inherit;
2015-10-06 19:51:28 +00:00
color: #d0d2d3;
background: none;
border-radius: 0;
vertical-align: baseline;
2015-10-06 19:51:28 +00:00
}
}
2015-11-16 13:10:40 +00:00
.key-value {
td:first-child {
2017-07-28 14:45:32 +00:00
@include bidi-style(padding-right, 10px, padding-left, 0);
2015-11-16 13:10:40 +00:00
color: #999;
}
}
2015-10-02 21:36:15 +00:00
2012-10-14 23:00:34 +00:00
table {
2015-06-09 19:20:55 +00:00
table-layout: fixed;
2012-10-14 23:00:34 +00:00
}
2014-07-23 19:47:57 +00:00
2013-07-30 13:58:33 +00:00
.table {
display: table;
2016-05-19 08:20:38 +00:00
2016-05-03 10:06:40 +00:00
small {
color: inherit;
}
2019-06-04 03:40:48 +00:00
&-icon {
max-width: 20px;
max-height: 20px;
object-fit: contain;
vertical-align: middle;
fill: hsla(0, 0%, 0%, 0.3);
2019-06-04 03:40:48 +00:00
}
&-buttons {
padding-top: 0 !important;
padding-bottom: 0 !important;
height: 38px;
display: flex;
align-items: center;
justify-content: flex-end;
text-align: right;
}
2015-11-04 15:39:12 +00:00
}
.table--light {
color: hsl(198, 4%, 56%);
2013-07-30 13:58:33 +00:00
}
2014-07-23 19:47:57 +00:00
.table-fluid {
table-layout: auto;
}
2013-07-30 13:58:33 +00:00
.table .table-row {
display: table-row;
}
2014-07-23 19:47:57 +00:00
2015-11-05 12:24:24 +00:00
.table--placeholder {
th {
text-align: center;
}
2015-11-05 12:24:24 +00:00
td {
height: 40px;
2016-05-19 08:20:38 +00:00
}
2015-11-05 12:24:24 +00:00
}
.table th:not(.noTruncate) .table-column-title,
.table td:not(.noTruncate) {
@extend .u-textTruncate;
2014-07-23 19:47:57 +00:00
}
.table > thead > tr > th {
2014-07-23 20:56:59 +00:00
padding: 12px 9px 10px;
2014-07-23 19:47:57 +00:00
border-bottom: none;
border-top: 1px solid #ececec;
background: #f0f1f2;
color: #444a4f;
font-weight: normal;
font-size: 12px;
text-transform: uppercase;
2015-09-22 13:19:05 +00:00
letter-spacing: 0.05em;
position: relative;
user-select: none;
2014-07-23 19:47:57 +00:00
}
2014-07-23 20:56:59 +00:00
2015-10-22 11:52:52 +00:00
.table-column-head {
display: flex;
@extend %clickable;
&-unclickable {
cursor: default;
}
2015-10-22 11:52:52 +00:00
}
.table-column-sortIcon {
2017-07-28 14:45:32 +00:00
@include bidi-style(margin-left, auto, margin-right, 0);
2015-10-22 11:39:33 +00:00
}
2015-10-27 09:57:23 +00:00
th.align-right {
.table-column-title {
2017-07-28 14:45:32 +00:00
@include bidi-style(margin-left, auto, margin-right, 0);
2015-10-27 09:57:23 +00:00
}
2015-10-27 09:57:23 +00:00
.table-column-sortIcon {
2017-07-28 14:45:32 +00:00
@include bidi-style(margin-left, 0, margin-right, 0);
2015-10-27 09:57:23 +00:00
}
}
2014-07-23 20:56:59 +00:00
.table > tbody > tr > td {
2016-03-14 09:07:34 +00:00
padding: 10px 10px 8px;
border-color: hsl(0, 0%, 95%);
&.no-side-padding {
padding-left: 0;
padding-right: 0;
text-align: center;
}
2014-07-23 20:56:59 +00:00
}
.table > tbody > tr.u-center > td {
vertical-align: middle;
}
.table-hover > tbody > tr:hover,
.table-hover > tbody > tr.is-hover {
2015-06-09 09:17:54 +00:00
background: white;
2014-07-23 20:56:59 +00:00
}
2016-05-19 08:20:38 +00:00
2019-06-04 03:40:48 +00:00
.table-hover-in-modal > tbody > tr:hover > td {
background-color: #f8f9fa;
}
2014-07-23 20:56:59 +00:00
.table-hover > tbody > tr:hover > th {
background: rgba(0, 8, 14, 0.015);
2014-07-23 20:56:59 +00:00
}
.table-col-resize {
position: absolute;
2017-07-28 14:45:32 +00:00
@include bidi-style(right, 0, left, auto);
top: 0;
height: 100%;
cursor: col-resize;
padding: 10px;
2017-07-28 14:45:32 +00:00
@include bidi-style(margin-right, -10px, margin-left, 0);
z-index: 1;
2016-05-19 08:20:38 +00:00
&::after {
content: '';
display: block;
width: 1px;
height: 100%;
background: hsl(210, 7%, 85%);
}
}
2014-07-23 20:56:59 +00:00
.table > thead:first-child > tr:first-child > th.no-padding,
.table > thead > tr > th.no-padding,
.table > tbody > tr > td.no-padding {
padding: 0;
}
.table tr.is-inactive,
.table tr td span.is-inactive {
color: #bbb;
2015-05-27 12:21:56 +00:00
text-decoration: line-through;
2016-05-19 08:20:38 +00:00
2015-05-27 12:21:56 +00:00
a {
color: inherit;
2015-05-27 12:21:56 +00:00
}
}
2016-05-03 10:06:40 +00:00
.table tr.is-grayed-out {
color: hsl(120, 1%, 77%);
2016-05-19 08:20:38 +00:00
.icon,
.btn span {
opacity: 0.33;
}
.avatar {
opacity: 0.5;
}
.avatar--unique {
background: hsl(120, 1%, 86%);
text-shadow: none;
opacity: initial;
}
2016-05-03 10:06:40 +00:00
}
td .icon {
2015-05-26 18:03:52 +00:00
vertical-align: middle;
}
2019-06-04 03:40:48 +00:00
td .icon-draggable,
td .icon-trash {
vertical-align: middle;
2019-06-04 03:40:48 +00:00
//fill: hsl(240,1%,77%);
2015-05-26 18:03:52 +00:00
}
td .prefix-icon > .icon {
vertical-align: top;
}
2016-03-14 15:44:28 +00:00
.table-checkbox,
.table-radio {
padding: 0 !important;
}
2015-09-29 13:15:45 +00:00
.table .table-sort-arrow {
opacity: 1;
fill: hsl(206, 7%, 33%);
2015-09-29 13:15:45 +00:00
width: 8px;
height: 8px;
2017-07-28 14:45:32 +00:00
@include bidi-style(margin-left, 3px, margin-right, 0);
2015-09-29 13:15:45 +00:00
margin-top: -2px;
vertical-align: middle;
}
.item {
&--high-priority {
a {
color: $high-priority-color;
}
}
&--low-priority {
a {
color: $low-priority-color;
}
}
}
.checkbox-list {
list-style: none;
margin-bottom: 15px;
padding: 3px 12px;
font-size: 14px;
line-height: 25px;
color: hsl(60, 1%, 34%);
background: white;
border: 1px solid hsl(0, 0%, 90%);
border-radius: 3px;
}
.checkbox-replacement,
.radio-replacement {
2014-07-23 20:56:59 +00:00
padding: 0;
margin: 0;
display: flex;
align-items: center;
justify-content: center;
2016-03-03 10:39:22 +00:00
position: relative;
2019-06-04 03:40:48 +00:00
@extend .u-clickable;
2019-06-04 03:40:48 +00:00
> .icon {
vertical-align: middle;
margin-top: -2px;
fill: white;
}
.icon-checked {
color: black;
}
2014-07-23 20:56:59 +00:00
.icon-unchecked {
color: hsl(60, 1%, 61%);
}
2016-02-08 16:24:48 +00:00
.icon-indeterminate {
display: none;
color: hsl(60, 1%, 61%);
}
2016-02-08 16:24:48 +00:00
&.is-disabled {
cursor: default;
}
2015-09-15 15:45:23 +00:00
&.checkbox-replacement--fullscreen,
&.radio-replacement--fullscreen {
position: absolute;
left: 0;
top: 0;
width: 100%;
height: 100%;
}
2016-03-03 10:39:22 +00:00
&.checkbox-replacement--inline,
&.radio-replacement--inline {
display: inline-flex;
2017-07-28 14:45:32 +00:00
@include bidi-style(margin-right, 3px, margin-left, 0);
}
2016-03-03 10:39:22 +00:00
input[type='checkbox'],
input[type='radio'] {
position: absolute;
opacity: 0;
cursor: pointer;
&:disabled ~ .icon {
opacity: 0.33;
fill: none;
cursor: default;
}
&:not(:checked) ~ .icon-checked,
&:checked ~ .icon-unchecked {
display: none;
}
2016-03-03 10:39:22 +00:00
&:focus:not(.is-active) ~ .icon-checked,
&:focus:not(.is-active) ~ .icon-unchecked {
box-shadow: 0 0 0 2px hsl(201, 62%, 90%);
color: hsl(200, 71%, 59%);
}
}
2016-03-03 10:39:22 +00:00
+ .label-text {
2017-07-28 14:45:32 +00:00
@include bidi-style(margin-left, 0, margin-right, 3px);
}
2016-03-03 10:39:22 +00:00
}
.checkbox-replacement {
&:indeterminate {
~ .icon-checked,
~ .icon-unchecked {
display: none;
}
~ .icon-indeterminate {
display: block;
}
}
}
.radio-replacement {
input:focus ~ .icon-checked,
input:focus ~ .icon-unchecked {
border-radius: 100%;
}
2019-06-04 03:40:48 +00:00
> .icon {
margin-top: -3px;
}
2015-09-22 11:26:48 +00:00
}
2015-09-15 09:49:38 +00:00
.table .checkbox-replacement,
.table .radio-replacement {
2015-09-30 14:18:01 +00:00
height: 40px;
width: 40px;
&.checkbox-replacement--fullscreen {
width: 100%;
height: 100%;
}
2015-09-15 09:49:38 +00:00
}
2015-09-29 12:07:25 +00:00
.table-overview tbody .icon-checkbox,
.table-overview tbody .icon-radio,
.table-overview tbody .icon-checkbox-checked,
.table-overview tbody .icon-radio-checked {
fill: transparent;
2014-07-23 19:47:57 +00:00
}
.table .table-cell {
2013-07-30 13:58:33 +00:00
vertical-align: top;
display: table-cell;
border-bottom: 1px solid #eee;
2013-07-30 13:58:33 +00:00
}
2014-07-23 19:47:57 +00:00
2013-08-05 00:03:27 +00:00
.hero-two {
width: 100%;
}
2013-08-05 00:03:27 +00:00
.hero-two .hero-left {
width: 50%;
float: left;
}
2013-08-05 00:03:27 +00:00
.hero-two .hero-right {
width: 50%;
float: right;
}
2013-07-30 13:58:33 +00:00
#task {
2013-04-18 12:41:58 +00:00
position: fixed;
display: table;
2013-04-18 12:41:58 +00:00
width: 100%;
2013-09-22 17:40:58 +00:00
min-width: 1000px;
2013-08-19 20:46:19 +00:00
top: 46px;
2014-07-07 17:18:51 +00:00
display: none;
2013-07-30 13:58:33 +00:00
}
#task > .taskbar {
display: table-row;
z-index: 1040;
2013-04-18 12:41:58 +00:00
}
#task > .taskbar > div {
padding: 0 4px 4px;
display: table-cell;
}
#task .task {
@extend .u-textTruncate;
max-width: 120px;
2013-08-20 11:28:32 +00:00
display: inline-block;
}
#task .task > a,
#task .task > a:hover {
color: #fff;
text-decoration: none;
}
#task .btn-default .task > a,
#task .btn-default .task > a:hover {
color: #333;
}
2013-07-30 13:58:33 +00:00
#task .taskbar .btn-small {
2013-09-17 08:48:49 +00:00
padding: 3px 8px 4px;
margin-top: 2px;
2013-07-30 13:58:33 +00:00
font-size: 11px;
font-weight: 300;
}
#task .taskbar .btn-default {
background-color: #c3c3c3;
border-color: #c3c3c3;
}
#task [data-type='close'] {
2017-07-28 14:45:32 +00:00
@include bidi-style(margin-left, 5px, margin-right, 0);
2013-08-19 20:46:19 +00:00
font-size: 13px;
top: 1px;
}
#task .taskbar-items {
}
#task .taskbar-new {
2017-07-28 14:45:32 +00:00
text-align: end;
padding-right: 12px;
}
2012-10-22 20:30:31 +00:00
.max-size-scroll {
max-height: 240px;
overflow-y: scroll;
}
2012-04-10 14:06:46 +00:00
/*
#content > *:not(.active) {
display: none !important;
}
*/
h1,
h2,
h3,
h4,
h5,
h6 {
2014-07-02 15:15:50 +00:00
font-weight: normal;
color: hsl(202, 8%, 28%);
2012-08-24 18:54:57 +00:00
}
h1 {
font-size: 24px;
line-height: 30px;
}
2014-07-15 08:30:50 +00:00
h2,
h2.popover-title {
2015-09-07 08:43:28 +00:00
font-size: 20px;
2014-07-04 10:29:52 +00:00
line-height: 25px;
}
2014-07-15 08:30:50 +00:00
h3 {
2015-09-07 08:43:28 +00:00
font-size: 16px;
margin: 20px 0 8px;
color: hsl(207, 7%, 29%);
2015-09-07 08:43:28 +00:00
font-weight: normal;
2016-05-19 08:20:38 +00:00
2015-06-16 11:17:55 +00:00
.subtitle {
display: inline;
2015-06-16 11:17:55 +00:00
font-size: 12px;
text-transform: none;
color: hsl(0, 0%, 60%);
2015-06-16 11:17:55 +00:00
letter-spacing: initial;
}
2013-07-30 13:58:33 +00:00
}
2014-07-15 08:30:50 +00:00
2013-07-30 13:58:33 +00:00
h4 {
2015-09-07 08:43:28 +00:00
font-size: 13px;
text-transform: uppercase;
}
2014-07-15 08:30:50 +00:00
2013-08-04 22:03:13 +00:00
h5 {
2015-09-07 08:43:28 +00:00
font-size: 13px;
font-weight: bold;
2012-11-03 08:52:22 +00:00
}
2013-07-30 13:58:33 +00:00
label,
2019-06-04 03:40:48 +00:00
.checkbox.form-group label,
2015-09-07 22:05:39 +00:00
.label {
2014-07-02 15:15:50 +00:00
text-transform: uppercase;
color: hsl(198, 15%, 69%);
display: block;
2015-09-25 12:02:27 +00:00
font-size: 13px;
2014-07-02 15:15:50 +00:00
font-weight: normal;
2015-09-14 16:44:36 +00:00
letter-spacing: 0.05em;
margin-bottom: 4px;
2017-07-28 14:45:32 +00:00
text-align: start;
2015-01-20 01:44:33 +00:00
padding: 0;
/* user-select: none; disabled because of chrome51 https://github.com/martini/zammad/issues/183 */
2019-06-04 03:40:48 +00:00
h2 & {
color: inherit !important;
font-size: inherit;
font-weight: inherit;
letter-spacing: 0;
margin-bottom: 0;
padding: 0 !important;
text-transform: inherit;
}
2014-08-30 10:24:31 +00:00
}
2015-06-16 11:17:55 +00:00
/* circumventing the label:not(.inline-label) selector because it's too strong */
2015-09-30 13:28:26 +00:00
.inline-label,
.label-success,
.label-warning,
2019-06-04 03:40:48 +00:00
.label-danger {
2015-06-16 11:17:55 +00:00
font-size: inherit;
font-weight: inherit;
text-align: inherit;
color: inherit;
letter-spacing: 0;
margin: 0;
text-transform: none;
display: inline;
}
2017-07-28 08:15:30 +00:00
table {
.inline-label,
.label-success,
.label-warning,
.label-danger {
white-space: nowrap; /* for labels in tables that might get crushed view: calendar_subscriptions */
}
}
.inline-label {
color: hsl(206, 7%, 28%);
}
2017-07-28 08:15:30 +00:00
2015-09-15 15:45:23 +00:00
.label-text {
2017-07-28 14:45:32 +00:00
@include bidi-style(margin-left, 3px, margin-right, 0);
2019-06-04 03:40:48 +00:00
@extend %clickable;
2015-09-15 09:49:38 +00:00
}
2015-06-16 11:17:55 +00:00
.label-success,
.label-warning,
.label-danger {
2015-09-30 13:28:26 +00:00
background: none;
}
.label-success {
2015-10-06 19:51:28 +00:00
color: $supergood-color;
}
.label-highlight {
color: $highlight-color;
}
.label-warning {
2015-09-30 13:28:26 +00:00
color: $ok-color;
}
.label-danger {
2015-09-30 13:28:26 +00:00
color: $superbad-color;
}
.label-subtle {
color: hsl(0, 0%, 80%);
}
.state-archived,
.state-draft {
color: hsl(0, 0%, 68%);
}
.state-published {
color: $supergood-color;
}
.state-internal {
color: $highlight-color;
}
fieldset {
margin: 0 -4px;
2014-11-14 10:15:00 +00:00
@extend .clearfix;
@include phone {
width: calc(100% + 8px);
}
2019-06-04 03:40:48 +00:00
h2,
.help-text {
margin-left: 4px;
margin-right: 4px;
}
}
2020-06-02 11:01:16 +00:00
.form-field-group {
padding: 20px;
background: hsl(0, 0%, 97%);
--background: hsl(0, 0%, 97%);
2020-06-02 11:01:16 +00:00
border-radius: 4px;
margin-bottom: 16px;
2020-06-02 11:01:16 +00:00
> .form-group:last-child {
margin-bottom: 0;
}
}
2015-09-29 13:54:14 +00:00
fieldset > .form-group {
padding: 0 4px;
}
.form-group {
margin-bottom: 16px;
2016-05-19 08:20:38 +00:00
&.form-group--inactive {
opacity: 0.5;
}
&.is-readonly {
pointer-events: none;
cursor: not-allowed !important;
}
}
2015-09-29 13:54:14 +00:00
.date.form-group .controls {
position: relative;
}
2014-08-30 10:24:31 +00:00
.form-group + .form-group {
margin-top: 0;
2014-07-02 15:15:50 +00:00
}
.merge-group {
display: flex;
align-items: stretch;
2016-05-19 08:20:38 +00:00
&.merge-group--inactive {
}
&.merge-group--header {
h2 {
margin-bottom: 0;
}
label {
display: inline;
}
.merge-source,
.merge-target {
border-bottom: 1px solid #eee;
}
}
2016-05-19 08:20:38 +00:00
.merge-target,
.merge-source {
flex: 1;
width: 33%;
display: flex;
flex-direction: column;
justify-content: flex-end;
}
.merge-source,
.merge-target {
padding-bottom: 3px;
border-left: 1px solid #eee;
border-right: 1px solid #eee;
padding: 7px 13px;
}
&:first-of-type {
margin-top: 6px;
2016-05-19 08:20:38 +00:00
.merge-source,
.merge-target {
border-top: 1px solid #eee;
border-radius: 3px 3px 0 0;
}
}
&:last-of-type {
margin-bottom: 6px;
2016-05-19 08:20:38 +00:00
.merge-source,
.merge-target {
border-bottom: 1px solid #eee;
border-radius: 0 0 3px 3px;
}
}
.merge-value {
margin-bottom: 3px;
}
2016-05-19 08:20:38 +00:00
.form-group {
padding: 0;
}
.form-control {
margin: 0 !important;
}
&.merge-group--multi {
.merge-value + .merge-value {
margin-top: 12px;
2016-05-19 08:20:38 +00:00
}
}
}
.merge-controls {
flex: 1;
align-self: flex-end;
}
2016-05-19 08:20:38 +00:00
.merge-control {
margin-bottom: 5px;
height: 31px;
text-align: center;
display: flex;
flex: 1;
justify-content: space-between;
align-items: center;
align-self: flex-end;
}
.merge-control-input {
flex: 1;
}
.merge-arrow {
margin: 0 12px;
display: flex;
align-items: center;
justify-content: center;
2016-05-19 08:20:38 +00:00
.line-arrow {
fill: #e6e6e6;
}
}
.formGroup-label {
padding: 0 2px;
2015-09-25 12:02:27 +00:00
margin-bottom: 5px;
position: relative;
display: flex;
align-items: center;
2019-06-04 03:40:48 +00:00
h2 & {
padding: 0;
margin: 0;
}
2016-05-19 08:20:38 +00:00
label {
margin: 0;
}
.bookmark.icon {
margin-bottom: -1px;
}
2015-09-09 13:43:43 +00:00
.formGroup-metaControl {
@extend .u-clickable;
2015-09-09 13:43:43 +00:00
padding: 6px 4px;
margin: -6px 0 -6px auto;
font-size: 20px;
line-height: 1;
color: hsl(198, 19%, 72%);
}
}
.formGroup-bookmark {
@extend .u-clickable;
display: flex;
align-items: center;
flex-direction: row-reverse;
width: 30px;
height: 30px;
position: absolute;
right: 0;
top: -10px;
}
.form-group .controls .richtext {
position: relative;
2014-10-07 06:05:10 +00:00
height: auto;
}
2013-08-04 22:03:13 +00:00
.form-group .help-message {
2014-09-25 17:00:10 +00:00
cursor: help;
opacity: 0.2;
2015-01-14 22:39:56 +00:00
top: -2px;
position: relative;
2017-07-28 14:45:32 +00:00
@include bidi-style(margin-left, auto, margin-right, 0);
2016-05-19 08:20:38 +00:00
2015-05-26 07:47:18 +00:00
.icon-help {
2015-01-14 22:39:56 +00:00
display: block;
}
2013-08-04 22:03:13 +00:00
}
2014-07-02 15:15:50 +00:00
.form-group:not(.formGroup--halfSize) {
clear: left;
}
.form-group.formGroup--halfSize {
width: 50%;
float: left;
@include phone {
width: auto;
float: none;
}
2016-05-19 08:20:38 +00:00
.form-control {
min-width: initial;
}
}
2015-09-29 13:54:14 +00:00
.formGroup--standalone .form-control {
2014-11-14 10:15:00 +00:00
margin-bottom: 0;
}
.controls--select {
2015-10-19 11:27:33 +00:00
position: relative;
}
.controls--datetime {
position: relative;
display: flex;
}
.controls--date {
position: relative;
}
2019-06-04 03:40:48 +00:00
.controls--datetime {
position: relative;
display: flex;
}
.controls--date {
position: relative;
}
2015-10-08 12:10:54 +00:00
.controls-label {
margin: 11px 10px 0;
flex-shrink: 0;
2019-06-04 03:40:48 +00:00
.form-control--small + & {
margin-top: 7px;
}
2015-09-29 13:54:14 +00:00
}
/* do not show safari auto fill icon - see issue #962 */
input::-webkit-contacts-auto-fill-button {
visibility: hidden;
display: none !important;
pointer-events: none;
position: absolute;
right: 0;
}
input[type='radio'],
input[type='checkbox'] {
2014-10-07 15:28:24 +00:00
margin: 0;
}
input[type='text'],
input[type='password'],
input[type='email'],
input[type='date'],
input[type='url'],
2014-09-25 11:29:06 +00:00
textarea,
.form-control,
2019-03-25 12:58:52 +00:00
.form-group .checkbox,
.form-group .radio {
2014-09-25 11:29:06 +00:00
display: block;
2015-10-06 19:51:28 +00:00
padding: 7px 12px;
2014-09-25 11:29:06 +00:00
width: 100%;
2014-07-02 15:15:50 +00:00
height: 41px;
2014-09-25 11:29:06 +00:00
font-size: 14px;
2014-07-02 15:15:50 +00:00
font-weight: normal;
2015-10-06 19:51:28 +00:00
line-height: 25px;
2014-09-25 11:29:06 +00:00
color: #555;
background: white;
2014-11-15 12:44:13 +00:00
border: 1px solid hsl(0, 0%, 90%);
2014-07-02 15:15:50 +00:00
border-radius: 3px;
transition: none;
2014-11-15 12:44:13 +00:00
box-shadow: none;
2014-09-29 08:38:28 +00:00
outline: none;
appearance: none;
@include phone {
font-size: 16px;
}
2015-12-01 23:40:39 +00:00
&.form-control--small {
2015-10-06 19:51:28 +00:00
padding: 5px 8px 4px;
2019-06-04 03:40:48 +00:00
height: 30px;
2015-10-06 19:51:28 +00:00
line-height: 20px;
2016-05-19 08:20:38 +00:00
&.form-control--multiline {
2019-06-04 03:40:48 +00:00
min-height: 30px;
}
}
&.form-control--inline {
display: inline-block;
width: auto;
}
2015-10-06 19:51:28 +00:00
&.form-control--multiline {
height: auto;
min-height: 41px;
2015-10-06 19:51:28 +00:00
}
&:focus,
&.focus {
border-color: hsl(200, 71%, 59%);
box-shadow: 0 0 0 3px hsl(201, 62%, 90%);
}
&.is-disabled, // .is-disabled should not be used - legacy support
&[disabled],
&[readonly] {
background: hsl(210, 17%, 93%);
border-color: hsl(210, 10%, 85%);
&:focus,
&.focus {
border-color: hsl(200, 71%, 59%);
}
}
&.is-disabled, // .is-disabled should not be used
&[disabled] {
cursor: not-allowed;
opacity: 1;
}
2014-07-02 15:15:50 +00:00
}
input[type='url'] {
min-width: 400px;
}
.sidebar-content input[type='url'] {
min-width: inherit;
}
.user-select.form-control {
padding-right: 35px;
min-width: 300px;
}
input[type='time'] {
2015-06-16 11:17:55 +00:00
width: auto;
padding-left: 6px;
padding-right: 6px;
}
input.timeframe,
input.time {
box-sizing: content-box;
padding: 0 6px;
height: 39px;
line-height: 42px;
flex-shrink: 0;
2016-05-19 08:20:38 +00:00
2015-09-14 16:48:46 +00:00
&.form-control--small {
2019-06-04 03:40:48 +00:00
line-height: 20px;
padding-top: 0;
padding-bottom: 0;
2015-09-14 16:48:46 +00:00
}
}
input.timeframe {
width: 5.5ch;
}
input.time {
width: 4.5ch;
}
input.time.time--12 {
width: 7.5ch;
}
.tokenfield.focus {
border-color: hsl(200, 71%, 59%);
box-shadow: 0 0 0 3px hsl(201, 62%, 90%);
}
2014-10-07 13:59:21 +00:00
.richtext.form-control {
padding: 0;
}
.richtext.form-control [contenteditable] {
height: auto;
min-height: 82px;
background: none;
padding: 7px 12px 35px;
}
.richtext.form-control [contenteditable='false'] {
cursor: not-allowed;
opacity: 1;
background: hsl(210, 17%, 93%);
border-color: hsl(210, 10%, 85%);
&:focus,
&.focus {
border-color: hsl(200, 71%, 59%);
}
}
.richtext.form-control .attachments.attachments--list:not(:empty) {
border-top: 1px solid rgba(0, 0, 0, 0.04);
white-space: normal;
margin: 0 -12px -28px;
padding: 25px 20px 21px 72px;
position: relative;
line-height: 1;
}
2019-06-04 03:40:48 +00:00
.richtext-controls {
display: flex;
margin: 7px 7px 0;
2019-06-04 03:40:48 +00:00
padding: 3px 5px 10px;
border-bottom: 1px solid rgba(0, 0, 0, 0.04);
@include phone {
flex-wrap: nowrap;
}
2019-06-04 03:40:48 +00:00
}
textarea.form-control {
height: 118px;
2019-06-04 03:40:48 +00:00
&[rows] {
height: auto;
}
}
2014-10-07 19:04:00 +00:00
select.form-control:not([multiple]) {
2017-07-28 14:45:32 +00:00
@include bidi-style(padding-right, 34px, padding-left, 12px);
word-wrap: normal;
}
.form-control.is-hidden {
display: none;
}
.form-control.form-control--borderless {
border: none;
padding: 0;
line-height: inherit;
height: auto;
2016-05-19 08:20:38 +00:00
&:focus {
box-shadow: none;
}
}
2016-04-25 13:14:22 +00:00
.select.form-group,
.user_autocompletion.form-group {
.form-control {
padding-right: 21px;
}
}
.form-control + .icon-arrow-down,
.dropdown-arrow {
position: absolute;
2017-07-28 14:45:32 +00:00
@include bidi-style(right, 12px, left, auto);
top: 50%;
margin-top: -3px;
fill: black;
opacity: 0.39;
width: 13px;
height: 7px;
@extend .u-unclickable;
}
select::-ms-expand {
display: none;
}
2014-07-02 15:15:50 +00:00
.has-error .form-control,
.has-error .form-control:focus,
.has-error .form-control.focus {
box-shadow: none;
border-color: red !important;
}
2015-01-26 06:55:14 +00:00
input.has-error {
box-shadow: none;
border-color: red !important;
}
2014-07-02 15:15:50 +00:00
.help-inline:not(:empty) {
color: red;
padding: 2px;
font-size: 13px;
}
/* use on input[type=radio] */
.primary-email-switch {
display: none;
& + label {
font-size: 11px;
color: #dbdbdb;
margin: 0;
@extend %clickable;
}
&:checked + label {
color: $highlight-color;
2015-09-09 13:43:43 +00:00
}
}
.primary-email-switch-label {
text-overflow: ellipsis;
overflow: hidden;
white-space: nowrap;
}
.primary-email-switch + label {
align-self: stretch;
padding: 0 5px;
display: flex;
align-items: center;
}
.controls--button {
2016-02-18 14:44:48 +00:00
display: flex;
flex-wrap: wrap;
.controls {
flex: 1;
}
.help-inline,
.help-block {
flex-basis: 100%;
}
2016-05-19 08:20:38 +00:00
input,
.form-control {
flex: 1 1 0%;
2017-07-28 14:45:32 +00:00
@include bidi-style(border-right-width, 0, border-left-width, 1px);
@include bidi-style(
border-top-right-radius,
0,
border-top-left-radius,
3px
);
@include bidi-style(
border-bottom-right-radius,
0,
border-bottom-left-radius,
3px
);
2016-05-19 08:20:38 +00:00
&:focus + .controls-button {
.controls-button-inner {
border-color: hsl(200, 71%, 59%);
}
2016-05-19 08:20:38 +00:00
/*
fake the form-control outline
*/
&::before {
content: '';
position: absolute;
left: 0;
2017-07-28 14:45:32 +00:00
@include rtl(left, -3px);
top: -3px;
right: -3px;
2017-07-28 14:45:32 +00:00
@include rtl(right, 0);
bottom: -3px;
background: hsl(201, 62%, 90%);
@include bidi-style(
border-radius,
0 7px 7px 0,
border-radius,
7px 0 0 7px
);
2015-09-09 13:43:43 +00:00
}
}
}
}
2015-09-09 13:43:43 +00:00
.controls-button {
position: relative;
display: flex;
&.is-active .icon {
fill: $highlight-color;
}
}
.controls-button-inner {
display: flex;
justify-content: center;
align-items: center;
padding: 0 10px;
background: white;
position: relative;
border: 1px solid hsl(0, 0%, 90%);
2017-07-28 14:45:32 +00:00
@include bidi-style(border-radius, 0 3px 3px 0, border-radius, 3px 0 0 3px);
.icon {
fill: hsl(0, 0%, 61%);
}
&:hover .icon {
fill: hsl(0, 0%, 33%);
}
}
2015-06-09 17:51:43 +00:00
.searchfield {
position: relative;
margin-bottom: 20px;
2019-06-04 03:40:48 +00:00
.icon-magnifier,
.search-loader {
2017-07-28 14:45:32 +00:00
@include bidi-style(left, 15px, right, auto);
2015-06-25 10:31:55 +00:00
top: 12px;
2015-06-09 17:51:43 +00:00
width: 17px;
height: 17px;
position: absolute;
fill: hsl(60, 1%, 61%);
transition: 0.1s 0s;
2019-06-04 03:40:48 +00:00
pointer-events: none;
}
.search-loader {
z-index: 2;
opacity: 0;
.icon {
width: 17px;
height: 17px;
}
2015-06-09 17:51:43 +00:00
}
input[type='search'] {
2015-06-09 17:51:43 +00:00
appearance: textfield;
border-radius: 19px;
2015-06-25 10:31:55 +00:00
padding: 0 17px 0 42px;
2017-07-28 14:45:32 +00:00
@include rtl(padding, 0 42px 0 17px);
will-change: transform;
2019-06-04 03:40:48 +00:00
&.is-empty ~ .empty-search,
&:placeholder-shown ~ .empty-search {
visibility: hidden;
}
2019-06-04 03:40:48 +00:00
&.loading {
~ .search-loader {
opacity: 1;
transition: 0.2s 0.5s;
2019-06-04 03:40:48 +00:00
}
~ .icon-magnifier {
opacity: 0;
transition: 0.2s 0.5s;
2019-06-04 03:40:48 +00:00
}
}
2015-06-09 17:51:43 +00:00
}
input[type='search']::-webkit-search-cancel-button,
input[type='search']::-webkit-search-decoration {
2015-06-09 17:51:43 +00:00
-webkit-appearance: none;
}
.empty-search {
2019-06-04 03:40:48 +00:00
height: 100%;
width: 50px;
visibility: visible;
.icon {
2019-06-04 03:40:48 +00:00
width: 13px;
height: 13px;
fill: hsl(60, 1%, 61%);
opacity: 0.5;
}
}
2015-06-09 17:51:43 +00:00
}
2014-07-02 15:15:50 +00:00
.content {
overflow: auto;
-webkit-overflow-scrolling: touch;
2014-08-07 21:53:46 +00:00
position: relative;
background-color: #f8f9fa;
@include phone {
@include bidi-style(margin-left, $mobileNavigationWidth, margin-right, 0);
-webkit-overflow-scrolling: touch;
.navigation:hover ~ &,
.navigation.is-hovered ~ &,
.navigation:active ~ & {
transform: translateX(
#{$mobileNavigationWidthOpen - $mobileNavigationWidth}
);
@include rtl(
transform,
translateX(-#{$mobileNavigationWidthOpen - $mobileNavigationWidth})
);
}
}
}
.content.fit {
padding: 10px;
background: #2c2d36;
z-index: 501;
}
2014-07-02 15:15:50 +00:00
.fullscreenMessage {
padding: 22px;
display: flex;
align-items: center;
justify-content: center;
2015-05-22 07:31:42 +00:00
flex: 1;
2015-06-08 13:21:47 +00:00
.icon {
2017-07-28 14:45:32 +00:00
@include bidi-style(margin-right, 14px, margin-left, 0);
2015-01-15 10:12:02 +00:00
}
2019-06-04 03:40:48 +00:00
.icon-error {
margin-top: -2px;
width: 19px;
height: 19px;
}
.icon-checkmark {
width: 21px;
height: 18px;
margin-right: 11px;
margin-top: -2px;
}
2015-01-15 10:12:02 +00:00
h2 {
margin: 0;
}
}
2019-06-04 03:40:48 +00:00
.fullscreenMessage--placeholder {
flex-direction: column;
2019-06-04 03:40:48 +00:00
.icon {
width: 100px;
height: 100px;
}
h2 {
margin: 15px;
color: hsl(0, 0%, 60%);
2019-06-04 03:40:48 +00:00
}
}
2015-06-03 11:56:15 +00:00
.selected-clue {
position: relative;
@extend .zIndex-11;
pointer-events: none;
2015-06-03 11:56:15 +00:00
}
2015-06-08 09:16:08 +00:00
.modal--clue {
display: flex;
align-items: center;
justify-content: center;
@extend .zIndex-5;
2016-05-19 08:20:38 +00:00
2015-06-08 09:16:08 +00:00
.modal-backdrop {
bottom: 0;
2015-06-09 14:17:56 +00:00
width: 200%;
height: 200%;
left: -100%;
top: -100%;
background: radial-gradient(
hsla(202, 68%, 54%, 0.1),
hsla(202, 68%, 54%, 0.9)
);
2015-06-08 09:16:08 +00:00
}
2015-06-03 11:56:15 +00:00
2015-06-08 09:16:08 +00:00
.modal-spacer {
position: absolute;
opacity: 0;
padding: 18px;
}
2015-06-03 11:56:15 +00:00
2015-06-08 09:16:08 +00:00
.modal-arrow {
background: inherit;
width: 20px;
height: 20px;
position: absolute;
margin: -10px 0 53px -10px;
left: 0;
top: 50%;
transform: rotate(45deg);
2015-06-03 11:56:15 +00:00
}
.modal-spacer[data-position='above'] .modal-arrow {
2015-06-08 09:16:08 +00:00
left: 50%;
top: 100%;
background: hsl(210, 5%, 97%);
2015-06-08 09:16:08 +00:00
}
2015-06-03 11:56:15 +00:00
.modal-spacer[data-position='below'] .modal-arrow {
2015-06-08 09:16:08 +00:00
left: 50%;
top: 0;
}
2015-06-03 11:56:15 +00:00
.modal-spacer[data-position='left'] .modal-arrow {
2015-06-08 09:16:08 +00:00
left: 100%;
top: 50%;
}
.modal-content {
border: none;
width: 300px;
box-shadow: 0 8px 17px 0 rgba(0, 0, 0, 0.1),
2015-06-08 09:16:08 +00:00
0 6px 20px 0 rgba(0, 0, 0, 0.05);
@include phone {
width: 280px;
}
2015-06-08 09:16:08 +00:00
}
.modal-controls {
background: hsl(210, 5%, 97%);
2015-06-08 09:16:08 +00:00
margin: 23px 0 0;
2015-07-15 15:15:39 +00:00
padding: 10px;
2015-06-08 09:16:08 +00:00
display: flex;
align-items: center;
justify-content: space-between;
2015-06-03 11:56:15 +00:00
}
2015-06-08 09:16:08 +00:00
.modal-control {
2016-03-04 14:05:07 +00:00
padding-left: 14px;
padding-right: 14px;
2016-05-19 08:20:38 +00:00
2015-06-08 09:16:08 +00:00
.btn.is-disabled {
opacity: 1;
color: hsl(240, 5%, 83%);
2015-06-08 09:16:08 +00:00
}
}
.modal-header {
padding-bottom: 7px;
font-size: 18px;
2015-06-03 11:56:15 +00:00
}
2015-06-08 09:16:08 +00:00
.modal-body {
max-width: 340px;
}
2015-06-03 11:56:15 +00:00
}
2019-06-04 03:40:48 +00:00
.knowledge-base-content-can-be-published-dialog-current {
margin-bottom: 20px;
text-align: center;
}
.knowledge-base-content-can-be-published-dialog {
display: flex;
.side-panel {
flex-grow: 1;
width: 300px;
}
.call-to-action {
display: flex;
align-items: center;
justify-content: center;
a {
}
}
}
.kb-sidebar-block-content {
& .kb-item--invisible {
opacity: 0.5;
2019-06-04 03:40:48 +00:00
}
& .kb-item--missing-translation,
& .kb-item--missing-translation:active,
& .kb-item--missing-translation:focus {
color: hsl(45, 98%, 63%);
2019-06-04 03:40:48 +00:00
}
}
.kb-menu-preview {
margin-bottom: 1em;
&-container {
display: flex;
flex-wrap: wrap;
justify-content: flex-end;
border: 1px solid hsl(213, 14%, 91%);
&--footer {
justify-content: center;
}
}
a,
span {
font-size: 14px;
padding: 0.5em 1em;
white-space: nowrap;
text-decoration: none;
line-height: 2em;
}
a {
color: inherit;
}
.label {
text-transform: none;
}
}
.modified-icon {
position: relative;
line-height: 1;
display: block;
.nav-pills > li > a & {
align-self: center;
}
.icon {
fill: currentColor;
}
.modified-icon-modifier {
bottom: 0;
right: 0;
position: absolute;
z-index: 1;
fill: white;
margin: 0 -2px -1px 0;
.nav-pills > li:hover > a & {
fill: #f2f2f3;
}
}
.icon-knowledge-base-answer + .modified-icon-modifier {
margin: 0 -1px 2px 0;
}
.icon-published-modifier {
display: none;
}
}
2015-06-08 09:16:08 +00:00
kbd {
background: hsl(200, 8%, 90%);
2015-06-08 09:16:08 +00:00
border-radius: 3px;
border: 1px solid hsl(240, 7%, 77%);
box-shadow: 0 1px rgba(0, 0, 0, 0.08);
color: hsl(240, 7%, 37%);
2015-06-08 09:16:08 +00:00
display: inline-block;
font-size: 12px;
margin: 0 1px;
padding: 0 4px;
vertical-align: top;
2015-06-03 11:56:15 +00:00
}
.form-stacked .checkbox label {
color: inherit;
font-size: 13px;
text-transform: inherit;
vertical-align: baseline;
letter-spacing: inherit;
2014-04-07 06:39:45 +00:00
}
2014-07-23 19:47:57 +00:00
.pagination {
margin: 0 0 0 19px;
2017-07-28 14:45:32 +00:00
@includ rtl(margin, 0 19px 0 0);
display: flex;
}
2012-04-23 17:22:34 +00:00
2016-05-19 08:20:38 +00:00
.pagination > li > a,
2014-07-23 19:47:57 +00:00
.pagination > li > span {
padding: 0;
width: 31px;
height: 31px;
border-color: #e5e5e5;
2017-07-28 14:45:32 +00:00
@include bidi-style(margin-left, -1px, margin-right, 0);
}
.pagination > li:first-child > a,
.pagination > li:first-child > span {
@include bidi-style(border-top-left-radius, 4px, border-top-right-radius, 0);
@include bidi-style(
border-bottom-left-radius,
4px,
border-bottom-right-radius,
0
);
2017-07-28 14:45:32 +00:00
}
2017-07-28 14:45:32 +00:00
.pagination > li:last-child > a,
.pagination > li:last-child > span {
@include bidi-style(border-top-right-radius, 4px, border-top-left-radius, 0);
@include bidi-style(
border-bottom-right-radius,
4px,
border-bottom-left-radius,
0
);
2014-07-23 19:47:57 +00:00
}
2016-05-19 08:20:38 +00:00
.pagination > .active > a,
.pagination > .active > span,
.pagination > .active > a:hover,
.pagination > .active > span:hover,
.pagination > .active > a:focus,
2015-01-12 13:32:24 +00:00
.pagination > .active > span:focus {
background: #0f94d6;
border-color: #0f94d6;
2015-01-12 13:32:24 +00:00
}
2014-07-23 19:47:57 +00:00
.pagination-counter {
margin: 0 0 0 19px;
2017-07-28 14:45:32 +00:00
@include rtl(margin, 0 19px 0 0);
line-height: 33px;
2014-07-23 19:47:57 +00:00
color: #9c9c9b;
}
2014-07-23 19:47:57 +00:00
.pagination-items-range {
color: #706f6f;
2013-07-30 13:58:33 +00:00
}
2014-10-01 11:57:36 +00:00
.page-header {
2015-05-27 12:21:56 +00:00
margin: 0 0 15px;
padding: 0;
display: flex;
align-items: center;
flex-wrap: wrap;
2019-06-04 03:40:48 +00:00
width: 100%;
@include phone {
align-items: flex-start;
flex-wrap: nowrap;
}
2013-07-30 13:58:33 +00:00
}
2014-07-23 19:47:57 +00:00
2015-10-20 15:16:29 +00:00
.page-header--center {
justify-content: center;
}
2015-12-14 15:15:54 +00:00
.page-header-title {
display: flex;
align-items: center;
2016-05-19 08:20:38 +00:00
2015-12-14 15:15:54 +00:00
.zammad-switch {
2017-07-28 14:45:32 +00:00
@include bidi-style(margin-right, 9px, margin-left, 0);
2015-12-14 15:15:54 +00:00
}
h1,
h2 {
margin-top: 9px;
margin-bottom: 7px;
@include phone {
margin-top: 4px;
}
2015-12-14 15:15:54 +00:00
}
2019-06-04 03:40:48 +00:00
.suffix {
margin-left: 5px;
margin-top: 6px;
display: inline-block;
@include phone {
margin-top: 4px;
}
2019-06-04 03:40:48 +00:00
}
2015-10-06 19:51:28 +00:00
}
.page-header-center {
justify-self: center;
2017-07-28 14:45:32 +00:00
@include bidi-style(padding-left, 9px, padding-right, 0);
2015-10-06 19:51:28 +00:00
margin: 0 auto;
2016-05-19 08:20:38 +00:00
2015-10-06 19:51:28 +00:00
& + .page-header-meta {
2017-07-28 14:45:32 +00:00
@include bidi-style(margin-left, 0, margin-right, auto);
2016-01-12 10:31:52 +00:00
flex: none;
2015-10-06 19:51:28 +00:00
}
2014-07-24 14:41:53 +00:00
}
2013-07-30 13:58:33 +00:00
.page-header-meta {
2017-07-28 14:45:32 +00:00
@include bidi-style(margin-left, auto, margin-right, 0);
@include bidi-style(padding-left, 20px, padding-right, 0);
display: flex;
2015-12-14 15:12:33 +00:00
justify-content: flex-end;
flex: 1;
2015-12-14 15:12:33 +00:00
min-width: 0; /* firefox flexbug */
@include phone {
flex: 0 1 auto;
min-width: auto;
}
2016-05-19 08:20:38 +00:00
.btn {
overflow: hidden;
2015-12-14 15:12:33 +00:00
text-overflow: ellipsis;
white-space: nowrap;
@include phone {
flex-shrink: 0;
}
}
2015-05-27 12:21:56 +00:00
.btn + .btn {
2017-07-28 14:45:32 +00:00
@include bidi-style(margin-left, 9px, margin-right, 0);
}
}
.page-content {
.formGroup-label label,
.label {
color: hsl(197, 18%, 70%);
}
.help-text,
.help-block {
color: hsl(198, 19%, 72%);
}
.content-controls-align-right {
display: flex;
justify-content: flex-end;
}
}
.page-description p {
color: initial;
}
2015-10-20 15:16:29 +00:00
.page-body--two-column {
display: flex;
}
.page-aside {
2017-07-28 14:45:32 +00:00
@include bidi-style(padding-right, 20px, padding-left, 0);
@include bidi-style(
border-right,
1px solid hsl(0, 0%, 90%),
border-left,
none
);
2017-07-28 14:45:32 +00:00
@include bidi-style(margin-right, 20px, margin-left, 0);
2015-10-20 15:16:29 +00:00
width: 240px;
flex-shrink: 0;
flex-grow: 0;
}
.page-main {
flex: 1;
}
2015-10-19 09:52:29 +00:00
.page-loading {
min-height: 500px;
2019-06-04 03:40:48 +00:00
flex-grow: 1;
2015-10-19 09:52:29 +00:00
display: flex;
align-items: center;
justify-content: center;
}
2016-05-19 08:20:38 +00:00
2015-10-19 09:52:29 +00:00
.page-loading-label {
2017-07-28 14:45:32 +00:00
@include bidi-style(margin-left, 10px, margin-right, 0);
2015-10-19 09:52:29 +00:00
margin-top: 1px;
}
2012-10-17 16:08:03 +00:00
.dropdown-menu .count {
2012-10-17 20:58:43 +00:00
padding-top: 1px;
2017-07-28 14:45:32 +00:00
@include bidi-style(margin-left, 10px, margin-right, 0);
2012-10-17 16:08:03 +00:00
}
2014-09-30 11:15:40 +00:00
.help-block {
margin: 0;
2014-11-14 10:15:00 +00:00
color: #bcbcbc;
font-size: 13px;
2016-05-19 08:20:38 +00:00
2014-11-14 10:15:00 +00:00
&.help-block--center {
text-align: center;
}
2014-09-30 11:15:40 +00:00
}
.help-block:not(:empty) {
margin: 8px 2px 0;
}
/* replace music icon with attachment */
.icon-attachment {
background-position: -24px 0;
}
2013-07-30 13:58:33 +00:00
/*
* hero-unit (used on getstarted, login, signup)
*/
2013-07-30 13:58:33 +00:00
.hero-unit {
2014-07-02 15:15:50 +00:00
width: 500px;
2014-07-07 10:31:03 +00:00
margin: 10px 0;
padding: 23px 25px;
2014-07-02 15:15:50 +00:00
border: 1px solid #e5f0f5;
2013-07-30 13:58:33 +00:00
color: inherit;
2014-07-02 15:15:50 +00:00
background-color: white;
border-radius: 6px;
box-shadow: 0 8px 17px 0 rgba(0, 0, 0, 0.2), 0 6px 20px 0 rgba(0, 0, 0, 0.19);
@include phone {
width: auto;
padding: 12px 15px;
}
2016-05-19 08:20:38 +00:00
2015-09-25 12:02:27 +00:00
label {
color: hsl(0, 0%, 60%);
2015-09-25 12:02:27 +00:00
}
.inline-label {
font-size: inherit;
}
2013-09-18 13:06:57 +00:00
}
.hero-unit h1,
.hero-unit h2 {
margin-top: 0;
}
2012-11-12 14:05:53 +00:00
.getstarted,
2014-10-07 10:23:03 +00:00
.reset_password,
.signup,
.darkBackground,
.login {
2014-07-12 16:36:23 +00:00
padding: 10px;
background: hsl(234, 10%, 19%);
2014-07-12 16:36:23 +00:00
}
2014-11-17 15:08:24 +00:00
.content.getstarted {
padding: 0;
2014-11-17 15:08:24 +00:00
.main {
padding: 20px 10px;
}
}
2014-11-17 09:54:40 +00:00
.login {
padding: 24px;
color: hsl(212, 8%, 40%);
@include phone {
padding: 15px 10px;
}
a {
color: hsl(229, 2%, 51%);
}
&.login--fancy {
color: hsla(0, 0%, 100%, 0.7);
background: radial-gradient(
circle at 49.06% 50.5%,
#a36f71,
transparent 74%
),
radial-gradient(circle at 6.95% 9.56%, #745479, transparent 100%),
radial-gradient(circle at 2.58% 98.57%, #392e3e, transparent 51%),
radial-gradient(circle at 82.11% 97.15%, #5c404e, transparent 100%),
radial-gradient(circle at 50% 50%, #8b6b76, #8b6b76 100%);
2016-05-19 08:20:38 +00:00
a {
color: white;
}
.hero-unit {
box-shadow: 0 8px 17px 0 rgba(0, 0, 0, 0.1),
0 6px 20px 0 rgba(0, 0, 0, 0.09);
}
}
2017-09-26 07:26:40 +00:00
.btn:not(.btn--text) {
min-width: calc(33.33% - 6px); // auth provider width
2017-09-26 07:26:40 +00:00
}
2014-11-17 09:54:40 +00:00
}
.login .hero-unit {
width: 430px;
margin: 0 0 28px;
@include phone {
width: auto;
}
}
.login .company-logo {
max-height: 100px;
max-width: 200px;
margin: 20px auto 42px;
display: block;
@include phone {
margin: 15px auto 28px;
}
}
.login p {
margin: 0 auto 22px;
max-width: 400px;
text-align: center;
@include phone {
margin: 0 auto 15px;
}
}
.login hr {
margin: 0 auto 22px;
border-top-color: hsl(240, 5%, 27%);
width: 100%;
max-width: 400px;
}
.login p a {
text-decoration: underline;
}
2014-11-17 09:54:40 +00:00
.poweredBy {
display: flex;
align-items: center;
justify-content: center;
color: hsl(233, 7%, 26%);
margin: 34px 0 10px -16px;
@include rtl(margin, 34px -16px 10px 0);
2014-11-17 09:54:40 +00:00
cursor: default;
2016-05-19 08:20:38 +00:00
2015-09-25 12:27:33 +00:00
.icon-logo {
2017-07-28 14:45:32 +00:00
@include bidi-style(margin-right, 8px, margin-left, 0);
2014-11-17 09:54:40 +00:00
margin-top: -11px;
}
2014-11-17 09:54:40 +00:00
.logotype {
2017-07-28 14:45:32 +00:00
@include bidi-style(margin-left, 7px, margin-left, 0);
2015-10-07 11:34:14 +00:00
margin-top: -3px;
fill: hsl(225, 9%, 27%);
}
2014-11-17 09:54:40 +00:00
}
.fullscreen {
@extend .fit;
display: flex;
flex-direction: column;
align-items: center;
width: 100%;
height: 100%;
min-height: 100vh;
overflow: auto;
-webkit-overflow-scrolling: touch;
}
2015-09-25 11:37:37 +00:00
.fullscreen p {
color: hsl(212, 8%, 40%);
2015-09-25 11:37:37 +00:00
}
.fullscreen-center {
margin: auto;
}
.fullscreen-body {
2017-07-28 14:45:32 +00:00
text-align: start;
display: inline-block;
}
2014-07-02 15:15:50 +00:00
ol.tabs {
list-style: decimal inside;
}
ol.tabs li {
display: list-item;
}
.tabs {
2015-10-20 15:16:29 +00:00
display: flex;
2014-09-18 10:40:17 +00:00
padding: 0;
margin-bottom: 20px;
2014-07-02 15:15:50 +00:00
color: #b8b8b8;
border: 1px solid rgba(0, 8, 14, 0.08);
2014-07-02 15:15:50 +00:00
border-radius: 3px;
2015-10-20 15:16:29 +00:00
background: white;
@include phone {
overflow: auto;
-webkit-overflow-scrolling: touch;
}
2014-07-02 15:15:50 +00:00
}
.tabs-condensed .tab {
padding-left: 5px;
padding-right: 5px;
}
2014-07-02 15:15:50 +00:00
.progress-tabs .tab {
cursor: default;
}
2014-07-02 15:31:34 +00:00
.tab {
color: inherit;
height: 35px;
padding: 8px 20px;
display: flex;
justify-content: center;
align-items: center;
border-right: 1px solid rgba(0, 8, 14, 0.08);
min-width: 0;
flex-grow: 1;
@extend .u-clickable;
2016-05-19 08:20:38 +00:00
@include phone {
flex-shrink: 0;
display: block;
text-align: center;
}
2016-05-19 08:20:38 +00:00
&.active {
color: white;
background: #444a4f;
box-shadow: none;
flex-shrink: 0;
2019-06-04 03:40:48 +00:00
.tab-badge {
background: hsl(207, 8%, 24%);
2019-06-04 03:40:48 +00:00
}
}
2019-06-04 03:40:48 +00:00
&-name {
min-width: 20px;
text-align: center;
white-space: nowrap;
overflow: hidden;
text-overflow: ellipsis;
2014-07-02 15:15:50 +00:00
}
&-badge {
flex-shrink: 0;
2016-05-19 08:20:38 +00:00
@include bidi-style(margin-left, 6px, margin-right, 0);
2016-05-19 08:20:38 +00:00
font-size: 13px;
margin-right: -7px;
background: hsl(0, 0%, 94%);
min-width: 21px;
padding: 0 7px;
height: 21px;
line-height: 21px;
white-space: nowrap;
text-align: center;
display: inline-block;
border-radius: 999px;
}
}
2016-05-19 08:20:38 +00:00
.tab-dropdown {
position: relative;
display: flex;
align-items: center;
justify-content: center;
2016-05-19 08:20:38 +00:00
.arrow {
@include bidi-style(margin-left, 10px, margin-right, 0);
opacity: 0.75;
2014-07-02 15:15:50 +00:00
}
2014-07-02 15:31:34 +00:00
.icon {
fill: hsl(0, 0%, 70%);
2014-07-02 15:15:50 +00:00
}
&.active {
background: white;
2014-07-02 15:15:50 +00:00
.icon {
fill: #444a4f;
opacity: 1;
}
}
}
.tab:first-child {
border-radius: 3px 0 0 3px;
2016-05-19 08:20:38 +00:00
@include rtl(border-radius, 0 3px 3px 0);
@include bidi-style(border-right-width, 1px, border-right-width, 0);
}
.tab:last-child:not(:only-child) {
border-radius: 0 3px 3px 0;
@include bidi-style(border-right-width, 0, border-right-width, 1px);
@include rtl(border-radius, 3px 0 0 3px);
}
.tab:only-child {
border-radius: 3px;
@include bidi-style(border-right-width, 0, border-right-width, 1px);
}
.tabs.tabs--inline {
display: inline-flex;
margin-left: 0;
margin-right: 0;
.tab {
flex: none;
&:nth-last-child(2) {
@include bidi-style(border-right-width, 0, border-right-width, 1px);
2015-11-04 15:39:03 +00:00
}
}
}
2015-11-04 15:39:03 +00:00
.tabs--big {
margin: 28px auto;
font-size: 14px;
border-radius: 8px;
@include phone {
margin: 5px auto 28px;
}
.tab {
height: auto;
padding: 10px 23px 9px;
@include phone {
padding: 8px 20px;
}
2016-05-19 08:20:38 +00:00
&:first-child {
border-radius: 8px 0 0 8px;
2016-05-19 08:20:38 +00:00
@include rtl(border-radius, 0 8px 8px 0);
}
&:last-child {
border-radius: 0 8px 8px 0;
@include rtl(border-radius, 8px 0 0 8px);
}
&:only-child {
border-radius: 8px;
2015-10-20 15:16:29 +00:00
}
2014-07-18 16:18:13 +00:00
}
.tab-dropdown {
padding-left: 18px;
padding-right: 15px;
@include rtl(padding-left, 15px);
@include rtl(padding-right, 18px);
}
}
.dashboard .tabs--big {
width: 50%;
@include phone {
width: auto;
2015-11-04 15:39:03 +00:00
}
}
2015-11-04 15:39:03 +00:00
2014-07-07 10:31:03 +00:00
.separator {
margin: 20px 0;
position: relative;
text-align: center;
}
.separator::before {
content: '';
position: absolute;
width: 100%;
height: 1px;
top: 50%;
left: 0;
background: #e6e6e6;
}
2014-07-07 10:31:03 +00:00
.separator-text {
padding: 0 10px;
color: #999;
font-size: 12px;
letter-spacing: 0.05em;
text-transform: uppercase;
background: white;
display: inline-block;
position: relative;
}
2014-07-07 10:31:03 +00:00
.auth-providers {
display: flex;
flex-wrap: wrap;
justify-content: space-between;
margin-bottom: -10px;
> form {
width: calc(33.33% - 6px);
}
}
.auth-provider {
width: 100%;
height: 40px;
padding: 0 10px 0 7px;
margin-bottom: 10px;
color: white !important;
line-height: 23px;
2014-11-14 10:15:00 +00:00
border-radius: 4px;
display: flex;
align-items: center;
text-decoration: none;
border: none;
text-align: initial;
2016-05-19 08:20:38 +00:00
&.auth-provider--wide {
2014-11-14 10:15:00 +00:00
padding-right: 25px;
}
2014-07-07 10:31:03 +00:00
&.auth-provider--facebook {
2014-11-14 10:15:00 +00:00
background: #4f699c;
}
&.auth-provider--google {
background: hsl(0, 0%, 93%);
color: hsl(0, 0%, 46%) !important;
2014-11-14 10:15:00 +00:00
}
&.auth-provider--twitter {
background: #2daee1;
2014-07-07 10:31:03 +00:00
}
&.auth-provider--email {
background: #ffd22e;
2014-07-07 10:31:03 +00:00
}
&.auth-provider--linkedin {
background: #006087;
2014-07-07 10:31:03 +00:00
}
&.auth-provider--github {
background: hsl(0, 0%, 27%);
}
&.auth-provider--gitlab {
background: hsl(10, 78%, 53%);
}
2017-07-14 09:47:45 +00:00
&.auth-provider--office365 {
background: hsl(15, 100%, 47%);
2017-07-14 09:47:45 +00:00
}
2017-09-26 14:41:55 +00:00
&.auth-provider--weibo {
background: hsl(0, 0%, 27%);
2017-09-26 14:41:55 +00:00
}
&.auth-provider--saml {
background: hsl(0, 0%, 27%);
}
&.auth-provider--sso {
background: #454545;
}
.provider-name {
flex: 1;
}
.provider-icon {
2017-01-11 15:13:29 +00:00
width: 29px;
height: 24px;
2017-07-28 14:45:32 +00:00
@include bidi-style(margin-right, 10px, margin-left, 0);
2014-07-07 10:31:03 +00:00
}
}
2014-07-07 10:31:03 +00:00
/*
global icon definitions
=======================
*/
2015-05-07 17:27:53 +00:00
2019-06-04 03:40:48 +00:00
[data-font] {
font-style: normal;
text-rendering: auto;
font-feature-settings: 'liga';
-webkit-font-smoothing: antialiased;
-moz-osx-font-smoothing: grayscale;
font-size: 16px;
}
[data-font='FontAwesome'] {
2019-06-04 03:40:48 +00:00
font-size: 14px;
}
[data-font='material'] {
2019-06-04 03:40:48 +00:00
font-size: 18px;
}
[data-font='ionicons'] {
2019-06-04 03:40:48 +00:00
font-size: 18px;
}
.icon-arrow-down,
.icon-arrow-up,
.icon-arrow-left,
.icon-arrow-right {
fill: black;
opacity: 0.39;
2019-06-04 03:40:48 +00:00
.btn--action & {
opacity: 1;
}
}
2016-01-14 11:13:31 +00:00
.icon-arrow-left,
.icon-arrow-right {
&.arrow--x2 {
width: 14px;
height: 26px;
}
}
.icon-arrow-left,
.icon-arrow-right,
.icon-line-left-arrow,
.icon-line-right-arrow,
.icon-long-arrow-right {
@include rtl(transform, scaleX(-1));
}
.arrow--disabled {
opacity: 0.23;
}
.icon-checkmark {
fill: $supergood-color;
}
.icon-error {
fill: $superbad-color;
}
2019-06-04 03:40:48 +00:00
.icon-danger {
color: hsl(41, 100%, 49%);
2019-06-04 03:40:48 +00:00
}
.icon-draggable {
opacity: 0.3;
2019-06-04 03:40:48 +00:00
.table-draggable & {
vertical-align: middle;
}
}
.icon-knowledge-base {
fill: hsl(208, 8%, 29%);
2019-06-04 03:40:48 +00:00
}
2015-05-26 08:10:29 +00:00
.loading.icon {
display: inline-block;
width: 30px;
height: 30px;
background: hsl(145, 51%, 45%);
2015-05-26 08:10:29 +00:00
animation: rotateplane 1.2s infinite ease-in-out;
}
2015-05-26 08:10:29 +00:00
.small.loading.icon {
width: 20px;
height: 20px;
}
2015-03-10 20:11:36 +00:00
2015-09-30 12:22:12 +00:00
.tiny.loading.icon {
width: 12px;
height: 12px;
}
2015-11-24 13:05:13 +00:00
.loading.icon.muted {
background: hsl(195, 20%, 96%);
2015-11-24 13:05:13 +00:00
}
2015-05-26 08:10:29 +00:00
@keyframes rotateplane {
2016-05-19 08:20:38 +00:00
0% {
2015-05-26 08:10:29 +00:00
transform: perspective(120px) rotateX(0deg) rotateY(0deg);
}
50% {
2015-05-26 08:10:29 +00:00
transform: perspective(120px) rotateX(-180.1deg) rotateY(0deg);
}
100% {
2015-05-26 08:10:29 +00:00
transform: perspective(120px) rotateX(-180deg) rotateY(-179.9deg);
2015-03-10 20:11:36 +00:00
}
2015-05-26 08:10:29 +00:00
}
2015-03-10 20:11:36 +00:00
2018-11-06 21:24:29 +00:00
.icon-spinner-medium {
animation: spinIcon 0.9s steps(12) infinite;
2018-11-06 21:24:29 +00:00
}
.icon-spinner-small {
animation: spinIcon 0.9s steps(8) infinite;
2018-11-06 21:24:29 +00:00
}
@keyframes spinIcon {
to {
transform: rotate(-1turn);
}
}
2015-05-26 08:10:29 +00:00
.color-swatch {
2015-11-25 14:08:11 +00:00
padding: 2px;
2017-07-28 14:45:32 +00:00
margin: -2px 0 -4px;
@extend %clickable;
2016-05-19 08:20:38 +00:00
2015-11-25 14:08:11 +00:00
/* :after technique for bigger click area */
&::after {
content: '';
2015-11-25 14:08:11 +00:00
display: inline-block;
height: 11px;
width: 11px;
border-radius: 100%;
background: currentColor;
}
2015-05-26 08:10:29 +00:00
}
2015-03-10 20:11:36 +00:00
2015-09-07 22:05:15 +00:00
.icon-status {
fill: $ok-color;
2016-05-19 08:20:38 +00:00
2015-09-07 22:05:15 +00:00
&.inline {
2015-09-17 12:19:30 +00:00
margin-top: -3px;
vertical-align: middle;
2015-09-07 22:05:15 +00:00
}
2016-05-19 08:20:38 +00:00
2016-04-15 13:14:28 +00:00
&.inactive {
fill: hsl(198, 18%, 86%);
2016-04-15 13:14:28 +00:00
}
2015-09-07 22:05:15 +00:00
&.ok {
fill: $supergood-color;
}
2015-09-07 22:05:15 +00:00
&.error {
fill: $superbad-color;
}
2016-05-03 10:06:40 +00:00
&.neutral {
fill: $ok-color;
}
2015-09-07 22:05:15 +00:00
}
2015-10-06 19:51:28 +00:00
.icon-status-modified-inner-circle {
position: absolute;
left: 50%;
2015-10-06 19:51:28 +00:00
top: 0;
will-change: opacity;
transform: translate3d(-50%, 0, 0);
2015-10-06 19:51:28 +00:00
animation: fade 1.8s ease-in-out infinite;
}
@keyframes fade {
54% {
opacity: 1;
}
90% {
opacity: 0;
}
to {
opacity: 1;
}
2015-10-06 19:51:28 +00:00
}
2015-09-29 12:07:25 +00:00
.icon-checkbox,
.icon-checkbox-checked,
.icon-checkbox-indeterminate {
2015-09-29 12:07:25 +00:00
fill: white;
}
.icon-sso-button {
fill: white;
}
/*
* removed margin of forms to not break the layout with submit buttons within <form></form> area e. g. for modal dialogs
*/
2019-06-04 03:40:48 +00:00
.form {
margin: 0;
2016-05-19 08:20:38 +00:00
2019-06-04 03:40:48 +00:00
&--flexibleWidth .controls {
display: table;
}
2019-06-04 03:40:48 +00:00
&--horizontal {
display: flex;
flex-wrap: wrap;
align-items: flex-end;
2019-06-04 03:40:48 +00:00
.alert {
flex-basis: 100%;
}
fieldset {
flex: 1 1 auto;
margin-right: 6px;
}
2019-06-04 03:40:48 +00:00
.form-group:last-child {
margin-bottom: 0;
}
.form-buttons {
margin: 10px 10px 0 auto;
}
.controls {
min-width: 250px;
}
}
&--grid {
display: flex;
flex-wrap: wrap;
width: calc(100% + 20px);
margin-left: -10px;
margin-right: -10px;
@include phone {
display: block;
}
2019-06-04 03:40:48 +00:00
fieldset {
flex-basis: 100%;
display: flex;
flex-wrap: wrap;
}
.alert {
width: 100%;
margin-left: 10px;
margin-right: 10px;
margin-bottom: 10px;
margin-top: 0;
}
.form-group {
display: block;
padding: 0 10px;
width: 100%;
$sizes: '1/2', '1/3', '2/3', '1/4', '2/4', '3/4', '1/5', '2/5', '3/5',
'4/5';
@each $size in $sizes {
&[data-width='#{$size}'] {
width: calc(#{$size} * 100%);
@include phone {
width: 100%;
}
}
}
}
}
}
.form-controls {
@extend .clearfix;
display: flex;
align-items: center;
margin-top: 10px;
2016-05-19 08:20:38 +00:00
.btn + .btn:not(.align-right) {
2017-07-28 14:45:32 +00:00
@include bidi-style(margin-left, 20px, margin-right, 10px);
}
}
2019-06-04 03:40:48 +00:00
.form-buttons {
display: flex;
}
form a.standalone {
line-height: 40px;
margin: 0 5px;
}
form a.standalone.align-right {
@include bidi-style(margin-left, auto, margin-right, 0);
}
2012-04-10 14:06:46 +00:00
footer {
2013-07-30 13:58:33 +00:00
clear: both;
padding-top: 10px;
2013-07-30 13:58:33 +00:00
padding-left: 10px;
padding-right: 22px;
2017-07-28 14:45:32 +00:00
@include rtl(padding-left, 22px);
@include rtl(padding-right, 10px);
2012-04-10 14:06:46 +00:00
}
2012-11-07 09:04:16 +00:00
.can-move {
cursor: move;
}
2012-12-07 00:01:43 +00:00
.can-move-placeholder {
border: 1px dashed #ddd;
background: #eee;
margin-top: 5px;
margin-bottom: 5px;
2012-11-07 09:04:16 +00:00
}
2013-08-04 22:03:13 +00:00
.customer_info {
}
.customer_info ul.nav > li {
width: 50%;
}
2013-08-04 22:03:13 +00:00
.customer_info ul.nav > li > a {
@extend .u-textTruncate;
2013-08-04 22:03:13 +00:00
}
2013-08-04 22:03:13 +00:00
.customer_info .thumbnail {
position: absolute;
right: 20px;
2013-08-04 22:03:13 +00:00
}
2013-08-04 22:03:13 +00:00
.customer_info textarea {
2017-07-28 14:45:32 +00:00
@include bidi-style(padding-left, 10px, padding-right, 0);
2013-08-04 22:03:13 +00:00
width: 100%;
border-color: #eee;
}
.overviews {
.sidebar {
@include small-desktop {
display: none;
}
}
.table > tbody > tr > td {
user-select: none;
}
}
.overview-header {
position: relative;
2015-11-05 11:04:29 +00:00
margin: 20px 0 32px;
height: 41px;
display: none;
2015-11-05 11:04:29 +00:00
align-items: center;
@include phone {
margin-top: 0;
}
2016-05-19 08:20:38 +00:00
2015-11-05 11:04:29 +00:00
.tabsHolder {
flex: 1;
2017-07-28 14:45:32 +00:00
@include bidi-style(margin-right, 20px, margin-left, 0);
2015-11-25 11:22:17 +00:00
min-width: 0; /* Firefox bug fix */
2015-11-05 11:04:29 +00:00
}
2016-05-19 08:20:38 +00:00
.tabs {
2015-11-05 11:04:29 +00:00
margin: 0;
position: relative;
@include phone {
overflow: visible;
}
}
.tab {
@include phone {
flex-shrink: 1;
}
}
.tabs-clone {
right: 0;
}
.dropdown {
min-width: 0;
width: 336px;
@include phone {
left: -1px;
right: auto;
width: calc(100vw - 70px);
}
}
@include small-desktop {
2015-11-05 11:04:29 +00:00
display: flex;
}
2014-08-05 13:05:11 +00:00
}
.table-overview {
@include phone {
margin-left: -10px;
margin-right: -10px;
}
}
2015-01-12 13:32:24 +00:00
.tableOverview-edit {
2015-05-08 09:58:00 +00:00
@extend .u-clickable, .u-highlight;
2015-01-12 13:32:24 +00:00
}
.bulkAction {
position: fixed;
bottom: 0;
2021-03-29 14:02:23 +00:00
@include bidi-style(left, $sidebarWidth + $navigationWidth, right, 0);
min-width: $minWidth - $sidebarWidth - $navigationWidth;
2014-08-05 13:05:11 +00:00
background: white;
z-index: 1;
box-shadow: 0 -1px rgba(0, 0, 0, 0.05), 0 -2px rgba(0, 0, 0, 0.03),
0 -3px rgba(0, 0, 0, 0.01);
2016-05-19 08:20:38 +00:00
@include small-desktop {
2021-03-29 14:02:23 +00:00
@include bidi-style(left, $navigationWidth, right, 0);
min-width: $minWidth - $sidebarWidth;
}
2021-03-29 14:02:23 +00:00
&.no-sidebar {
@include bidi-style(left, $navigationWidth, right, 0);
min-width: $minWidth - $navigationWidth;
@include small-desktop {
min-width: $minWidth;
}
}
2021-03-29 14:02:23 +00:00
@include phone {
@include bidi-style(left, $mobileNavigationWidth, right, 0);
2021-03-29 14:02:23 +00:00
min-width: 0;
.navigation:hover ~ &,
.navigation.is-hovered ~ &,
.navigation:active ~ & {
@include bidi-style(left, $mobileNavigationWidthOpen, right, 0);
}
}
2013-09-18 21:04:18 +00:00
}
.bulkAction-firstStep {
display: flex;
align-items: center;
@include phone {
flex-direction: column;
align-items: flex-end;
2015-10-19 12:10:36 +00:00
}
}
2015-10-19 12:10:36 +00:00
.bulkAction-firstStep .has-error {
border-color: red !important;
border: 1px solid;
}
.bulkAction-secondStep {
display: flex;
flex-direction: column;
&-bottom {
display: flex;
@include phone {
display: block;
2021-03-29 14:02:23 +00:00
}
2015-10-19 12:10:36 +00:00
}
}
2015-10-19 12:10:36 +00:00
.bulkAction .btn {
margin: 0 16px;
@include phone {
margin: 10px;
2015-10-19 12:10:36 +00:00
}
}
2015-10-19 12:10:36 +00:00
.bulkAction .btn--text {
@include bidi-style(margin-right, 0, margin-left, 16px);
}
2014-09-19 11:39:56 +00:00
.bulkAction-controls {
margin-top: 10px;
@include bidi-style(margin-left, auto, margin-right, 0);
@include phone {
margin-top: 0;
display: flex;
justify-content: space-between;
2014-09-19 11:39:56 +00:00
}
}
2014-09-19 11:39:56 +00:00
2015-10-20 15:16:29 +00:00
.panel {
box-shadow: none;
color: hsl(60, 1%, 34%);
2015-10-20 15:16:29 +00:00
}
.panel-default > .panel-heading {
padding-bottom: 8px;
font-weight: normal;
text-transform: uppercase;
font-size: 12px;
line-height: 17px;
letter-spacing: 0.05em;
background: hsl(197, 20%, 93%);
background: hsl(197, 20%, 93%);
border-color: hsl(198, 18%, 86%);
2015-10-20 15:16:29 +00:00
}
.panel-title {
font-size: inherit;
}
.panel-group .panel-heading {
display: block;
}
.panel-body ul {
list-style: none;
padding: 0;
margin: 0;
}
.well {
background: white;
border: 1px solid hsl(240, 3%, 92%);
border-radius: 3px;
padding: 10px;
}
.well-muted {
background-color: whitesmoke;
border: 1px solid #eee;
border: 1px solid rgba(0, 0, 0, 0.05);
border-radius: 4px;
2013-07-30 13:58:33 +00:00
box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.05);
2012-04-10 14:06:46 +00:00
}
.merged,
.merge:hover {
2012-08-24 18:54:57 +00:00
text-decoration: line-through;
}
2012-05-13 12:53:35 +00:00
.translation {
border: 1px dotted #f92;
2012-05-13 12:53:35 +00:00
border-radius: 3px;
cursor: text;
2012-05-13 12:53:35 +00:00
}
2012-05-13 12:53:35 +00:00
.translation:hover {
}
.translation[contenteditable='true'] {
2015-04-27 06:20:52 +00:00
display: inline;
}
.translation[contenteditable='true']:hover,
.translation[contenteditable='true']:focus {
background: none;
}
2012-05-13 12:53:35 +00:00
.translation .icon-edit {
display: none;
}
.translation:hover .icon-edit {
display: inline-block;
}
2016-03-07 01:25:52 +00:00
.translationOverview .btn + .btn {
margin: -10px;
}
.sub_attribute .control-label {
width: 60px;
}
.sub_attribute .controls {
2017-07-28 14:45:32 +00:00
@include bidi-style(margin-left, 80px, margin-right, 0);
}
2015-10-05 12:10:45 +00:00
.splash {
position: absolute;
2015-10-05 12:10:45 +00:00
left: 0;
2013-08-19 20:46:19 +00:00
top: 0;
2015-10-05 12:10:45 +00:00
width: 100%;
height: 100%;
background: hsl(210, 0%, 98%);
2015-10-05 12:10:45 +00:00
display: flex;
align-items: center;
justify-content: center;
font-size: 16px;
color: hsl(0, 0%, 45%);
2016-05-19 08:20:38 +00:00
2015-10-05 12:10:45 +00:00
.icon {
2017-07-28 14:45:32 +00:00
@include bidi-style(margin-right, 10px, margin-left, 0);
2015-10-05 12:54:53 +00:00
filter: grayscale(90%);
2015-10-05 12:10:45 +00:00
}
}
2013-08-19 20:46:19 +00:00
2014-07-07 17:18:51 +00:00
.navigation {
width: $navigationWidth;
background: hsl(232, 10%, 16%);
2014-07-12 16:36:23 +00:00
position: relative;
@include phone {
position: absolute;
@include bidi-style(left, 0, right, auto);
top: 0;
left: 0;
width: $mobileNavigationWidth;
height: 100%;
z-index: 1;
overflow-x: hidden;
overflow-y: auto;
&:empty {
display: none !important;
}
&:hover,
&:active,
&.is-hovered {
width: $mobileNavigationWidthOpen;
.menu-item-name {
display: block;
padding-left: 15px;
}
}
2014-07-12 16:36:23 +00:00
}
}
2014-07-12 16:36:23 +00:00
2015-10-07 11:34:14 +00:00
.menu {
padding: 0;
margin: 0;
list-style: none;
flex-shrink: 0;
}
2014-07-07 17:18:51 +00:00
.menu .badge {
background: $ok-color;
color: hsl(233, 10%, 16%);
2015-10-06 19:51:28 +00:00
@include bidi-style(margin-right, 8px, margin-left, 0);
}
2015-10-06 19:51:28 +00:00
.menu .zammad-switch {
height: 22px;
}
2015-10-07 12:18:32 +00:00
.menu .dropdown-menu {
left: 10px;
right: 15px;
min-width: 0;
}
.menu-item {
padding: 0 15px;
height: 48px;
color: rgba(240, 250, 255, 0.25);
border-bottom: 1px solid rgba(240, 250, 255, 0.05);
text-decoration: none;
display: flex;
align-items: center;
2014-07-07 17:18:51 +00:00
@extend %clickable;
2019-06-04 03:40:48 +00:00
@include phone {
padding: 0 13px;
position: relative;
}
2015-10-07 12:18:32 +00:00
.accessory-icon {
fill: hsl(208, 8%, 29%);
}
&:hover {
background: hsl(230, 10%, 13%);
border-bottom-color: rgba(240, 250, 255, 0.08);
}
2014-09-19 11:39:56 +00:00
&.is-active,
&.is-hovered {
background: none;
color: white;
}
&.is-active .menu-item-icon,
&.is-active .dropdown-icon,
&.is-hovered .menu-item-icon {
fill: currentColor;
}
2016-05-19 08:20:38 +00:00
&.is-active,
&.is-hovered {
background: hsl(202, 68%, 54%);
}
&.is-active .zammad-switch {
input:not(:checked) + label {
// switch background
background: hsl(202, 68%, 43%);
2015-10-07 11:34:14 +00:00
}
2014-07-07 17:18:51 +00:00
label::after {
background: white;
2015-10-07 11:34:14 +00:00
}
}
.dropdown-icon {
fill: currentColor;
}
.zammad-switch {
@include phone {
.navigation:not(:hover):not(:active):not(.is-hovered) & {
position: absolute;
right: 12px;
top: 12px;
width: auto;
height: auto;
border-radius: 0;
input:checked + label {
background: $supergood-color;
}
label {
width: 8px;
height: 8px;
background: red;
border-radius: 100%;
transition: none;
&::after {
display: none;
}
}
}
}
}
}
.menu-item-icon {
@include bidi-style(margin-right, 15px, margin-left, 0);
width: 24px;
height: 24px;
fill: hsl(206, 7%, 37%);
@include phone {
@include bidi-style(margin-right, 0, margin-left, 0);
2014-07-07 17:18:51 +00:00
}
}
2014-07-07 17:18:51 +00:00
.menu-item-name {
flex: 1;
margin-top: 2px;
@include phone {
display: none;
2015-10-05 14:59:53 +00:00
}
}
2015-10-05 14:59:53 +00:00
.call-widgets {
overflow-y: auto;
max-height: 30vh;
}
.call-widget {
background: hsl(228, 17%, 91%);
padding: 8px 10px;
& + & {
border-top: 1px solid hsl(228, 10%, 81%);
}
&-header {
display: flex;
color: inherit;
margin-bottom: 3px;
.label {
color: inherit;
margin: 0;
}
.btn--text {
color: inherit;
opacity: 0.5;
&:hover {
opacity: 1;
}
}
.icon-diagonal-cross {
width: 9px;
height: 9px;
margin-top: -5px;
}
}
.text-muted {
color: hsl(228, 6%, 67%);
}
}
.tasks {
2014-07-09 14:49:42 +00:00
background: #2c2d36;
2015-05-26 08:10:29 +00:00
flex: 1;
2015-06-11 12:48:38 +00:00
overflow: auto;
-webkit-overflow-scrolling: touch;
@include phone {
overflow-x: hidden;
min-height: 60px;
}
}
.tasks.tasks--standalone {
background: none;
margin: 8px 0 0;
padding: 0;
overflow: visible;
}
.tasks--standalone .task {
padding: 0;
margin-bottom: 9px;
display: flex;
.icon-holder {
&:first-child .icon-task-state {
margin-left: -2px;
2014-11-07 13:37:02 +00:00
}
.icon {
width: 16px;
height: 16px;
vertical-align: middle;
2015-06-11 14:06:02 +00:00
@include bidi-style(margin-right, 4px, margin-left, 0);
}
}
}
.tasks--standalone .task-text {
flex: 1;
min-width: 0; /* Firefox wrong content-calculation with word-wrap workaround */
}
.tasks--standalone .task-id {
&::after {
content: ' - ';
}
}
.tasks--standalone .name {
@extend .u-highlight, .u-textTruncate;
display: block;
}
.tasks--standalone .time {
color: hsl(198, 19%, 72%);
}
2014-07-09 14:49:42 +00:00
.tasks--standalone .btn-show-all {
margin-bottom: 9px;
}
2014-07-15 08:30:50 +00:00
.nav-tab {
@include bidi-style(padding, 10px 15px 9px 0, padding, 10px 0 9px 15px);
2014-07-14 07:45:43 +00:00
position: relative;
color: #808080;
display: flex;
align-items: center;
@extend .u-clickable;
@include phone {
width: $mobileNavigationWidthOpen;
}
}
.tasks-navigation .nav-tab {
height: 40px;
border-bottom: 1px solid #33363e;
}
.tasks-navigation .nav-tab:not(.is-active):hover {
background: #26272e;
}
2014-07-09 14:49:42 +00:00
.navigation .nav-tab-name {
text-align: start;
&.is-inactive {
text-decoration: line-through;
opacity: 0.73;
2015-05-27 09:30:58 +00:00
}
}
2015-05-27 09:30:58 +00:00
.tasks-navigation .nav-tab-icon .error {
transform: scale(0.85);
}
.nav-tab:hover {
color: #808080;
text-decoration: none;
}
2014-07-09 14:49:42 +00:00
.nav-tab.is-active,
.nav-tab.nav-tab--search:hover,
.nav-tab.nav-tab--search.is-hover {
background: #389ed9;
color: white;
2015-06-02 11:35:45 +00:00
.nav-tab-icon .icon {
fill: white;
}
}
.nav-tab.ui-sortable-helper {
border-bottom-color: transparent;
}
.nav-tab.nav-tab--search {
height: 30px;
padding-top: 9px;
&.is-inactive {
text-decoration: line-through;
opacity: 0.73;
2015-06-10 10:49:57 +00:00
}
}
2015-06-10 10:49:57 +00:00
.nav-tab-icon {
margin-top: -3px;
display: flex;
align-items: center;
justify-content: center;
position: relative;
width: 30px;
}
.nav-tab-icon .icon {
max-width: 18px;
max-height: 18px;
fill: #808080;
}
.nav-tab-icon .icon-diagonal-cross {
fill: #f35910;
width: 12px;
height: 12px;
}
.nav-tab-icon .icon.icon-loading {
animation: rotateplane 1.2s infinite ease-in-out;
fill: $supergood-color;
/*
Safari font rendering bugfix while animating
http://stackoverflow.com/questions/9733011/safari-changing-font-weights-when-unrelated-animations-are-running
*/
@extend .zIndex-5; // stay beneath .global-search-menu
2015-05-22 10:36:12 +00:00
position: relative;
}
.nav-tab-close {
position: absolute;
@include bidi-style(right, 0, left, auto);
top: 0;
height: 100%;
@include bidi-style(padding-right, 16px, padding-left, 0);
visibility: hidden;
@extend .u-clickable;
display: flex;
align-items: center;
@include phone {
visibility: visible;
2014-07-09 14:49:42 +00:00
}
}
2014-07-09 14:49:42 +00:00
.nav-tab:hover .nav-tab-close {
visibility: visible;
}
2014-07-09 14:49:42 +00:00
.nav-tab-close-inner {
width: 19px;
height: 19px;
background-color: #2c2d36;
border-radius: 100%;
display: flex;
align-items: center;
justify-content: center;
}
2014-07-09 14:49:42 +00:00
.nav-tab-close:hover .nav-tab-close-inner {
background-color: #972e29;
}
2014-09-15 22:09:42 +00:00
.nav-tab-close svg {
width: 9px;
height: 9px;
fill: white;
opacity: 0.3;
}
2014-09-15 22:09:42 +00:00
.nav-tab-close:hover svg {
opacity: 1;
}
2014-07-09 14:49:42 +00:00
2019-06-04 03:40:48 +00:00
.icon-task-state {
margin-top: -2px;
vertical-align: middle;
}
2015-09-29 12:07:25 +00:00
.nav-tab-icon .icon-task-state {
margin: 0;
}
.nav-tab.task-state-open.is-active {
background-color: $task-state-open-color;
}
2015-09-29 12:07:25 +00:00
.task-state-open-color {
color: $task-state-open-color;
}
2015-09-29 12:07:25 +00:00
.icon-task-state.open {
fill: $task-state-open-color;
}
2015-09-29 12:07:25 +00:00
.nav-tab.task-state-closed.is-active {
background-color: $task-state-closed-color;
}
2015-09-29 12:07:25 +00:00
.task-state-closed-color {
color: $task-state-closed-color;
}
2015-09-29 12:07:25 +00:00
.icon-task-state.closed {
fill: $task-state-closed-color;
}
2015-09-29 12:07:25 +00:00
.nav-tab.task-state-escalating.is-active {
background-color: $task-state-escalating-color;
}
2015-09-29 12:07:25 +00:00
.task-state-escalating-color {
color: $task-state-escalating-color;
}
2015-09-29 12:07:25 +00:00
.icon-task-state.escalating {
fill: $task-state-escalating-color;
}
2019-06-04 03:40:48 +00:00
// TODO: rename to knowledgebase icon when it's available
.icon-task-state.archived {
fill: $superbad-color;
}
.icon-task-state.published {
fill: $supergood-color;
}
.icon-task-state.draft {
fill: $ghost-color;
}
2015-09-29 12:07:25 +00:00
// pending: stays blue
// .nav-tab.task-state-pending.is-active {
// background-color: $task-state-pending-color;
// }
.task-state-pending-color {
color: $task-state-pending-color;
}
2015-09-29 12:07:25 +00:00
.icon-task-state.pending {
fill: $task-state-pending-color;
}
2018-11-06 21:24:29 +00:00
.state-badge {
display: flex;
align-items: center;
2018-11-06 21:24:29 +00:00
.icon-task-state {
2019-06-04 03:40:48 +00:00
@include bidi-style(margin-right, 2px, margin-left, 0);
2018-11-06 21:24:29 +00:00
}
}
2014-07-07 17:18:51 +00:00
.search {
2015-06-08 09:16:08 +00:00
padding: 11px 5px 4px 10px;
@include rtl(padding, 11px 10px 4px 0);
border-bottom: 1px solid rgba(240, 250, 255, 0.05);
flex-shrink: 0;
2015-05-26 08:10:29 +00:00
display: flex;
2018-11-06 21:24:29 +00:00
align-items: flex-start;
2015-06-03 11:56:15 +00:00
background-color: inherit;
@include phone {
padding: 10px 5px 5px;
@include rtl(padding, 10px 5px 5px);
display: block;
}
2014-07-07 17:18:51 +00:00
}
.search-holder {
flex: 1;
border-radius: 15px;
position: relative;
transition: margin-right 120ms;
will-change: margin-right;
@include phone {
transition: none;
will-change: initial;
2014-07-12 16:36:23 +00:00
}
}
2014-07-12 16:36:23 +00:00
.empty-search {
position: absolute;
2015-05-07 17:27:53 +00:00
@include bidi-style(right, 0, left, auto);
2014-07-12 16:36:23 +00:00
top: 0;
height: 30px;
width: 40px;
z-index: 1;
visibility: hidden;
display: flex;
align-items: center;
justify-content: center;
2014-07-07 17:18:51 +00:00
@extend %clickable;
}
.search .empty-search .icon-diagonal-cross {
fill: white;
opacity: 0.5;
}
2015-06-10 09:41:36 +00:00
.filled.search .empty-search {
visibility: visible;
}
2014-07-07 17:18:51 +00:00
.search input[type='search'] {
width: 100%;
padding: 5px 33px;
height: 30px;
color: #ececec;
background: #31373b;
line-height: 20px;
outline: none;
border: none;
border-radius: 15px;
position: relative;
z-index: 1;
appearance: textfield;
@include phone {
padding: 5px 33px;
font-size: 16px;
2018-11-06 21:24:29 +00:00
}
}
2018-11-06 21:24:29 +00:00
.search:not(.filled):not(.focused) input[type='search'] {
@include phone {
padding: 0;
2018-11-06 21:24:29 +00:00
}
}
2018-11-06 21:24:29 +00:00
input[type='search']::-webkit-search-cancel-button,
input[type='search']::-webkit-search-decoration {
-webkit-appearance: none;
}
.search .search-loader {
position: absolute;
top: 8px;
left: 10px;
z-index: 2;
opacity: 0;
transition: 0.1s 0s;
pointer-events: none;
.icon {
2015-05-07 17:27:53 +00:00
fill: white;
opacity: 0.5;
2018-11-06 21:24:29 +00:00
}
}
2018-11-06 21:24:29 +00:00
.search.loading .search-loader {
opacity: 1;
transition: 0.2s 0.5s;
}
2015-05-07 17:27:53 +00:00
.search .icon-magnifier {
position: absolute;
top: 8px;
left: 10px;
@include bidi-style(left, 10px, right, auto);
z-index: 2;
opacity: 0.5;
fill: white;
transition: 0.1s 0s;
pointer-events: none;
}
.search.loading .icon-magnifier {
opacity: 0;
transition: 0.2s 0.5s;
}
.search.focused .search-holder {
transition: margin-right 240ms;
@include bidi-style(margin-right, -59px, margin-left, 0);
@include phone {
margin: 0 !important;
}
}
.search.focused .logo {
opacity: 0;
z-index: -1;
@include phone {
opacity: 1;
z-index: initial;
}
}
.search.filled {
.search-holder {
@include phone {
.navigation:not(:hover):not(:active):not(.is-hovered) & {
width: 210px;
}
}
}
.logo {
@include phone {
opacity: 0;
}
}
}
.search .logo {
position: relative;
@extend .u-clickable, .zIndex-3;
2014-08-05 13:26:57 +00:00
margin: -4px 10px 0 12px;
transition: 240ms;
@include phone {
margin: 10px 0 0;
2014-07-12 16:36:23 +00:00
}
}
2014-07-12 16:36:23 +00:00
.search .logo .icon-logo {
position: relative;
@include phone {
width: 35px;
height: 30px;
margin-left: 4px;
2014-07-12 16:36:23 +00:00
}
}
2014-07-12 16:36:23 +00:00
.search .logo .activity-counter {
min-width: 21px;
position: absolute;
right: -3px;
bottom: 2px;
padding: 0 4px;
font-size: 12px;
font-weight: 300;
line-height: 16px;
text-align: center;
color: white;
text-shadow: 0 1px 1px rgba(0, 0, 0, 0.21);
background: hsl(360, 71%, 60%);
border-radius: 10px;
border: 2px solid hsl(233, 10%, 16%);
}
.search .logo .activity-counter:empty {
display: none;
}
.global-search-menu {
@extend .zIndex-7;
background: #26272e;
position: absolute;
left: 0;
right: 0;
bottom: 0;
top: 53px;
display: none;
overflow: auto;
-webkit-overflow-scrolling: touch;
.divider {
height: 1px;
background: #2f3238;
margin: 14px 0 17px;
}
}
.search.open .global-search-menu {
display: block;
}
.global-search-detail-link {
padding: 9px 15px 8px 0;
margin-bottom: 7px;
height: auto !important;
.no-match & {
display: none;
2014-07-12 16:36:23 +00:00
}
.nav-tab-icon {
width: 18px;
margin-left: 10px;
margin-right: 10px;
2018-11-06 21:24:29 +00:00
.icon {
width: 18px;
height: 14px;
2018-11-06 21:24:29 +00:00
}
}
.nav-tab-name {
.icon {
fill: currentColor;
margin: -2px 0 0 3px;
vertical-align: middle;
}
}
}
.global-search-result {
margin: 0;
padding: 0;
list-style: none;
}
.global-search-detail-no-result {
margin: 0 10px;
.icon {
width: 30px;
height: 29px;
}
}
.user-menu {
padding: 0;
margin: 0;
list-style: none;
position: relative;
flex-shrink: 0;
display: flex;
@include phone {
flex-direction: column;
}
}
.user-menu > li {
flex: 1;
background: #26272e;
}
2015-11-11 10:57:34 +00:00
.user-menu .list-button {
height: 60px;
position: relative;
text-decoration: none;
@extend .u-clickable;
display: flex;
align-items: center;
justify-content: center;
2015-05-07 17:27:53 +00:00
@include phone {
height: 46px;
}
}
2015-05-07 17:27:53 +00:00
.user-menu .list-button *:not(.dropdown-nose):not(.icon-crown) {
position: relative;
}
2015-11-11 10:57:34 +00:00
.user-menu > li:hover .list-button::before,
.user-menu > li.is-active .list-button::before,
.user-menu > li.is-hovered .list-button::before {
content: '';
position: absolute;
top: 4px;
right: 4px;
bottom: 4px;
left: 4px;
background: white;
}
.user-menu > li.is-active .list-button::before {
background: $highlight-color;
}
.user-menu li.add:hover .list-button::before,
.user-menu li.add.is-active .list-button::before,
.user-menu li.add.is-hovered .list-button::before {
background: #38ae6a;
}
.user-menu-icon {
width: 20px;
height: 20px;
fill: hsl(0, 0%, 30%);
}
.user-menu-icon.icon-plus {
fill: hsl(145, 51%, 45%);
}
.user-menu > li:hover .user-menu-icon {
fill: hsl(232, 10%, 16%);
}
.user-menu > li.is-active .user-menu-icon {
fill: white;
}
.user-menu > li.add:hover .user-menu-icon.icon-plus,
.user-menu > li.add.is-hovered .user-menu-icon.icon-plus,
.user-menu > li.add.is-active .user-menu-icon.icon-plus {
fill: white;
}
.user-menu > li:not(:last-child) {
border-right: 1px solid #2c2d36;
@include phone {
border: none;
}
}
.dropdown-nose {
position: absolute;
border: 7px solid transparent;
border-bottom: none;
border-top: 7px solid white;
left: 50%;
margin-left: -7px;
top: -6px;
display: none;
}
li.add .dropdown-nose {
border-top-color: #38af6e;
}
2015-05-28 15:25:07 +00:00
.open.dropdown .dropdown-nose,
.open.dropup .dropdown-nose {
display: block;
}
.user-menu .dropdown-menu {
padding: 0;
border-radius: 0;
margin-bottom: 5px;
min-width: 0;
left: 10px;
right: 15px;
width: auto;
}
.user-menu li.add .dropdown-menu {
background-color: #38af6e;
}
.user-menu li.add .dropdown-menu li > a {
color: white;
}
.user-menu li.add .dropdown-menu .divider {
background: #4cb77c;
}
.user-menu .dropdown-menu .divider {
margin: 0;
}
.user-menu .dropdown-menu > li > a {
display: flex;
}
.avatar {
width: 40px;
height: 40px;
background-size: cover;
background-position: center;
border-radius: 100%;
display: inline-block;
vertical-align: bottom;
position: relative;
2016-06-03 12:54:10 +00:00
flex-shrink: 0;
@include phone {
width: 30px;
height: 30px;
}
&.size-30 {
width: 30px;
height: 30px;
@include phone {
width: 22px;
height: 22px;
}
}
.icon-crown {
position: absolute;
2015-09-15 13:57:24 +00:00
width: 28px;
2015-09-15 13:42:33 +00:00
left: 50%;
2015-09-15 13:57:24 +00:00
margin-left: -14px;
2015-09-15 13:42:33 +00:00
top: -15px;
fill: hsl(47, 100%, 59%);
@include phone {
width: 20px;
margin-left: -10px;
}
2015-02-06 15:19:07 +00:00
}
&-status {
position: absolute;
right: -4px;
bottom: -4px;
border-radius: 999px;
background: hsl(234, 10%, 19%);
fill: white;
width: 21px;
height: 21px;
display: flex;
align-items: center;
justify-content: center;
}
&.size-50 {
2014-08-05 15:31:26 +00:00
width: 50px;
height: 50px;
@include phone {
width: 36px;
height: 36px;
}
.icon-crown {
2015-09-15 13:57:24 +00:00
width: 36px;
margin-left: -18px;
@include phone {
width: 26px;
margin-left: -13px;
}
}
2014-08-05 15:31:26 +00:00
}
&.size-80 {
width: 82px;
height: 82px;
@include phone {
width: 60px;
height: 60px;
}
.icon-crown {
2015-09-15 12:59:02 +00:00
width: 64px;
2015-09-15 13:42:33 +00:00
margin-left: -32px;
top: -16px;
@include phone {
width: 46px;
margin-left: -43px;
top: -15px;
}
}
}
&--vacation {
filter: grayscale(70%);
opacity: 1;
}
&--idle {
filter: grayscale(100%);
opacity: 0.5;
}
&--inactive {
filter: grayscale(100%);
opacity: 0.2;
}
&--unique {
background-image: image_url('/assets/images/avatar-bg.png');
background-size: 300px 226px;
2014-09-18 10:40:17 +00:00
color: white;
2015-05-26 21:53:16 +00:00
line-height: 40px;
2014-09-18 10:40:17 +00:00
text-align: center;
font-size: 13px;
2015-09-22 13:19:05 +00:00
letter-spacing: 0.05em;
2014-09-18 10:40:17 +00:00
text-transform: uppercase;
text-shadow: 0 1px rgba(0, 0, 0, 0.2);
cursor: default;
@include phone {
line-height: 30px;
}
&.size-30 {
font-size: 10px;
line-height: 32px;
background-size: 225px 170px;
@include phone {
line-height: 22px;
}
}
2014-09-18 10:40:17 +00:00
&.size-50 {
font-size: 16px;
line-height: 52px;
background-size: 375px 283px;
@include phone {
line-height: 38px;
}
}
&.size-80 {
font-size: 26px;
line-height: 84px;
background-size: 600px 452px;
@include phone {
line-height: 62px;
}
}
2015-02-06 15:19:07 +00:00
}
2015-10-15 14:13:27 +00:00
2017-01-06 17:05:08 +00:00
&--organization {
display: flex;
align-items: center;
justify-content: center;
2017-01-06 17:05:08 +00:00
.icon-organization {
fill: currentColor;
}
&.size-80 {
.icon-organization {
width: 32px;
height: 32px;
}
}
}
&--group {
overflow: hidden;
.icon {
fill: white;
position: absolute;
left: 50%;
transform: translateX(-50%);
width: 44px;
height: 44px;
bottom: -8px;
}
&.size-30 .icon {
width: 33px;
height: 33px;
bottom: -6px;
}
&.size-50 .icon {
width: 55px;
height: 55px;
bottom: -10px;
}
&.size-80 .icon {
width: 88px;
height: 88px;
bottom: -15px;
}
&-color-0 {
background: hsl(192, 100%, 38%);
}
&-color-1 {
background: hsl(148, 100%, 38%);
}
&-color-2 {
background: hsl(57, 100%, 37%);
}
}
2015-10-19 09:15:43 +00:00
.icon-logo {
2015-10-15 14:13:27 +00:00
width: 100%;
height: 100%;
}
}
2015-02-06 15:19:07 +00:00
2014-07-07 17:18:51 +00:00
.sidebar {
position: relative;
width: 280px;
2014-09-24 11:24:01 +00:00
padding: 20px;
color: hsl(60, 1%, 34%);
2014-07-07 17:18:51 +00:00
background: white;
2017-07-28 14:45:32 +00:00
@include bidi-style(border-right, 1px solid #e6e6e6, border-left, none);
2014-07-07 18:31:45 +00:00
overflow: auto;
-webkit-overflow-scrolling: touch;
@include small-desktop {
&.optional {
display: none;
}
}
2015-09-30 14:07:10 +00:00
h2 {
margin-top: 0;
}
2014-07-07 17:18:51 +00:00
h3 {
margin: 0;
color: rgba(0, 8, 14, 0.73);
font-weight: normal;
font-size: 16px;
text-transform: initial;
letter-spacing: 0;
}
}
.sidebar-block {
margin: 20px 0;
2015-01-16 16:33:42 +00:00
&:first-child {
margin-top: 0;
}
2019-06-04 03:40:48 +00:00
&-actions {
margin-bottom: 7px;
}
&-header {
margin-bottom: 7px;
2019-06-04 03:40:48 +00:00
h2 {
margin: 0;
}
}
[contenteditable='true'] {
2019-06-04 03:40:48 +00:00
white-space: normal; // do no u-textTruncate, we want to edit it inline
}
.btn-list {
margin-bottom: 5px;
}
2021-08-16 08:20:07 +00:00
&-button {
.sidebar-block-header + &.text-muted {
margin-top: 3px;
}
}
}
2021-03-10 16:11:14 +00:00
.sidebar-git-issue-delete {
text-align: right;
@include rtl(text-align, left);
2021-03-10 16:11:14 +00:00
float: right;
@include rtl(float, left);
2021-03-10 16:11:14 +00:00
}
.sidebar-git-issue-content {
width: 90%;
}
.main + .sidebar {
border-right: none;
border-left: 1px solid #e6e6e6;
}
2014-08-05 15:31:26 +00:00
.NavBarAdmin.sidebar,
.NavBarProfile.sidebar {
width: $sidebarWidth;
@include phone {
width: 50px;
padding-left: 10px;
padding-right: 10px;
&:hover,
&:active {
width: 165px;
padding-left: 15px;
padding-right: 15px;
}
}
h2 {
2014-09-25 13:42:21 +00:00
margin: 21px 0 12px;
@include phone {
white-space: nowrap;
}
2014-09-25 13:42:21 +00:00
}
2014-07-24 14:59:43 +00:00
h2:first-child {
margin-top: 0;
}
}
.nav-stacked > li + li {
margin-top: 0;
}
2014-07-07 18:31:45 +00:00
.nav-pills > li > a,
.nav-pills > li > a:focus,
.nav-pills > li > a:active,
.nav-pills .nav-pills-placeholder {
color: #0f94d6;
border-radius: 0;
background: transparent; /* a:focus, a:active with bg: transparent fixes gray focus bg in IE 10 */
display: flex;
2014-07-07 18:31:45 +00:00
@extend .u-textTruncate;
}
.nav-pills.nav-stacked > li > a,
.nav-pills.nav-stacked > li > a:focus,
.nav-pills.nav-stacked > li > a:active,
.nav-pills.nav-stacked .nav-pills-placeholder {
padding: 0;
height: 40px;
line-height: 39px;
border-top: 1px solid #f2f2f3;
}
2019-06-04 03:40:48 +00:00
.nav-pills.nav-stacked .nav-pills-placeholder {
display: block;
border-top: none;
2014-07-07 18:31:45 +00:00
@extend .label-subtle;
@extend .u-textTruncate;
}
.nav-pills > li:hover > a {
background: #f2f2f3;
}
2014-07-07 18:31:45 +00:00
.nav-pills.nav-stacked > li:hover > a,
.nav-pills.nav-stacked > li:hover + li:not(.active) > a {
border-color: transparent;
}
.nav-pills > li.active > a,
.nav-pills > li.active > a:hover,
.nav-pills > li.active > a:focus {
color: white;
background: #2c2d36;
border-color: initial;
}
2014-07-24 14:59:43 +00:00
.nav-pills.nav-stacked > li:hover > a,
.nav-pills.nav-stacked > li.active > a,
.nav-pills.nav-stacked > li.active > a:hover,
.nav-pills.nav-stacked > li.active > a:focus {
padding-left: 10px;
padding-right: 10px;
margin-left: -10px;
margin-right: -10px;
}
.sidebar:not(.NavBarAdmin) .nav-pills > li:first-child > a {
border-top: none;
}
.nav-pills > li > a > .icon {
fill: currentColor;
flex-shrink: 0;
align-self: center;
margin-top: -2px;
&:first-child {
@include bidi-style(margin-right, 5px, margin-left, 0);
&[data-font] {
@include bidi-style(margin-right, 10px, margin-left, 0);
@include bidi-style(margin-left, 5px, margin-right, 0);
}
}
}
.nav-pills > li > a > .badge {
margin-left: auto;
margin-right: 5px;
2014-07-24 14:59:43 +00:00
@include bidi-style(padding-left, 10px, padding-right, 0);
@include rtl(margin-left, 5px);
@include rtl(margin-right, auto);
}
a.list-group-item.active > .badge,
.nav-pills > .active > a > .badge {
color: #96969b;
background: none;
}
2014-07-24 14:59:43 +00:00
2014-07-07 17:18:51 +00:00
.main {
padding: 10px 20px;
2014-07-07 18:31:45 +00:00
overflow: auto;
-webkit-overflow-scrolling: touch;
2014-08-05 13:05:11 +00:00
position: relative;
@include phone {
padding: 10px;
}
&--large-padding {
padding: 30px 40px;
}
2014-07-15 08:30:50 +00:00
}
2015-11-17 16:01:52 +00:00
.main--tabs,
.main.no-padding {
padding: 0;
}
2014-08-06 17:36:45 +00:00
.tooltip {
font-family: inherit;
}
.tooltip-inner {
max-width: 400px;
}
2014-07-15 08:30:50 +00:00
.popover {
@extend .zIndex-7;
2017-04-28 10:12:04 +00:00
position: absolute;
font-family: inherit;
2014-07-15 08:30:50 +00:00
width: 372px;
max-width: 9999px;
border-radius: 0;
margin: 0 5px;
2014-07-15 08:30:50 +00:00
border: none;
color: hsl(206, 7%, 28%);
box-shadow: 0 1px 14px rgba(0, 8, 14, 0.25);
@include rtl(text-align, right);
@include phone {
width: auto;
}
2014-07-15 08:30:50 +00:00
}
2019-06-04 03:40:48 +00:00
.popover--has-horizontal-form {
width: auto;
}
.popover-body {
overflow: auto;
-webkit-overflow-scrolling: touch;
}
2015-03-25 17:00:00 +00:00
.popover-title {
border: none;
background: none;
padding: 21px 17px 4px;
.is-inactive {
text-decoration: line-through;
color: #ccc;
2014-07-15 08:30:50 +00:00
}
}
2014-07-15 08:30:50 +00:00
.popover-content {
padding: 0 17px;
margin-bottom: 21px;
.popover--has-horizontal-form & {
padding: 10px 5px 15px 15px;
margin-bottom: 0;
2014-07-15 08:30:50 +00:00
}
}
2014-07-15 08:30:50 +00:00
.popover.right {
margin-left: 4px;
}
2014-07-15 08:30:50 +00:00
.popover.right > .arrow {
border-right: none;
left: -9px;
}
2014-07-15 08:30:50 +00:00
.popover.top {
margin-bottom: 9px;
}
2017-07-28 14:45:32 +00:00
.popover.top > .arrow {
border-top: none;
bottom: -9px;
}
2014-07-15 08:30:50 +00:00
.popover.left {
margin-right: 9px;
margin-left: 0;
}
2014-07-15 08:30:50 +00:00
.popover.left > .arrow {
border-left: none;
right: -9px;
}
2014-07-15 08:30:50 +00:00
.popover.bottom {
margin-top: 9px;
}
2014-07-15 08:30:50 +00:00
.popover.bottom > .arrow {
border-bottom: none;
top: -9px;
}
2014-07-15 08:30:50 +00:00
.popover > .arrow::after {
border-width: 8px;
}
.popover .priority.icon::after {
background: white;
}
.popover .person .organization {
color: #a1a4a7;
}
2015-01-14 22:45:18 +00:00
.popover .person {
&.is-inactive {
text-decoration: line-through;
color: #ccc;
}
}
.popover .user-organization {
@extend .u-textTruncate;
2014-07-15 08:30:50 +00:00
margin-bottom: 8px;
margin-top: -4px;
2014-07-15 08:30:50 +00:00
&.is-inactive {
text-decoration: line-through;
color: #ccc;
}
}
.popover-block {
@extend .sidebar-block;
2016-03-23 14:16:04 +00:00
margin: 10px 0;
}
2014-07-15 08:30:50 +00:00
.popover hr {
margin: 8px 0;
}
2014-07-18 16:18:13 +00:00
.popover .person .organization::before {
content: '(';
}
.popover .person .organization::after {
content: ')';
}
.popover label {
font-size: 13px;
color: #a9bcc4;
font-weight: 300;
text-transform: uppercase;
letter-spacing: 0.05em;
}
.popover .two-columns,
.popover .three-columns {
margin-top: -8px;
}
.popover .column label {
margin: 8px 0 1px;
}
.popover .column {
margin-top: 8px;
}
.popover--notifications {
padding: 0;
left: $navigationWidth;
@include rtl(right, $navigationWidth);
margin: 8px 2px;
max-height: calc(100% - 16px);
width: auto;
max-width: 400px;
min-width: 350px;
flex-direction: column;
@extend .zIndex-10;
@include phone {
left: $mobileNavigationWidth;
@include rtl(right, $mobileNavigationWidth);
min-width: auto;
width: calc(100% - #{$mobileNavigationWidth} - 8px);
2015-01-20 01:44:33 +00:00
}
&.is-visible {
display: flex;
}
&.is-empty .popover-notificationsHeader {
box-shadow: none;
}
.arrow {
top: 23px !important;
left: -11px;
@include rtl(left, 408px);
@include rtl(transform, rotate(180deg));
@include phone {
top: 61px !important;
2015-01-20 01:44:33 +00:00
}
}
.popover-content {
padding-left: 0;
padding-right: 0;
margin-bottom: 0;
overflow-y: auto;
}
.popover-notificationsHeader {
box-shadow: 0 1px hsla(240, 4%, 95%, 0.5), 0 2px hsla(240, 4%, 95%, 0.2);
padding-bottom: 14px;
flex-shrink: 0;
.btn {
padding-top: 3px;
padding-bottom: 5px;
}
2015-01-19 12:21:43 +00:00
}
.activity-placeholder {
margin-bottom: 21px;
}
}
.popover-notificationsHeader {
padding-bottom: 8px;
margin: 21px 17px 0;
.popover-title {
@extend h1;
padding: 0;
line-height: 1;
2015-01-19 12:21:43 +00:00
}
.btn {
margin-top: 3px;
}
}
.popover-notificationsCounter {
color: #e25253;
@include bidi-style(padding-left, 3px, padding-right, 0);
}
2016-04-29 08:23:12 +00:00
.user-popover,
.ticket-popover,
.organization-popover {
@extend .u-clickable;
}
.user-card {
padding: 2px 0 0 50px;
position: relative;
min-height: 40px;
padding-right: 48px;
display: flex;
flex-direction: column;
justify-content: center;
min-width: 192px;
.avatar {
position: absolute;
left: 0;
top: 0;
}
.user-popover.is-inactive {
text-decoration: line-through;
opacity: 0.73;
}
.btn.js-newTicket {
position: absolute;
right: 0;
}
}
2015-05-08 09:58:00 +00:00
.stat-icon {
position: relative;
}
.mood-icon {
width: 60px;
height: 59px;
}
.stopwatch-icon {
position: absolute;
left: 0;
top: 0;
width: 100%;
height: 100%;
}
.stat-stopwatch {
width: 77px;
height: 83px;
position: relative;
}
.stat-channel-icon {
width: 16px;
height: 16px;
fill: hsl(198, 18%, 72%);
2015-05-08 09:58:00 +00:00
}
.total-tickets {
height: 83px;
width: 48px;
2017-07-28 14:45:32 +00:00
@include bidi-style(margin-right, 4px, margin-left, 0);
2015-05-08 09:58:00 +00:00
margin-bottom: -9px;
}
.one-ticket {
width: 48px;
height: 10px;
margin-top: -7px;
margin-bottom: 2px;
}
.stat-tickets {
height: 100px;
}
.in-process-icon {
width: 64px;
height: 64px;
}
.reopening-icon {
width: 68px;
height: 47px;
}
.supergood-color {
fill: $supergood-color;
}
.good-color {
fill: $good-color;
}
.ok-color {
fill: $ok-color;
}
.bad-color {
fill: $bad-color;
}
.superbad-color {
fill: $superbad-color;
}
.danger-color {
color: $danger-color;
}
2015-05-08 09:58:00 +00:00
2014-07-18 16:18:13 +00:00
.stat-widgets {
margin: -7px -7px 20px;
2014-07-18 16:18:13 +00:00
}
.stat-widget {
height: 200px;
padding: 10px 10px 8px;
text-align: center;
line-height: 20px;
}
2014-11-07 13:37:02 +00:00
.dashboard .stat-widget {
margin: 7px;
background: white;
border: 1px solid #e5f0f5;
border-radius: 1px;
box-shadow: 0 1px rgba(0, 8, 14, 0.02);
}
.stat-title {
font-size: 13px;
margin: 2px 0 8px;
color: #444a4f;
text-transform: uppercase;
font-weight: normal;
position: relative;
padding: 0 24px;
.tooltip {
text-transform: none;
width: 200px;
2014-07-18 16:18:13 +00:00
}
}
2014-07-18 16:18:13 +00:00
.stat-icon-help {
position: absolute;
right: 3px;
top: 1px;
opacity: 0.2;
cursor: help;
}
.notification-icon-help {
opacity: 0.2;
}
.stat-label {
color: #444a4f;
2014-07-18 16:18:13 +00:00
@extend .u-textTruncate;
}
.stat-detail {
color: #b4b7b9;
2014-07-18 16:18:13 +00:00
@extend .u-textTruncate;
}
2014-07-18 16:18:13 +00:00
.channel-distribution.stat-widget {
color: #a1a4a7;
}
2014-07-18 16:18:13 +00:00
.stat-graphic {
flex: 1;
display: flex;
justify-content: center;
align-items: center;
user-select: none;
}
2014-07-19 16:20:34 +00:00
.time.stat-widget .stat-amount {
margin-top: 12px;
text-align: center;
font-size: 30px;
color: white;
text-shadow: 0 2px rgba(0, 8, 14, 0.2);
position: relative;
cursor: default;
}
2014-07-19 16:20:34 +00:00
.time.stat-widget .stat-dial {
position: absolute;
top: 21px;
left: 14px;
width: 52px;
height: 52px;
}
2014-07-19 16:20:34 +00:00
2014-11-07 13:37:02 +00:00
.stats-row {
2014-07-18 16:18:13 +00:00
padding: 8px 0 7px;
border-radius: 3px;
display: flex;
flex-direction: column;
align-items: center;
flex: 0 1 38px;
2019-11-11 08:08:59 +00:00
height: 100%;
.icon {
display: block;
}
2014-07-18 16:18:13 +00:00
}
2014-11-07 13:37:02 +00:00
.stats-row:hover {
background: rgba(0, 8, 14, 0.03);
2014-07-18 16:18:13 +00:00
}
.stats-row .stat-bars {
flex: 1;
margin: 10px 0 13px;
padding: 2px 5px;
width: 100%;
background: linear-gradient(to top, #f2f2f3, #f2f2f3 1px, transparent 1px);
background-position: center bottom;
background-size: 100% 12px;
display: flex;
align-items: flex-end;
justify-content: center;
}
2014-07-18 16:18:13 +00:00
.stat-bars .stat-bar {
border-radius: 5px;
max-width: 10px;
flex: 1;
color: #a9bcc4;
background: #a9bcc4;
&--outbound {
opacity: 0.38;
2014-11-07 13:37:02 +00:00
color: #a9bcc4;
2014-07-18 16:18:13 +00:00
background: #a9bcc4;
2014-11-07 13:37:02 +00:00
}
}
2014-11-07 13:37:02 +00:00
.stat-legend {
margin-top: 30px;
2014-11-07 13:37:02 +00:00
@include bidi-style(margin-left, auto, margin-right, 0);
2014-07-18 16:18:13 +00:00
display: flex;
}
.stat-legendEntry {
font-size: 11px;
line-height: 1;
@include bidi-style(margin-left, 20px, margin-right, 0);
background: none !important;
}
.stat-circle {
margin-bottom: -1px;
@include bidi-style(margin-right, 3px, margin-left, 0);
width: 10px;
height: 10px;
border-radius: 100%;
display: inline-block;
}
2014-11-07 13:37:02 +00:00
.ticket_channel_distribution {
.stat-graphic {
align-items: stretch;
}
.stats-row {
margin-bottom: -4px;
position: relative;
}
}
2014-11-07 13:37:02 +00:00
.frequency.stat-widget {
.stat-bars {
margin-top: 0;
}
.stats-row {
margin-bottom: 0;
}
.stat-label {
color: #a1a4a7;
}
.primary {
color: hsl(145, 51%, 45%);
background: hsl(145, 51%, 45%);
2014-11-07 13:37:02 +00:00
}
}
2014-07-18 16:18:13 +00:00
.activity.sidebar {
2014-07-23 22:13:40 +00:00
width: 370px;
padding: 0;
2014-07-18 16:18:13 +00:00
border-left: 1px solid #e8e8e8;
}
.activity h2 {
margin-left: 19px;
margin-bottom: 15px;
margin-right: 26px;
@include rtl(margin-right, 19px);
@include rtl(margin-left, 26px);
}
2015-10-19 09:12:31 +00:00
.activity-entries {
margin: 0 -17px;
}
.activity-placeholder {
@extend .u-textTruncate;
padding: 0 17px;
}
.activity-entry {
display: flex;
padding: 0 17px;
&.is-inactive {
opacity: 0.5;
}
&.is-hover {
background-color: #f8f9fa;
}
&.activity-entry--removeable {
@include bidi-style(padding-right, 0, margin-left, 17px);
2014-07-23 22:13:40 +00:00
}
&:not(:hover) .activity-remove {
opacity: 0;
2014-07-23 22:13:40 +00:00
}
&:not(:last-child) .activity-body::after {
content: '';
position: absolute;
bottom: 0;
right: 0;
left: 0;
border-bottom: 1px solid #f2f2f3;
}
&.activity-entry--removeable:not(:last-child) .activity-body::after {
right: 17px;
@include bidi-style(right, 17px, left, 0);
2014-07-23 22:13:40 +00:00
}
}
2014-07-23 22:13:40 +00:00
.activity-avatar {
padding: 16px 2px 0;
2014-07-23 22:13:40 +00:00
@include bidi-style(margin-right, 10px, margin-left, 0);
flex-shrink: 0;
}
.activity-body {
padding: 16px 0 16px 2px;
@include rtl(padding, 16px 2px 16px 0);
2014-07-23 22:13:40 +00:00
position: relative;
display: flex;
flex: 1;
min-width: 0; /* Firefox wrong content-calculation with word-wrap workaround */
}
.activity-message {
color: #444a4f;
flex: 1;
min-width: 0; /* Firefox wrong content-calculation with word-wrap workaround */
&:hover .activity-text {
text-decoration: underline;
}
}
.activity-time {
margin-top: 2px;
color: #a1a4a7;
display: block;
}
.activity-remove {
display: flex;
align-items: center;
justify-content: center;
@extend %clickable;
padding-left: 10px;
padding-right: 27px;
@include rtl(padding-left, 27px);
@include rtl(padding-right, 10px);
.activity-remove-icon-holder {
width: 19px;
height: 19px;
border-radius: 100%;
display: flex;
align-items: center;
justify-content: center;
background: hsl(0, 0%, 80%);
}
.icon {
fill: white;
width: 9px;
height: 9px;
}
&:hover {
.activity-remove-icon-holder {
background: #972e29;
}
.icon {
opacity: 1;
}
}
}
.form-inline {
display: flex;
@include phone {
2021-03-29 14:02:23 +00:00
flex-wrap: wrap;
2021-03-29 14:02:23 +00:00
.alert {
flex-basis: 100%;
}
}
2014-11-14 15:44:59 +00:00
}
2014-08-05 13:05:11 +00:00
.form-inline .input-group-addon,
2014-09-19 11:39:56 +00:00
.form-inline .form-control:not(textarea) {
2014-08-05 13:05:11 +00:00
background: white;
border: none;
line-height: 1;
}
.form-inline .form-group {
overflow: hidden;
position: relative;
height: 60px;
flex: 1 1 auto;
@include phone {
width: 50%;
margin-bottom: 0;
}
&.datetime {
min-width: 140px;
overflow: visible; // datepicker popup needs to be visible
2014-08-06 17:36:45 +00:00
}
}
2014-08-06 17:36:45 +00:00
.form-group.is-changed {
position: relative;
}
.form-group.is-changed::before {
content: '';
position: absolute;
top: 23px;
left: -12px;
bottom: 0;
width: 3px;
background: repeating-linear-gradient(
45deg,
hsl(193, 18%, 90%),
hsl(193, 18%, 90%) 5px,
transparent 5px,
transparent 9px
)
repeat center;
background-size: 11px 11px;
}
.form-inline .form-group.is-changed::before {
width: 100%;
height: 3px;
top: 0;
left: 0;
bottom: auto;
}
.form-group.is-changed label {
color: hsl(198, 19%, 72%);
position: relative;
}
.form-group.is-changed label::before {
position: absolute;
content: '';
left: -10px;
width: 5px;
height: 5px;
top: 50%;
margin-top: -3px;
border-radius: 100%;
background: hsl(198, 19%, 72%);
}
.form-inline .form-group .btn {
margin: 10px;
}
2014-08-05 13:05:11 +00:00
.form-inline .form-group:not(:last-child),
.form-inline.form-inline--enclosed .form-group {
border-right: 1px solid #f0f0f0;
}
2014-08-05 13:05:11 +00:00
.form-inline .form-group,
.form-inline.form-inline--enclosed .form-group {
@include phone {
border-bottom: 1px solid #f0f0f0;
&:nth-child(even) {
border-right-width: 0;
2021-03-29 14:02:23 +00:00
}
}
}
2021-03-29 14:02:23 +00:00
.form-inline .input-group-addon {
width: auto;
padding: 0;
margin: 10px 18px 0;
font-size: 13px;
letter-spacing: 0.05em;
color: #ccc;
display: inline-block;
position: relative;
}
.form-inline .form-control:not(textarea) {
width: 100%;
height: 100%;
left: 0;
top: 0;
position: absolute;
padding: 28px 5px 12px 20px;
float: none;
display: block;
border-radius: 0;
background: none;
}
.form-inline {
.controls--datetime,
.controls--date,
.controls--select {
position: static;
2014-08-05 13:05:11 +00:00
}
.controls--datetime {
2014-08-29 15:09:20 +00:00
position: absolute;
bottom: 12px;
left: 0;
padding: 0 5px 0 20px;
width: 100%;
2014-08-05 13:05:11 +00:00
.controls-label {
display: none;
}
.form-control {
width: 70px;
line-height: inherit;
position: static;
padding: 0;
height: auto;
&.time {
margin-left: 5px;
width: 38px;
}
}
2015-10-19 11:27:33 +00:00
}
}
2015-10-19 11:27:33 +00:00
.bulkAction-secondStep .form-group {
min-width: 140px;
@include phone {
min-width: 0;
&.textarea {
border-bottom-width: 0;
2021-03-29 14:02:23 +00:00
}
}
}
.bulkAction-secondStep .form-inline .textarea.form-group {
padding: 5px 10px;
height: auto;
}
2014-09-19 11:39:56 +00:00
.bulkAction-secondStep .form-inline .textarea.form-group .input-group-addon {
margin-left: 8px;
margin-right: 8px;
margin-bottom: 5px;
}
2014-09-19 11:39:56 +00:00
.bulkAction-secondStep .form-inline textarea.form-control {
display: block;
width: 100%;
resize: vertical;
}
2014-10-08 10:06:36 +00:00
.bulkAction-secondStep .form-inline .expanding-wrapper {
margin: 0 6px;
}
2015-10-19 12:10:36 +00:00
.bulkAction-secondStep .form-inline textarea.form-control:not(:focus) {
border-color: #f0f0f0;
}
2014-09-19 11:39:56 +00:00
.ticketZoom {
2014-08-07 21:53:46 +00:00
background: #f8f9fa;
}
2015-03-10 20:11:36 +00:00
.ticketZoom-controls {
display: flex;
justify-content: flex-end;
align-items: center;
padding: 28px 0 0;
2017-07-28 14:45:32 +00:00
@include bidi-style(margin-right, -40px, margin-left, 0);
@include phone {
padding: 10px;
@include bidi-style(margin-right, 0, margin-left, 0);
}
2015-03-10 20:11:36 +00:00
}
2015-06-02 16:21:14 +00:00
.icon-marker {
fill: hsl(0, 0%, 61%);
width: 17px;
height: 19px;
}
2015-06-02 18:23:02 +00:00
.ticketZoom .ticketZoom-header {
margin-top: 6px;
2014-10-01 11:57:36 +00:00
padding: 0;
@include phone {
margin-top: 10px;
}
2014-10-01 11:57:36 +00:00
}
.ticketZoom .ticket-article {
margin-top: 55px;
@include phone {
margin-top: 40px;
}
2014-08-05 15:31:26 +00:00
}
2015-02-20 23:17:49 +00:00
.ticketZoom > .overview-navigator {
margin-top: 32px;
2017-07-28 14:45:32 +00:00
@include bidi-style(padding-left, 20px, padding-right, 0);
2015-02-20 23:17:49 +00:00
}
2015-01-12 14:34:28 +00:00
.ticket-article,
2015-04-05 22:36:21 +00:00
.article-new {
max-width: 1080px;
margin: 0 auto;
2015-01-12 14:34:28 +00:00
padding: 0 21px;
@include phone {
padding: 0 10px;
}
2015-01-12 14:34:28 +00:00
}
.ticket-title {
max-width: 1080px;
padding: 0 81px;
@include phone {
padding: 0 10px;
2014-08-05 15:31:26 +00:00
}
}
2014-08-05 15:31:26 +00:00
.ticket-title-update {
@extend h1;
white-space: normal;
margin-top: 15px;
margin-bottom: 8px;
padding: 0 7px;
text-align: center;
.ticketZoom-header & {
&:hover,
&:focus {
background: hsl(210, 17%, 93%);
}
2014-12-17 22:02:09 +00:00
}
}
2014-12-17 22:02:09 +00:00
.task-subline {
text-align: center;
display: block;
}
2014-08-05 15:31:26 +00:00
2014-08-27 10:45:21 +00:00
.ticket-article-item {
padding-bottom: 33px;
position: relative;
z-index: 1; // fixed chrome 49 + flex issue, not shown article
2015-01-12 14:34:28 +00:00
.avatar {
position: absolute;
right: 0;
top: 5px;
@include phone {
position: static;
margin: 0 5px 7px;
}
2015-01-12 14:34:28 +00:00
}
&.agent .avatar {
right: auto;
left: 0;
}
2014-08-27 10:45:21 +00:00
}
/*
2014-12-28 15:28:52 +00:00
clip the article-meta to not stand out on the other side
2015-01-15 00:04:07 +00:00
of the textBubble if the text bubble is small
2014-08-27 10:45:21 +00:00
*/
2014-08-06 17:36:45 +00:00
.article-meta-clip {
overflow: hidden;
position: relative;
height: 100%;
margin: 0 55px;
@include phone {
margin: 0;
}
}
2014-08-27 10:45:21 +00:00
.article-content {
color: hsl(60, 1%, 34%);
position: relative;
z-index: 1;
padding: 0 55px;
@include phone {
padding: 0;
2014-08-25 16:32:39 +00:00
}
&.article-actions {
justify-content: space-around;
2014-08-27 10:45:21 +00:00
}
}
2014-08-26 14:38:26 +00:00
.article-content-meta {
position: absolute;
width: 100%;
}
.article-meta {
background: #2c2d36;
color: white;
padding: 21px 25px 11px;
margin: 0 12px;
@include phone {
margin: 0 5px;
padding: 10px 10px 5px;
2014-08-25 16:32:39 +00:00
}
}
2014-08-25 16:32:39 +00:00
.article-meta.bottom {
padding-top: 17px;
padding-bottom: 8px;
@include phone {
padding-top: 10px;
padding-bottom: 5px;
}
}
2014-08-25 16:32:39 +00:00
.article-meta-row {
margin-bottom: 5px;
}
2014-08-25 16:32:39 +00:00
.article-meta-key {
width: 20%;
text-transform: uppercase;
flex-shrink: 0;
@include phone {
width: 50px;
}
}
2014-08-25 16:32:39 +00:00
.article-meta-value {
@include bidi-style(margin-left, 8px, margin-right, 0);
overflow: hidden;
text-overflow: ellipsis;
2014-08-25 16:32:39 +00:00
span {
white-space: nowrap;
}
}
.article-meta-icon {
fill: white;
vertical-align: top;
margin: 2px 3px 0 0;
2014-08-25 16:32:39 +00:00
@include rtl(margin, 2px 0 0 3px);
2014-08-25 16:32:39 +00:00
&.icon-lock {
margin: 0;
}
}
.article-meta .text-muted {
color: #96969b;
}
.article-meta-permanent {
margin: 0 55px;
+ .article-content .textBubble {
border-top-left-radius: 0;
border-top-right-radius: 0;
border-top-width: 0;
}
.alert {
margin-bottom: 0;
padding-left: 20px;
padding-right: 20px;
border-radius: 0;
box-shadow: 0 0 0 1px inset hsla(0, 0%, 0%, 0.04);
&:first-child {
border-top-left-radius: 2px;
border-top-right-radius: 2px;
}
2020-06-02 11:01:16 +00:00
&--blank {
background: hsl(212, 14%, 99%);
color: hsl(198, 16%, 70%);
2020-06-02 11:01:16 +00:00
.customer.ticket-article-item & {
background: hsl(201, 43%, 96%);
border-color: hsl(203, 38%, 92%);
2020-06-02 11:01:16 +00:00
}
}
.icon {
fill: currentColor;
margin: 2px 6px 0 0;
vertical-align: top;
width: 14px;
height: 14px;
}
.icon-lock {
margin-top: 1px;
width: 16px;
height: 16px;
}
}
}
.internal-border {
padding: 5px;
border-radius: 8px;
margin: -5px;
}
.is-internal .internal-border {
background: repeating-linear-gradient(
45deg,
hsl(18, 79%, 89%),
hsl(18, 79%, 89%) 5px,
hsl(210, 17%, 98%) 5px,
hsl(210, 17%, 98%) 6px
);
background-size: 8px 8px;
}
.is-internal .bubble-arrow {
display: none;
}
.textBubble {
padding: 10px 20px;
background: white;
border-radius: 2px;
border: 1px solid hsl(240, 4%, 95%);
box-shadow: 0 0 1px rgba(0, 0, 0, 0.06) inset;
position: relative;
2015-01-09 11:53:44 +00:00
@include phone {
padding: 10px;
2015-01-15 00:13:08 +00:00
}
2015-01-09 11:53:44 +00:00
/* email css reset */
p {
margin: 0;
2015-01-15 00:13:08 +00:00
}
}
.ticket-article-item.state--folde-out .textBubble {
border-color: hsl(0, 0%, 90%);
}
.textBubble-content {
overflow: hidden;
position: relative;
}
.textBubble-footer {
display: flex;
justify-content: space-between;
align-items: center;
margin: 0 -12px -28px;
padding: 6px 12px;
border-radius: 0 0 4px 4px;
}
.textBubble-control {
display: flex;
}
.textBubble-letterCount:not(.label-danger):not(.label-warning) {
color: hsl(0, 0%, 80%);
}
.textBubble-overflowContainer {
position: absolute;
bottom: 0;
left: 0;
right: 0;
background: white;
2014-08-27 10:45:21 +00:00
&.is-open {
&::before {
display: none;
2015-01-15 00:13:08 +00:00
}
}
.btn {
padding-top: 15px;
padding-bottom: 15px;
font-size: 10px;
2015-01-15 00:13:08 +00:00
}
&::before {
content: '';
position: absolute;
left: 0;
right: 0;
top: -30px;
height: 30px;
background: linear-gradient(rgba(255, 255, 255, 0), white);
pointer-events: none;
2014-08-05 15:31:26 +00:00
}
}
2014-08-05 15:31:26 +00:00
.customer .textBubble-overflowContainer {
background: #e5f0f5;
&::before {
background: linear-gradient(hsla(199, 44%, 93%, 0), hsl(199, 44%, 93%));
}
}
.customer.ticket-article-item .textBubble {
background: #e5f0f5;
border-color: hsl(199, 38%, 92%);
box-shadow: none;
}
2014-08-27 10:45:21 +00:00
.customer .richtext-content blockquote {
border-left: 5px solid #dfdfdf;
}
.customer.ticket-article-item.state--folde-out .textBubble {
border-color: hsl(199, 44%, 85%);
}
.bubble-arrow {
position: absolute;
width: 6px;
height: 9px;
left: -6px;
top: 15px;
overflow: hidden;
@include phone {
left: 14px !important;
top: -5px;
width: 9px;
height: 6px;
}
}
2014-08-05 15:31:26 +00:00
.bubble-arrow::after {
content: '';
position: absolute;
top: -1px;
left: 1px;
width: 11px;
height: 11px;
background: white;
border: 1px solid hsl(240, 4%, 95%);
box-shadow: 0 0 1px rgba(0, 0, 0, 0.06) inset;
transform: rotate(-45deg);
@include phone {
top: 2px;
left: -1px;
}
}
2014-08-05 15:31:26 +00:00
.customer.ticket-article-item .bubble-arrow {
left: auto;
right: -6px;
@include phone {
left: 14px;
right: auto;
top: -4px;
}
}
2014-08-05 15:31:26 +00:00
.customer.ticket-article-item .bubble-arrow::after {
background: #e5f0f5;
left: auto;
right: 2px;
border-color: hsl(199, 38%, 92%);
box-shadow: none;
@include phone {
left: -1px;
right: auto;
2014-09-30 10:12:18 +00:00
}
}
2014-09-30 10:12:18 +00:00
.attachments.attachments--list:not(:empty) {
border-top: 1px solid rgba(0, 0, 0, 0.04);
white-space: normal;
margin: 10px -20px 0;
padding: 26px 20px 7px 72px;
position: relative;
2014-09-30 10:12:18 +00:00
@include phone {
margin-left: -10px;
margin-right: -10px;
padding: 20px 15px 7px 30px;
}
}
.attachments.attachments--list .attachments-title {
font-size: 13px;
color: hsl(60, 1%, 34%);
font-weight: 500;
text-transform: uppercase;
padding: 0 7px;
.badge {
margin: -1px 0 0 5px;
}
}
.attachments > .icon:first-child {
position: absolute;
left: 33px;
top: 27px;
fill: hsl(240, 1%, 84%);
2014-09-30 10:12:18 +00:00
@include phone {
width: 16px;
height: 16px;
left: 12px;
top: 20px;
}
}
.attachments-block {
margin-bottom: 12px;
2014-08-25 16:32:39 +00:00
&:last-child {
margin-bottom: 0;
2014-08-05 15:31:26 +00:00
}
&-headline {
font-size: 13px;
color: hsl(60, 1%, 34%);
font-weight: 500;
text-transform: uppercase;
margin: 0 7px;
}
}
2014-08-27 10:45:21 +00:00
.ticket-article-item .task-subline {
margin-top: 7px;
}
2014-08-26 14:38:26 +00:00
.article-action {
padding: 5px 16px;
margin-top: 5px;
color: hsl(198, 4%, 56%);
font-size: 12px;
text-align: center;
2017-08-28 21:31:26 +00:00
@extend .u-clickable;
}
.article-action:hover {
color: black;
text-decoration: none;
}
.article-action-icon {
@include bidi-style(margin-right, 5px, margin-left, 0);
vertical-align: top;
width: 17px;
height: 17px;
fill: currentColor;
}
.article-action-name {
@media screen and (max-width: 1080px) {
display: none;
}
@media screen and (max-width: 1358px) {
.main:not(.is-closed) & {
display: none;
2017-08-28 21:31:26 +00:00
}
}
}
2017-08-28 21:31:26 +00:00
2015-01-12 14:34:28 +00:00
.article-add {
position: relative;
z-index: 1; // fixed chrome 49 + flex issue, not shown article
2015-01-12 14:34:28 +00:00
}
2015-04-05 22:36:21 +00:00
.article-new {
2014-08-06 23:17:26 +00:00
margin-top: auto;
margin-bottom: 36px;
2014-08-06 17:36:45 +00:00
}
.dropArea {
background: white;
border: 5px solid;
color: hsl(202, 66%, 55%);
font-size: 20px;
margin: 5px;
display: none;
@extend .fit;
&--small {
margin: 0;
font-size: inherit;
border-width: 3px;
min-height: 38px;
}
}
.is-dropTarget .dropArea {
display: block;
}
2019-06-04 03:40:48 +00:00
.dropContainer {
position: relative;
}
.dropArea-inner {
@extend .fit;
display: flex;
align-items: center;
justify-content: center;
}
2015-05-28 14:26:49 +00:00
.shortcut .dropdown-menu > .is-active > a {
background: none;
}
.shortcut > .dropdown-menu {
2016-02-02 15:42:21 +00:00
overflow: auto;
-webkit-overflow-scrolling: touch;
2016-02-02 16:58:34 +00:00
position: absolute;
max-width: 100%;
min-width: 0;
2016-02-02 15:42:21 +00:00
}
.editControls {
2015-01-12 14:34:28 +00:00
position: absolute;
left: 0;
top: 5px;
@include phone {
position: static;
margin: 0 0 10px;
display: flex;
align-items: center;
}
2014-09-04 00:54:33 +00:00
}
.article-add[data-type='email'] .editControls {
top: 159px;
}
.editControls-item {
position: absolute;
top: 43px;
@extend .u-clickable, .zIndex-4;
@include phone {
position: relative;
z-index: initial;
top: 0 !important;
transform: none !important;
opacity: 1 !important;
}
&.is-hidden {
display: none;
@include phone {
display: block;
}
2014-09-04 00:54:33 +00:00
}
}
2014-09-04 00:54:33 +00:00
.editControls-item:nth-child(2) {
@include phone {
z-index: 1;
2014-08-28 07:03:44 +00:00
}
}
2014-08-28 07:03:44 +00:00
.editControls-item:nth-child(3) {
top: 79px;
}
.editControls-item:nth-child(4) {
top: 115px;
}
2014-08-28 07:03:44 +00:00
.editControls-item:not(:last-child) {
border-bottom: 1px solid #e6e6e6;
@include phone {
border-bottom: 0;
border-right: 1px solid #e6e6e6;
}
}
.editControls-iconHolder {
width: 38px;
height: 35px;
display: flex;
align-items: center;
justify-content: center;
@include phone {
width: 48px;
height: 32px;
2014-08-27 16:36:32 +00:00
}
}
2014-08-27 16:36:32 +00:00
.editControls-icon {
@include phone {
line-height: 0.7;
2014-08-27 16:36:32 +00:00
}
}
2014-08-27 16:36:32 +00:00
.editControls-icon .icon {
fill: hsl(210, 2%, 78%);
}
.pop-selector {
position: absolute;
top: 0;
left: 0;
display: flex;
align-items: center;
justify-content: center;
border-radius: 4px;
box-shadow: 0 1px 7px rgba(0, 8, 14, 0.13);
@include phone {
top: -4px;
left: 7px;
2014-08-27 16:36:32 +00:00
}
&.is-hidden {
display: none;
2014-08-28 14:59:52 +00:00
}
}
2014-08-28 14:59:52 +00:00
.pop-selectable {
width: 35px;
height: 35px;
display: flex;
align-items: center;
justify-content: center;
2014-08-27 16:36:32 +00:00
@extend .u-clickable;
2014-08-27 16:36:32 +00:00
background: hsl(240, 9%, 19%);
}
2014-08-27 16:36:32 +00:00
.pop-selectable:hover {
background: white;
}
.pop-selectable:first-child {
@include bidi-style(border-radius, 4px 0 0 4px, border-radius, 0 4px 4px 0);
}
.pop-selectable:last-child {
@include bidi-style(border-radius, 0 4px 4px 0, border-radius, 4px 0 0 4px);
}
.pop-selectable:only-child {
border-radius: 4px;
}
.pop-selectable-icon {
fill: hsl(231, 3%, 40%);
}
2014-08-27 16:36:32 +00:00
.pop-selectable:hover .pop-selectable-icon {
fill: hsl(240, 9%, 19%);
}
2014-08-28 14:59:52 +00:00
.article-add .icon-internal {
fill: hsl(18, 87%, 65%);
}
2014-08-28 14:59:52 +00:00
.article-add.is-public .icon-internal,
.article-add.is-internal .icon-public {
display: none;
}
2014-08-28 14:59:52 +00:00
.article-new .recipient-picker {
height: 36px;
position: relative;
transition: 300ms;
}
2014-08-28 14:59:52 +00:00
.article-new .recipient-picker.is-open {
opacity: 1;
}
2014-08-28 14:59:52 +00:00
.recipient-picker .icon {
margin-top: -2px;
}
2014-08-28 14:59:52 +00:00
.recipient-count {
@include bidi-style(margin-left, 3px, margin-right, 0);
2014-08-28 14:59:52 +00:00
margin-top: 1px;
line-height: 1;
}
2014-08-28 14:59:52 +00:00
.recipient-list {
position: absolute;
background: hsl(234, 10%, 19%);
left: 48px;
color: white;
}
2014-08-28 14:59:52 +00:00
.recipient-picker.is-open .recipient-list {
display: block;
}
2014-08-28 14:59:52 +00:00
.list-arrow {
position: absolute;
top: 210px;
left: -6px;
margin-top: -6px;
border-right: 6px solid #2c2d36;
border-top: 6px solid transparent;
border-bottom: 6px solid transparent;
}
.list-head {
height: 38px;
line-height: 38px;
padding: 1px 19px 0;
text-transform: uppercase;
}
2014-08-28 14:59:52 +00:00
.list-head div {
position: relative;
left: -20px;
}
2014-08-28 14:59:52 +00:00
.list-entry {
width: 340px;
height: 60px;
padding: 0 16px;
border-top: 1px solid hsl(240, 6%, 27%);
}
2014-08-28 14:59:52 +00:00
.list-entry-name {
@include bidi-style(margin-left, 18px, margin-right, 0);
}
2014-08-28 14:59:52 +00:00
.list-entry-type {
font-size: 12px;
}
2014-08-28 14:59:52 +00:00
.list-entry-type div {
padding: 3px 7px;
border: 1px solid hsl(234, 10%, 10%);
color: hsl(0, 0%, 40%);
background: hsl(234, 10%, 14%);
}
2014-08-28 14:59:52 +00:00
.list-entry-type .active {
color: white;
background: inherit;
box-shadow: 0 1px rgba(255, 255, 255, 0.03) inset;
}
2014-08-28 14:59:52 +00:00
.list-entry-type div:not(:last-child) {
border-right: none;
}
2014-08-28 14:59:52 +00:00
.list-entry-type div:first-child {
border-radius: 3px 0 0 3px;
2014-08-28 14:59:52 +00:00
@include rtl(border-radius, 0 3px 3px 0);
}
2014-08-28 14:59:52 +00:00
.list-entry-type div:last-child {
border-left: none;
border-radius: 0 3px 3px 0;
@include rtl(border-radius, 3px 0 0 3px);
}
.recipient-list input {
padding-top: 2px;
background: hsl(232, 10%, 16%);
color: white;
border: none;
outline: none;
}
.recipient-list input[type='submit'] {
height: 0;
width: 0;
padding: 0;
position: absolute;
visibility: hidden;
}
.recipient-list input::placeholder {
color: #666;
}
.article-new .textBubble {
border-color: #b3b3b3;
border-radius: 5px;
padding-left: 12px;
padding-right: 12px;
cursor: text;
}
.articleNewEdit-body {
width: 100%;
position: relative;
min-height: 20px;
vertical-align: bottom;
border: none;
outline: none;
resize: none;
height: auto;
@include phone {
font-size: 16px;
2014-08-28 07:03:44 +00:00
}
}
2014-08-28 07:03:44 +00:00
.article-new .bubble-arrow::after {
border-color: #b3b3b3;
box-shadow: none;
}
.article-attachment {
position: absolute;
bottom: -4px;
left: 10px;
right: 10px;
height: 42px;
padding: 10px 0;
color: #b3b3b3;
overflow: hidden;
@extend .u-textTruncate;
}
2014-08-28 07:03:44 +00:00
.attachments:not(:empty) {
padding: 9px 5px;
border-top: 1px solid hsl(0, 0%, 93%);
margin: 6px -12px 30px;
}
.ticket-create .attachments:not(:empty) {
margin-left: 0;
margin-right: 0;
margin-bottom: 56px;
}
.ticket-create .attachment--row {
line-height: 1.45;
}
.attachment.attachment--row {
font-size: 13px;
padding: 1px 10px 1px 7px;
@include rtl(padding, 1px 7px 1px 10px);
cursor: default;
position: relative;
display: flex;
}
.attachment.attachment--preview {
display: block;
font-size: 13px;
padding: 9px 4px 9px 43px;
position: relative;
min-height: 42px;
color: inherit;
align-items: center;
border-bottom: 1px solid hsl(0, 0%, 96%);
&:last-child {
border-bottom: none;
2014-09-04 00:54:33 +00:00
}
}
2014-09-04 00:54:33 +00:00
.attachment-icon {
position: absolute;
left: 0;
top: 9px;
width: 38px;
text-align: center;
svg {
vertical-align: bottom;
}
img {
width: 30px;
height: 30px;
object-fit: cover;
}
}
.attachment--preview .attachment-name {
min-width: 0;
display: block;
@extend .u-highlight;
word-break: break-all;
}
.attachment--preview .attachment-size {
white-space: nowrap;
font-size: 11px;
color: hsl(200, 8%, 77%);
}
.attachment--preview .attachment-delete {
color: hsl(198, 19%, 72%);
text-decoration: underline;
display: none;
white-space: nowrap;
@include bidi-style(margin-left, auto, margin-right, 0);
@extend .u-clickable;
@include phone {
display: block;
}
}
.attachment:hover .attachment--preview .attachment-delete {
padding: 0 10px 0 30px;
float: right;
display: block;
position: absolute;
right: 0;
background: linear-gradient(
to right,
hsla(200, 20%, 97%, 0),
hsla(200, 20%, 97%, 1) 20px
);
}
.attachment--preview .attachment-delete .icon {
fill: hsl(198, 18%, 72%);
width: 9px;
height: 9px;
@include bidi-style(margin-right, 5px, margin-left, 0);
}
.attachment:hover {
background: hsl(200, 20%, 97%);
}
.attachment--row .attachment-name {
@include bidi-style(margin-right, 5px, margin-left, 0);
min-width: 0;
@extend .u-highlight;
}
.attachment--row .attachment-size {
white-space: nowrap;
float: right;
@include bidi-style(margin-right, 10px, margin-left, 0);
}
.attachment--row .attachment-delete {
color: hsl(198, 19%, 72%);
text-decoration: underline;
display: none;
white-space: nowrap;
@include bidi-style(margin-left, auto, margin-right, 0);
@extend %clickable;
}
.attachment:hover.attachment--row .attachment-delete {
padding: 0 10px 0 30px;
float: right;
display: block;
position: absolute;
right: 0;
background: linear-gradient(
to right,
hsla(200, 20%, 97%, 0),
hsla(200, 20%, 97%, 1) 20px
);
}
.attachment--row .attachment-delete .icon {
fill: hsl(198, 18%, 72%);
width: 9px;
height: 9px;
2019-06-04 03:40:48 +00:00
@include bidi-style(margin-right, 5px, margin-left, 0);
}
.attachmentPlaceholder-inputHolder {
position: relative;
display: inline-block;
overflow: hidden;
vertical-align: bottom;
pointer-events: auto;
@extend .u-highlight;
}
.attachmentUpload {
color: hsl(198, 19%, 72%);
}
.attachmentUpload-cancel {
@extend .u-clickable;
@include bidi-style(margin-left, auto, margin-right, 0);
2014-08-28 07:03:44 +00:00
text-decoration: underline;
}
.attachmentUpload .icon {
fill: hsl(198, 18%, 72%);
width: 9px;
height: 9px;
@include bidi-style(margin-right, 5px, margin-left, 0);
}
.attachmentUpload-progressBar {
position: absolute;
height: 4px;
background: hsl(202, 66%, 55%);
left: 0;
bottom: 0;
}
.attachmentUpload--standalone {
position: relative;
margin-bottom: 7px;
padding-bottom: 2px;
box-shadow: 0 -4px hsl(0, 0%, 90%) inset;
&:last-child {
margin-bottom: 0;
}
2019-06-04 03:40:48 +00:00
.icon {
fill: #d1d1d1;
}
2019-06-04 03:40:48 +00:00
.attachmentUpload-cancel {
padding: 0 2px 0 7px;
}
}
2019-06-04 03:40:48 +00:00
.attachmentUploadContainer {
.attachmentUpload-progressBar {
position: inherit;
}
}
2014-10-01 11:57:36 +00:00
.tabsSidebar-tabsSpacer {
2017-07-28 14:45:32 +00:00
@include bidi-style(padding-right, 62px !important, padding-left, 0);
/*
force div to show scrollbars
because we offset the sidebar tabs when the os shows scrollbars
*/
overflow-x: hidden;
overflow-y: scroll;
@include phone {
@include bidi-style(padding-right, 0 !important, padding-left, 0);
}
2014-10-01 11:57:36 +00:00
}
.tabsSidebar-sidebarSpacer {
2017-07-28 14:45:32 +00:00
@include bidi-style(margin-right, $sidebarWidth, margin-left, 0);
transition: margin-right 500ms;
2017-07-28 14:45:32 +00:00
@include rtl(transition, margin-left 500ms);
}
2014-10-01 11:57:36 +00:00
.tabsSidebar-sidebarSpacer.is-closed {
margin-right: 0;
2017-07-28 14:45:32 +00:00
@include rtl(margin-left, 0);
}
.tabsSidebar-holder {
overflow: hidden;
position: relative;
flex: 1;
display: flex;
flex-direction: column;
}
.tabsSidebar .sidebar {
width: $sidebarWidth;
2014-08-07 21:53:46 +00:00
border-left: 1px solid #e6e6e6;
padding: 0;
2014-08-07 21:53:46 +00:00
}
.tabsSidebar .sidebar > hr {
margin: 20px;
}
.tabsSidebar .sidebar-header {
display: flex;
align-content: stretch;
position: relative;
margin: 0 20px;
+ hr {
margin-top: 0;
2014-08-07 21:53:46 +00:00
}
}
2014-11-17 15:08:24 +00:00
.sidebar-header-headline {
padding: 33px 8px 17px 25px;
@include rtl(padding, 33px 25px 17px 8px);
margin: 0 0 0 -20px;
@include rtl(margin, 0 -20px 0 0);
line-height: 1;
@extend .u-clickable, .u-textTruncate;
}
2014-08-07 21:53:46 +00:00
.sidebar-header-actions {
flex: 1;
@include bidi-style(margin-right, 5px, margin-left, 0);
2014-08-07 21:53:46 +00:00
display: flex;
align-items: center;
2014-12-16 14:07:50 +00:00
.dropdown {
flex: 1;
position: static;
2014-08-07 21:53:46 +00:00
}
.dropdown-toggle {
padding-top: 38px;
padding-bottom: 24px;
2014-08-07 21:53:46 +00:00
}
}
2014-08-07 21:53:46 +00:00
.tabsSidebar-close {
padding: 27px 35px 12px 0;
margin: 0 -20px 0 0;
@extend .u-clickable;
2014-08-07 21:53:46 +00:00
display: flex;
align-items: center;
justify-content: center;
.icon {
fill: black;
2014-08-07 21:53:46 +00:00
}
}
2014-08-07 21:53:46 +00:00
.tabsSidebar .sidebar-content {
padding: 0 20px 20px;
}
.sidebar.bottom-form-shadow {
box-shadow: 0 -1px rgba(0, 0, 0, 0.005) inset,
0 -2px rgba(0, 0, 0, 0.005) inset, 0 -3px rgba(0, 0, 0, 0.005) inset,
0 -4px rgba(0, 0, 0, 0.005) inset;
}
2014-08-07 21:53:46 +00:00
.tabsSidebar {
position: absolute;
@include bidi-style(right, 0, left, auto);
2014-08-07 21:53:46 +00:00
top: 0;
bottom: 0;
transition: 500ms;
z-index: 300;
2014-08-07 21:53:46 +00:00
&.tabsSidebar--attributeBarSpacer {
bottom: 60px;
2014-08-07 21:53:46 +00:00
}
}
2014-08-07 21:53:46 +00:00
.tabsSidebar.is-closed {
transform: translateX($sidebarWidth);
@include rtl(transform, translateX(-$sidebarWidth));
}
.tabsSidebar-tabs {
display: flex;
flex-direction: column;
justify-content: center;
position: absolute;
@include bidi-style(left, -55px, right, auto);
top: 0;
bottom: 0;
pointer-events: none;
@include phone {
@include bidi-style(left, -47px, right, auto);
}
}
.test {
position: absolute;
width: 100%;
}
.tabsSidebar-tab {
width: 56px;
height: 60px;
background: hsl(197, 20%, 93%);
position: relative;
border-top: 1px solid hsl(202, 12%, 87%);
@extend .u-clickable;
pointer-events: auto;
display: flex;
align-items: center;
justify-content: center;
@include phone {
width: 47px;
height: 50px;
}
}
.tabsSidebar-tab.is-changed::before {
position: absolute;
content: '';
left: -3px;
width: 6px;
height: 6px;
top: 50%;
margin-top: -3px;
border-radius: 100%;
background: hsl(198, 19%, 72%);
box-shadow: 0 0 0 2px hsl(210, 17%, 98%);
}
.tabsSidebar-tab:first-child {
@include bidi-style(border-top-left-radius, 8px, border-top-right-radius, 0);
border-top: none;
}
.tabsSidebar-tab:last-child {
@include bidi-style(
border-bottom-left-radius,
8px,
border-bottom-right-radius,
0
);
}
.tabsSidebar-tab .icon {
width: 24px;
height: 24px;
fill: hsl(197, 19%, 78%);
}
.tabsSidebar-tab.active {
.tabsSidebar-tab-count {
background: hsl(206, 7%, 37%);
&::after {
border-right-color: hsl(206, 7%, 37%);
}
&.tabsSidebar-tab-count--info {
background: hsl(203, 65%, 55%);
opacity: 1;
&::after {
border-right-color: hsl(203, 65%, 55%);
}
}
&.tabsSidebar-tab-count--success {
background: hsl(145, 51%, 45%);
opacity: 1;
&::after {
border-right-color: hsl(145, 51%, 45%);
}
}
&.tabsSidebar-tab-count--warning {
background: hsl(45, 98%, 63%);
opacity: 1;
&::after {
border-right-color: hsl(45, 98%, 63%);
}
}
&.tabsSidebar-tab-count--danger {
background: hsl(11, 85%, 48%);
opacity: 1;
&::after {
border-right-color: hsl(11, 85%, 48%);
}
}
2014-08-07 21:53:46 +00:00
}
.icon {
fill: hsl(206, 7%, 37%);
}
}
.tabsSidebar-tab-count {
position: absolute;
left: 9px;
top: 5px;
background: hsl(197, 19%, 78%);
width: 16px;
height: 13px;
text-align: center;
border-radius: 2px;
font-size: 9px;
line-height: 14px;
color: hsl(197, 20%, 93%);
@include phone {
left: 4px;
top: 4px;
}
[data-tab='organization'] & {
left: 7px;
+ .icon {
margin-left: 3px;
}
}
+ .icon {
margin-top: 6px;
}
&::after {
content: '';
position: absolute;
top: 100%;
right: 20%;
border-bottom: 3px solid transparent;
border-right: 5px solid hsl(197, 19%, 78%);
}
&.tabsSidebar-tab-count--info {
background: hsl(203, 65%, 55%);
opacity: 0.5;
&::after {
border-right-color: hsl(203, 65%, 55%);
}
}
&.tabsSidebar-tab-count--success {
background: hsl(145, 51%, 45%);
opacity: 0.5;
&::after {
border-right-color: hsl(145, 51%, 45%);
}
}
&.tabsSidebar-tab-count--warning {
background: hsl(45, 98%, 63%);
opacity: 0.5;
&::after {
border-right-color: hsl(45, 98%, 63%);
}
}
&.tabsSidebar-tab-count--danger {
background: hsl(11, 85%, 48%);
opacity: 0.5;
&::after {
border-right-color: hsl(11, 85%, 48%);
}
2014-08-30 10:24:31 +00:00
}
}
.sidebar .text-muted {
color: hsl(198, 22%, 82%);
}
2014-08-30 10:24:31 +00:00
.alert {
padding: 10px 15px 8px;
border-radius: 3px;
color: white;
border: none;
background: hsla(0, 0%, 0%, 0.3);
2018-11-06 21:24:29 +00:00
.icon {
@include bidi-style(margin-right, 10px, margin-left, 0);
2018-11-06 21:24:29 +00:00
fill: currentColor;
}
2016-05-19 08:20:38 +00:00
.btn {
background: hsla(0, 0%, 0%, 0.2);
color: inherit;
}
2019-06-04 03:40:48 +00:00
&--info {
background: hsl(203, 65%, 55%);
}
2019-06-04 03:40:48 +00:00
&--success {
&,
&[contenteditable]:hover,
&[contenteditable]:focus {
background: hsl(145, 51%, 45%);
}
}
2019-06-04 03:40:48 +00:00
&--warning {
color: hsl(45, 98%, 17%);
background: hsl(45, 98%, 63%);
.btn {
background: hsla(0, 0%, 100%, 0.2);
}
}
2019-06-04 03:40:48 +00:00
&--danger {
background: hsl(11, 85%, 48%);
}
2019-06-04 03:40:48 +00:00
&--square {
border-radius: 0;
}
2020-06-02 11:01:16 +00:00
.btn {
margin-top: -4px;
margin-bottom: -5px;
2020-06-02 11:01:16 +00:00
&:last-child {
margin-right: -5px;
}
}
}
2015-05-28 14:21:31 +00:00
.tags,
2019-06-04 03:40:48 +00:00
.links,
.link_kb_answers {
2015-05-28 14:21:31 +00:00
margin: 20px 0;
2014-08-30 10:24:31 +00:00
}
.tags {
margin-top: 10px;
}
2016-02-09 15:08:48 +00:00
.userNotifications label + .btn {
margin-top: 1px;
}
2015-09-07 22:05:39 +00:00
.list {
2014-08-30 10:24:31 +00:00
padding: 0;
margin-bottom: 5px;
}
.list-title {
margin-top: 7px;
margin-bottom: 4px;
text-transform: uppercase;
color: hsl(198, 19%, 84%);
display: block;
font-size: 12px;
font-weight: normal;
letter-spacing: 0.05em;
}
2015-05-28 14:21:31 +00:00
.list-item {
display: flex;
align-items: center;
color: hsl(206, 7%, 28%);
border-bottom: 1px solid hsl(240, 4%, 95%);
}
.list-item-name {
flex: 1;
padding: 4px 1px;
}
2015-05-28 13:27:44 +00:00
.list-item-delete {
padding: 0 10px;
@include bidi-style(margin-right, -3px, margin-left, 0);
display: flex;
align-items: center;
justify-content: center;
align-self: stretch;
@extend .u-clickable;
.icon {
width: 9px;
height: 9px;
fill: hsl(0, 0%, 82%);
2014-08-30 10:24:31 +00:00
}
}
2014-08-30 10:24:31 +00:00
.list-item-delete:hover .icon {
fill: hsl(1, 77%, 47%);
}
2014-08-30 10:24:31 +00:00
2015-05-28 14:21:31 +00:00
.ticket-id {
color: white;
background: hsl(198, 19%, 72%);
2015-05-28 14:21:31 +00:00
font-size: 11px;
border-radius: 7px;
padding: 0 5px;
2017-07-28 14:45:32 +00:00
@include bidi-style(margin-right, 2px, margin-left, 0);
2015-05-28 14:21:31 +00:00
}
2014-11-14 15:44:59 +00:00
.attributeBar {
background: white;
transition: margin 250ms;
flex-shrink: 0;
2014-11-14 15:44:59 +00:00
&.is-closed {
margin-bottom: -60px;
}
@include phone {
&-reset {
flex-shrink: 5;
}
.btn,
.buttonDropdown {
min-width: 20px;
&--only-icon {
min-width: 36px;
}
}
}
&-inner {
height: 60px;
display: flex;
align-items: center;
justify-content: flex-end;
padding: 10px;
}
&-avatars {
margin-right: 10px;
}
&--border {
border-top: 1px solid hsl(0, 0%, 94%);
}
2019-06-04 03:40:48 +00:00
&--spacer-after {
margin-right: auto;
}
2014-11-14 15:44:59 +00:00
}
.newTicket {
2015-05-27 12:21:56 +00:00
padding: 14px 34px;
@include phone {
padding: 0;
}
2014-09-04 21:56:58 +00:00
}
.newTicket .sidebar {
width: 290px;
}
.newTicket .form-control {
border-color: hsl(0, 0%, 90%);
&:focus,
&.focus {
border-color: hsl(200, 71%, 59%);
2014-11-14 10:15:00 +00:00
}
}
.newTicket .article-form-top {
margin-top: 15px;
}
2016-01-14 11:13:31 +00:00
.newTicket--chatTicket {
flex: 1;
display: flex;
padding: 0;
height: 100%;
2016-01-14 11:13:31 +00:00
& > .icon {
position: absolute;
top: 50%;
transform: translateY(-50%) translateX(-50%);
}
2016-01-14 11:13:31 +00:00
& > .box {
width: calc(50% - 47px);
2016-01-14 11:13:31 +00:00
margin: 34px;
}
.chatHistory {
display: flex;
flex-direction: column;
}
2016-01-15 09:32:07 +00:00
.boxFade {
width: 94px;
2016-01-15 09:32:07 +00:00
top: 34px;
height: 100%;
position: absolute;
2017-07-28 14:45:32 +00:00
@include bidi-style(margin-left, -34px, margin-right, 0);
2016-01-15 09:32:07 +00:00
z-index: 1;
}
2016-01-14 11:13:31 +00:00
}
2014-09-04 21:56:58 +00:00
.box {
background: white;
2015-05-27 12:21:56 +00:00
margin: 20px 0;
2014-09-04 21:56:58 +00:00
border: 1px solid #e6e6e6;
2015-05-27 12:21:56 +00:00
padding: 20px 24px;
2014-09-04 21:56:58 +00:00
}
.box.box--newTicket {
max-width: 1080px;
margin-left: auto;
margin-right: auto;
2015-05-27 12:21:56 +00:00
@include phone {
margin: 0;
border: none;
padding: 15px;
2014-09-04 21:56:58 +00:00
}
}
2014-09-04 21:56:58 +00:00
.box .page-header {
text-align: center;
margin-bottom: 12px;
}
.box--paper {
background-image: linear-gradient(transparent 30px, hsl(0, 0%, 93%) 31px);
background-size: 100% 31px;
line-height: 31px;
padding-top: 31px;
padding-bottom: 31px;
h1,
h2,
h3 {
margin: 0;
line-height: inherit;
}
h3:not(:first-child) {
margin-top: 31px;
2014-09-04 21:56:58 +00:00
}
}
2014-09-04 21:56:58 +00:00
.box h1 {
margin-top: 10px;
margin-bottom: 12px;
color: hsl(60, 1%, 34%);
flex: 1;
}
2015-05-27 12:21:56 +00:00
.box h2 {
margin-top: 12px;
}
2014-09-04 21:56:58 +00:00
.box .two-columns {
margin-left: -4px;
margin-right: -4px;
}
.box .two-columns .column {
margin-left: 4px;
margin-right: 4px;
width: calc(50% - 8px);
2014-09-04 21:56:58 +00:00
@include phone {
width: auto;
2015-05-27 12:21:56 +00:00
}
}
2015-05-27 12:21:56 +00:00
.box-controls {
margin-top: 20px;
display: flex;
align-items: center;
}
2015-05-27 12:21:56 +00:00
.box--yellow {
background: hsl(47, 100%, 93%);
border-color: hsl(47, 100%, 75%);
color: hsl(47, 20%, 67%);
2015-05-27 12:21:56 +00:00
h1,
h2 {
color: hsl(47, 3%, 28%);
2015-05-27 12:21:56 +00:00
}
}
2015-05-27 12:21:56 +00:00
.box-progress {
display: flex;
align-items: center;
justify-content: center;
}
.box-progress-title {
color: hsl(47, 3%, 28%);
}
.box-progress-body {
flex: 1;
@include bidi-style(margin-left, 24px, margin-right, 0);
display: flex;
align-items: center;
justify-content: center;
progress {
width: 100%;
2015-05-27 12:21:56 +00:00
}
}
2015-05-27 12:21:56 +00:00
.horizontal > .box {
margin-top: 4px;
margin-bottom: 4px;
& + .box {
border-left-width: 0;
}
}
2014-09-04 21:56:58 +00:00
.formset-inset {
2014-11-14 10:15:00 +00:00
margin: 34px -24px 24px;
padding: 19px 24px 24px;
background: hsl(197, 20%, 93%);
border-top: 1px solid hsl(0, 0%, 90%);
border-bottom: 1px solid hsl(0, 0%, 90%);
2014-09-04 21:56:58 +00:00
}
.type-tabs {
@include phone {
overflow: hidden;
-webkit-overflow-scrolling: none;
}
}
2014-09-04 21:56:58 +00:00
.type-tabs .tab {
2015-11-04 15:39:03 +00:00
height: 40px;
line-height: 42px;
padding: 0 12px;
list-style: none;
2019-06-04 03:40:48 +00:00
align-items: flex-start;
@include phone {
display: block;
text-align: center;
flex-shrink: 1;
}
2014-09-04 21:56:58 +00:00
}
.type-tabs .tab-icon {
2019-06-04 03:40:48 +00:00
width: 17px;
height: 17px;
fill: #ccc;
2014-09-04 21:56:58 +00:00
vertical-align: top;
2017-07-28 14:45:32 +00:00
@include bidi-style(margin-right, 9px, margin-left, 0);
margin-top: 11px;
transform: scale(1.2);
flex-shrink: 0;
2014-09-04 21:56:58 +00:00
}
.type-tabs .tab.active .tab-icon {
fill: white;
}
2016-04-25 13:14:22 +00:00
.token {
2014-09-04 21:56:58 +00:00
padding: 0 0 0 10px;
2016-04-25 13:14:22 +00:00
margin: 0 5px 6px 0;
height: 26px;
2014-09-04 21:56:58 +00:00
color: white;
2016-04-25 13:14:22 +00:00
border-radius: 3px;
background: hsl(198, 19%, 72%);
2014-09-04 21:56:58 +00:00
border: none;
float: none;
2015-05-27 07:23:16 +00:00
display: inline-flex;
align-items: center;
2016-04-25 13:14:22 +00:00
cursor: default;
max-width: 100%;
&.active {
background: $highlight-color;
.close,
.token-close {
opacity: 0.5;
}
}
2014-09-04 21:56:58 +00:00
}
/*
2016-04-25 13:14:22 +00:00
selector needs to be stronger than .token-input
in order to override input[type=text]
*/
.tokenfield .token-input {
vertical-align: top;
padding: 0 10px 7px 5px;
margin: 0;
min-width: 60px;
height: 32px;
display: inline-block;
border: none;
box-shadow: none;
outline: none;
flex: 1;
&:focus {
box-shadow: none;
2014-09-04 21:56:58 +00:00
}
}
2014-09-04 21:56:58 +00:00
.tokenfield .token ~ .token-input {
padding: 0 5px 7px 0;
}
2016-04-18 12:53:28 +00:00
.token-label {
padding: 0;
white-space: nowrap;
overflow: hidden;
text-overflow: ellipsis;
}
2014-09-04 21:56:58 +00:00
.tokenfield.form-control {
padding: 7px 7px 0;
height: auto;
display: flex;
flex-wrap: wrap;
}
2014-09-04 21:56:58 +00:00
.token .close,
.token-close {
margin: 0;
padding: 0 9px 0 6px;
font-family: inherit;
font-weight: 100;
font-size: 28px;
line-height: 1;
color: white;
text-shadow: none;
opacity: 0.3;
outline: none;
height: auto;
2014-09-04 21:56:58 +00:00
@extend %clickable;
}
.token .close:hover,
.token-close:hover {
opacity: 0.5;
}
2014-09-04 21:56:58 +00:00
/* allow/show autocomplete in modal dialog */
.ui-autocomplete.ui-widget-content {
@extend .zIndex-9;
2017-04-28 11:32:12 +00:00
position: absolute;
max-height: 380px;
overflow: auto;
-webkit-overflow-scrolling: touch;
}
.ui-menu {
background: hsl(240, 9%, 19%);
border: none;
color: white;
font-family: inherit;
font-size: inherit;
.ui-menu-item {
padding: 9px 15px;
list-style-image: none;
&.is-inactive {
text-decoration: line-through;
opacity: 0.73;
}
&:not(:first-child) {
box-shadow: 0 1px rgba(255, 255, 255, 0.13) inset;
}
&.ui-state-focus {
margin: 0;
border: none;
background: hsl(205, 90%, 60%);
color: inherit;
+ li {
box-shadow: none;
}
}
}
}
.drox {
color: hsl(60, 1%, 74%);
}
.drox .drox-header {
padding-bottom: 2px;
margin-bottom: 16px;
border-bottom: 1px solid hsl(240, 4%, 95%);
}
.drox a.create {
margin-top: 2px;
display: inline-block;
}
.drox .form-group {
margin-bottom: 22px;
}
.drox .drox-body p:first-child {
margin-top: 20px;
}
.newTicket .templates {
border-bottom: 1px solid hsl(240, 4%, 95%);
padding-bottom: 14px;
}
.templates-manage fieldset {
margin: 0;
}
.template-attributes {
margin: 17px 0 19px;
}
.template-attribute {
height: 24px;
line-height: 25px;
@include bidi-style(padding-left, 10px, padding-right, 0);
margin-bottom: 2px;
font-size: 13px;
color: hsl(198, 11%, 59%);
background: hsl(197, 20%, 93%);
border: 1px solid hsl(0, 0%, 90%);
border-radius: 3px;
}
.template-attribute .key {
text-transform: uppercase;
@include bidi-style(margin-right, 3px, margin-left, 0);
}
.template-attribute .value {
@include bidi-style(margin-left, 3px, margin-right, 0);
}
.template-attribute .delete {
padding: 0 7px;
margin-top: 4px;
line-height: 19px;
font-size: 28px;
font-weight: 300;
opacity: 0.4;
}
.customer-name {
color: hsl(60, 1%, 34%);
}
.customer-email {
margin-top: 5px;
margin-bottom: 20px;
display: block;
}
.table.user-list {
2015-06-09 15:47:44 +00:00
tr:hover .switchView {
visibility: visible;
}
2015-09-07 22:05:39 +00:00
td .list {
margin-top: -4px;
}
2015-06-09 15:47:44 +00:00
.switchView {
visibility: hidden;
display: block;
text-overflow: ellipsis;
overflow: hidden;
}
2019-06-04 03:40:48 +00:00
.btn {
margin: 3px 5px 0;
2015-06-09 15:47:44 +00:00
}
}
2015-05-07 17:27:53 +00:00
.switchBackToUser {
display: flex;
align-items: center;
background: hsl(200, 87%, 45%);
color: #fff;
2014-09-15 21:59:21 +00:00
height: 45px;
padding: 0 17px;
/* top: -45px !important; */
border-bottom: 5px solid hsl(205, 90%, 60%);
2015-05-07 17:27:53 +00:00
}
2015-05-07 17:27:53 +00:00
.switchBackToUser-icon {
width: 19px;
height: 18px;
}
.switchBackToUser-text {
@include bidi-style(margin-left, 10px, margin-right, 0);
}
.switchBackToUser-close {
width: 40px;
height: 40px;
@include bidi-style(margin-right, -10px, margin-left, 0);
display: flex;
align-items: center;
justify-content: center;
svg {
fill: white;
2014-09-15 21:59:21 +00:00
}
}
2014-09-15 21:59:21 +00:00
2014-10-29 19:43:56 +00:00
.modal {
@extend .zIndex-10;
&-loader {
text-align: center;
padding: 70px;
}
2014-10-29 19:43:56 +00:00
}
2014-09-16 08:15:57 +00:00
.modal-dialog {
2014-10-29 19:43:56 +00:00
width: auto;
max-width: 660px;
2014-09-16 08:15:57 +00:00
margin-top: 35px;
margin-bottom: 35px;
@include phone {
max-width: calc(100vw - 20px) !important;
margin: 10px;
}
2017-08-28 20:55:18 +00:00
&.wizard {
margin: 35px auto;
}
2014-09-16 08:15:57 +00:00
}
.modal--veryLarge .modal-dialog {
max-width: 990px;
}
.modal--large .modal-dialog {
max-width: 740px;
}
.modal--small .modal-dialog {
max-width: 440px;
}
.modal-dialog.wizard {
max-width: 460px;
}
2014-09-16 08:15:57 +00:00
.modal-content {
border-radius: 0;
border: 1px solid hsl(0, 0%, 90%);
2014-09-16 08:15:57 +00:00
box-shadow: none;
color: hsl(60, 1%, 34%);
2014-09-16 08:15:57 +00:00
}
.modal-header {
padding: 30px 23px 23px;
border: none;
@include phone {
padding: 14px 15px;
2014-09-16 08:15:57 +00:00
}
}
2014-09-16 08:15:57 +00:00
.modal-header h1 {
text-align: center;
@include phone {
text-align: initial;
line-height: 1.2;
2014-09-16 08:15:57 +00:00
}
}
2014-09-16 08:15:57 +00:00
.modal-close {
padding: 23px;
position: absolute;
right: 0;
@include rtl(right, auto);
@include rtl(left, 0);
2014-09-16 08:15:57 +00:00
top: 0;
@extend .u-clickable;
2014-09-16 08:15:57 +00:00
@include phone {
position: static;
padding: 21px;
margin: -14px -15px 0 0;
float: right;
}
}
.modal-close .icon-diagonal-cross {
opacity: 0.18;
}
.modal-alerts-container {
padding: 0 23px;
}
.modal-body {
padding: 0 23px;
@include phone {
padding: 0 15px;
}
h2:first-child {
margin-top: 0;
2014-09-16 08:15:57 +00:00
}
p:first-child,
.alert.hidden:first-child + p {
margin-top: 0;
}
.table > thead > tr > th {
background: hsl(197, 20%, 93%);
2014-09-16 08:15:57 +00:00
}
}
2014-09-16 08:15:57 +00:00
.modal-footer {
padding: 23px 23px 20px;
border: none;
display: flex;
@include rtl(text-align, left);
@include phone {
padding: 15px;
}
}
.modal-leftFooter,
.modal-centerFooter,
.modal-rightFooter {
display: flex;
align-items: center; /* because of btn--text btn--subtle being thinner than the rest */
flex: 1;
}
.modal.modal--local {
display: block;
padding: 0 40px;
@extend .zIndex-9;
2019-06-04 03:40:48 +00:00
@include bidi-style(padding-left, 40px, padding-right, 0);
@include phone {
padding: 0 !important;
}
.modal-backdrop {
background: hsla(210, 17%, 93%, 0.55);
opacity: 1;
}
.modal-dialog {
box-shadow: 0 0 40px hsla(210, 17%, 40%, 0.34);
}
}
2014-09-16 10:21:58 +00:00
.caret {
position: absolute;
top: 50%;
margin-top: -3px;
right: 10px;
}
.dropdown-backdrop {
@extend .zIndex-5; // has to be behind dropdown-menu
}
.dropdown-menu {
@extend .zIndex-6; // has to be behind modal windows and beneath notifications (popover)
margin: 0;
padding: 0;
min-width: 100%;
color: white;
text-transform: initial;
letter-spacing: 0;
background: hsl(234, 10%, 19%);
border-radius: 0;
border: none;
box-shadow: none;
overflow: hidden;
@include rtl(text-align, right);
overscroll-behavior: contain;
}
.dropdown-menu kbd {
background: none;
color: inherit;
padding: 2px 5px;
@include bidi-style(margin-left, 7px, margin-right, 0);
line-height: 1;
vertical-align: baseline;
opacity: 0.5;
}
.dropdown-toggle {
display: flex;
align-items: center;
@extend .u-clickable;
}
.dropdown-icon {
width: 16px;
height: 16px;
}
.dropdown-menu.dropdown-menu--light {
background: white;
color: hsl(198, 19%, 72%);
}
.dropdown-menu.dropdown-menu--light > li {
color: hsl(202, 70%, 49%);
&.dropdown-header {
color: hsl(198, 19%, 72%);
}
}
.dropdown-menu.dropdown-menu--light > li > a:hover {
color: #2594d4;
background: rgba(0, 0, 0, 0.05);
}
.dropdown-menu.dropdown-menu--light li:hover {
background: none;
}
.dropdown-menu.dropdown-menu--light li.is-active {
color: white;
}
.dropdown ul {
2014-09-16 10:21:58 +00:00
margin: 0;
padding: 0;
}
.dropdown li,
.dropup li {
height: 39px;
line-height: 39px;
padding: 0 15px;
@extend %clickable;
white-space: nowrap;
&:focus {
outline: none;
}
}
.dropdown li.with-category,
.dropdown.dropdown--actions li.with-category {
line-height: 19.5px;
small {
color: #fff !important;
2014-09-16 10:21:58 +00:00
}
}
2014-09-16 10:21:58 +00:00
.dropdown.dropdown--actions li.with-category {
height: 39px;
padding: 0 15px;
display: list-item;
}
.dropdown li:not(:first-child) {
box-shadow: 0 1px rgba(255, 255, 255, 0.13) inset;
}
2014-09-16 10:21:58 +00:00
.dropdown li:hover,
.dropdown li.is-active {
background: hsl(205, 90%, 60%);
+ li {
box-shadow: none;
}
}
.dropdown-menu > li.danger:hover,
.dropdown-menu > li.danger.is-active {
background: $danger-color;
}
.dropdown-menu > li.create:hover,
.dropdown-menu > li.create.is-active {
background: hsl(145, 51%, 45%);
}
2014-09-16 10:21:58 +00:00
.dropdown-menu > li[disabled] {
opacity: 0.33;
2014-09-16 10:21:58 +00:00
&:hover,
&.is-active {
background: none;
cursor: default;
}
}
2014-09-16 10:21:58 +00:00
.dropdown-menu > li > a {
color: inherit;
padding: 0 15px;
margin: 0 -15px;
line-height: inherit;
}
.dropdown-menu > li > a:hover {
color: inherit;
background: none;
}
.dropdown-menu > li > a span {
display: block;
}
.dropdown-menu .badge--text {
@include bidi-style(padding-left, 10px, padding-right, 0);
}
2019-06-04 03:40:48 +00:00
.dropdown.dropdown--actions {
li {
line-height: initial;
height: auto;
padding: 11px 15px;
display: flex;
align-items: center;
word-break: break-all;
2014-09-24 14:03:23 +00:00
}
.dropdown-iconSpacer,
.dropdown-selectedSpacer {
display: flex;
align-items: center;
2014-09-24 14:03:23 +00:00
}
.dropdown-iconSpacer {
width: 25px;
2014-10-08 09:09:21 +00:00
}
.dropdown-selectedSpacer {
width: 34px;
@include bidi-style(margin-left, auto, margin-right, 0);
2014-09-24 14:03:23 +00:00
justify-content: flex-end;
opacity: 0;
2015-03-10 20:11:36 +00:00
.icon {
fill: white;
2015-03-10 20:11:36 +00:00
}
&.is-selected {
opacity: 1;
2015-03-10 20:11:36 +00:00
}
}
2015-03-10 20:11:36 +00:00
a {
@extend .u-clickable;
display: flex;
flex: 1;
padding: 0 18px;
2014-11-07 13:37:02 +00:00
}
.icon {
fill: currentColor;
}
}
.dropdown.dropdown--wide {
li {
padding-top: 12px;
padding-bottom: 12px;
2015-05-28 10:00:03 +00:00
}
}
2015-05-28 10:00:03 +00:00
li.dropdown-header {
line-height: 34px;
height: 30px;
}
.dropdown-menu--has-submenu {
overflow: hidden;
background: none;
ul {
background: hsl(234, 10%, 19%);
}
}
.dropdown-submenu {
position: absolute;
top: 0;
left: 0;
width: 100%;
}
.dropdown.dropdown--actions .dropdown-controls {
@extend .u-clickable;
display: flex;
&:not(:hover):not(.is-active) {
background: hsl(206, 7%, 28%);
}
.icon {
fill: white;
@include bidi-style(margin-right, 10px, margin-left, 0);
flex-shrink: 0;
}
}
.dropdown-title {
flex-shrink: 1;
overflow: hidden;
text-overflow: ellipsis;
white-space: nowrap;
}
2019-06-04 03:40:48 +00:00
.dropdown-detail {
opacity: 0.5;
}
.dropdown {
.dropdown-menu-full-height {
li {
padding: 0;
}
a {
padding: 11px 18px;
margin: 0;
2019-06-04 03:40:48 +00:00
}
}
}
2019-06-04 03:40:48 +00:00
2014-09-18 10:40:17 +00:00
.recipientList,
.recipientList-organizationMembers {
2014-09-18 10:40:17 +00:00
list-style: none;
padding: 0;
}
2014-09-16 10:21:58 +00:00
.recipientList-entry {
display: flex;
align-items: center;
@extend .u-clickable;
&.is-inactive {
.recipientList-name {
text-decoration: line-through;
opacity: 0.73;
}
}
}
.recipientList-entry .recipientList-iconSpacer {
width: 20px;
@include bidi-style(margin-left, -5px, margin-right, 0);
display: flex;
align-items: center;
justify-content: center;
flex-shrink: 0;
}
.recipientList-icon {
width: 16px;
height: 16px;
fill: white;
opacity: 0.2;
}
2014-09-16 10:21:58 +00:00
.recipientList--new,
.recipientList-entry:hover,
.recipientList-entry.is-active {
.recipientList-icon {
opacity: 1;
2014-09-18 10:40:17 +00:00
}
}
2014-09-16 10:21:58 +00:00
.recipientList-name {
color: white;
@include bidi-style(margin-left, 10px, margin-right, 0);
flex: 1;
2014-09-16 10:21:58 +00:00
@extend .u-textTruncate;
}
.recipientList-status {
opacity: 0.5;
margin: 0 10px;
flex-shrink: 1;
&:last-child {
margin-right: 0;
}
}
.recipientList-arrow {
fill: white;
opacity: 0.39;
}
.recipientList-entry:hover .recipientList-arrow {
opacity: 1;
}
.recipientList-detail {
opacity: 0.5;
&.is-inactive > span {
text-decoration: line-through;
2014-09-18 10:40:17 +00:00
}
}
.recipientList-icon.plus {
@include bidi-style(margin-left, 13px, margin-right, 0);
}
.recipientList--new {
background: hsl(145, 51%, 45%);
}
.dropdown .recipientList--new:hover {
background: hsl(147, 52%, 43%);
}
.recipientList-controls,
.recipientList-controls:hover {
@extend .u-clickable;
padding: 0 10px !important;
background: hsl(206, 7%, 28%);
2014-09-18 10:40:17 +00:00
& + li {
box-shadow: 0 1px rgba(255, 255, 255, 0.13) inset;
2014-09-18 10:40:17 +00:00
}
}
.recipientList-organizationMembers {
position: absolute;
top: 0;
left: 0;
right: 0;
}
2014-09-16 10:21:58 +00:00
.userInfo-avatar {
2014-09-25 11:29:06 +00:00
float: right;
2017-07-28 14:45:32 +00:00
@include rtl(float, left);
2014-09-26 14:51:37 +00:00
position: relative;
}
.organizationInfo-avatar {
@extend .userInfo-avatar;
2017-07-28 14:45:32 +00:00
@include bidi-style(padding, 18px 0 0 18px, padding, 18px 18px 0 0);
}
.userList {
list-style: none;
padding: 0;
2016-03-23 14:15:38 +00:00
.userList-entry {
margin: 10px 0;
2016-03-23 14:15:38 +00:00
display: flex;
align-items: center;
2016-03-23 14:15:38 +00:00
&:last-child {
margin-bottom: 0;
}
}
2016-03-23 14:15:38 +00:00
.userList-name {
@extend .u-textTruncate;
2017-07-28 14:45:32 +00:00
@include bidi-style(margin-left, 7px, margin-right, 0);
2014-09-25 11:29:06 +00:00
}
}
2014-09-25 11:29:06 +00:00
.checkbox,
.radio {
2019-03-25 12:58:52 +00:00
font-size: 14px;
padding: 0 6px;
2019-03-25 12:58:52 +00:00
.form-group & {
padding: 0 6px;
list-style: none;
height: auto;
display: flex;
flex-direction: column;
align-items: flex-start;
border: none;
2019-06-04 03:40:48 +00:00
background: none;
2019-03-25 12:58:52 +00:00
}
.checkbox-replacement {
display: inline-block;
}
label {
padding-left: 0;
min-height: 0;
}
2019-03-25 12:58:52 +00:00
> label,
&-child {
margin-top: 5px;
font-family: inherit;
font-size: 14px;
color: inherit;
text-transform: inherit;
letter-spacing: 0;
2019-03-25 12:58:52 +00:00
line-height: 1.2;
2019-03-25 12:58:52 +00:00
&:first-child {
margin-top: 0;
}
&.is-disabled {
cursor: default;
touch-action: default;
2019-03-25 12:58:52 +00:00
span {
opacity: 0.33;
2019-03-25 12:58:52 +00:00
}
}
2019-06-04 03:40:48 +00:00
&.additional-radio-controls {
margin-top: 0;
2019-06-04 03:40:48 +00:00
.controls {
display: inline-flex;
margin-left: 5px;
}
}
}
2019-06-04 03:40:48 +00:00
&-child {
padding-left: 20px;
}
.help-text {
display: table;
color: hsl(0, 0%, 60%);
font-size: 0.92em;
2019-06-04 03:40:48 +00:00
margin: 2px 0 3px 18px;
}
}
.checkbox.form-group .checkbox--list,
.radio.form-group .radio--list {
margin-top: 0;
margin-bottom: 15px;
height: auto;
padding-top: 3px;
padding-bottom: 3px;
}
.checkbox,
.radio {
&.form-group .controls label {
padding: 2px 0;
font: inherit;
margin-bottom: 0;
color: inherit;
text-transform: inherit;
letter-spacing: 0;
line-height: 1.2;
2019-06-04 03:40:48 +00:00
&:first-child {
margin-top: 0;
}
&.is-disabled {
cursor: default;
touch-action: default;
2019-06-04 03:40:48 +00:00
span {
opacity: 0.33;
2019-06-04 03:40:48 +00:00
}
}
2019-03-25 12:58:52 +00:00
}
2019-03-25 12:58:52 +00:00
&-child {
padding-left: 20px;
}
.help-text {
display: table;
color: hsl(0, 0%, 60%);
2019-03-25 12:58:52 +00:00
margin-left: 18px;
font-size: 0.92em;
2019-03-25 12:58:52 +00:00
margin-bottom: 3px;
}
2014-09-26 15:08:41 +00:00
}
2019-06-04 03:40:48 +00:00
.radio_graphic .selections-container {
display: grid;
grid-gap: 10px;
2019-06-04 03:40:48 +00:00
// fit as many as possible in one line, they must at least be 112px wide
grid-template-columns: repeat(auto-fill, minmax(112px, 1fr));
label {
margin-top: 0;
position: relative;
}
.icon {
flex-shrink: 0;
}
.icon-checked {
display: none;
}
.label-box {
display: block;
background: white;
border: 1px solid hsl(0, 0%, 90%);
2019-06-04 03:40:48 +00:00
border-radius: 5px;
overflow: hidden;
}
.label-row {
display: flex;
align-items: center;
padding: 5px 10px;
}
.label-text {
display: block;
margin-left: 5px;
white-space: nowrap;
overflow: hidden;
text-overflow: ellipsis;
}
.radio-illustration {
display: block;
width: 100%;
padding-bottom: 100%;
position: relative;
2019-06-04 03:40:48 +00:00
img {
width: 100%;
height: 100%;
position: absolute;
left: 0;
top: 0;
object-fit: cover;
}
}
input {
&:checked {
~ .label-box {
border-color: hsl(200, 71%, 59%);
box-shadow: 0 0 0 3px hsl(201, 62%, 90%);
2019-06-04 03:40:48 +00:00
.icon-checked {
display: inline;
}
.icon-unchecked {
display: none;
}
}
}
}
}
2014-09-29 08:38:28 +00:00
.userSearch-label {
2017-07-28 14:45:32 +00:00
margin-top: 11px;
2017-07-28 14:45:32 +00:00
@include bidi-style(margin-right, 10px, margin-left, 0);
2014-09-29 08:38:28 +00:00
}
.userSearch .tab:not(.active) {
background: white;
}
2015-06-09 19:20:55 +00:00
.userSearch {
margin: 0 0 20px;
}
2014-09-29 08:38:28 +00:00
.userSearch .tabs {
margin: 0;
}
.nav {
list-style: none;
padding: 0;
margin: 0;
}
.nav a {
padding: 10px 15px;
display: block;
}
2014-09-29 09:08:51 +00:00
.nav-tabs {
2015-11-17 16:01:52 +00:00
display: flex;
2015-11-18 00:24:52 +00:00
margin: 10px -20px 20px;
padding: 0 20px 0 21px; /* margin-left: -1px */
2017-07-28 14:45:32 +00:00
@include rtl(padding, 0 21px 0 20px);
2015-11-18 00:24:52 +00:00
position: relative;
2014-09-29 09:08:51 +00:00
}
.nav-tabs li {
margin: 0;
color: hsl(0, 0%, 70%);
border: 1px solid hsl(0, 0%, 90%);
2015-11-17 16:01:52 +00:00
margin-left: -1px;
background: white;
2015-11-18 00:24:52 +00:00
position: relative;
&:first-child {
2015-11-18 00:24:52 +00:00
border-radius: 7px 0 0 7px;
2017-07-28 14:45:32 +00:00
@include rtl(border-radius, 0 7px 7px 0);
}
&:last-child {
2015-11-18 00:24:52 +00:00
border-radius: 0 7px 7px 0;
2017-07-28 14:45:32 +00:00
@include rtl(border-radius, 7px 0 0 7px);
}
2014-09-29 09:08:51 +00:00
&:only-child {
2015-11-18 00:24:52 +00:00
border-radius: 7px;
}
&.active {
color: white;
background: hsl(206, 7%, 28%);
}
a {
2015-12-04 09:22:39 +00:00
padding: 10px 24px 8px;
color: inherit;
color: inherit;
}
2014-09-29 09:08:51 +00:00
}
2015-11-05 11:16:47 +00:00
.tab-content {
2015-11-18 00:24:52 +00:00
h2:first-child {
margin-top: 0;
}
2015-11-05 11:16:47 +00:00
}
2020-06-02 11:01:16 +00:00
.or-divider {
position: relative;
margin: 16px 0;
text-align: center;
&::before {
content: '';
2020-06-02 11:01:16 +00:00
position: absolute;
left: 0;
width: 100%;
top: 50%;
margin-top: -1px;
height: 1px;
background: hsla(0, 0%, 0%, 0.1);
2020-06-02 11:01:16 +00:00
}
2020-06-02 11:01:16 +00:00
span {
position: relative;
background: white;
background: var(--background, white);
padding: 0 10px;
}
}
2014-09-30 11:15:40 +00:00
.settings-entry {
margin-bottom: 42px;
max-width: 700px;
@include phone {
overflow: auto;
-webkit-overflow-scrolling: touch;
}
2020-06-02 11:01:16 +00:00
&--stretched {
max-width: none;
}
2014-09-30 11:15:40 +00:00
}
.setting-controls {
margin-top: 14px;
display: flex;
justify-content: flex-end;
}
2014-09-30 11:15:40 +00:00
.form-item .form-group {
margin-bottom: 0;
}
.form-item .form-group + .form-group {
margin-top: 15px;
}
.form-item + .btn {
2017-07-28 14:45:32 +00:00
@include bidi-style(margin-left, 23px, margin-right, 0);
2014-09-30 11:15:40 +00:00
}
2014-10-01 11:57:36 +00:00
.scrollPageHeader {
@extend .zIndex-5;
display: flex;
align-items: center;
2014-10-01 11:57:36 +00:00
background: white;
border-bottom: 1px solid hsl(0, 0%, 78%);
2014-10-01 11:57:36 +00:00
height: 64px;
top: 0;
left: 0;
right: 0;
2014-10-01 11:57:36 +00:00
padding: 0 22px;
position: absolute;
transform: translateY(-100%);
@include phone {
height: 50px;
padding: 0 6px;
overflow: hidden;
&.is-closed {
overflow: visible;
}
}
2014-10-01 11:57:36 +00:00
}
.scrollPageHeader small {
color: hsl(198, 19%, 72%);
@include phone {
margin-top: 1px;
2014-10-01 11:57:36 +00:00
@include bidi-style(margin-left, 3px, margin-right, 0);
2014-10-01 11:57:36 +00:00
}
}
2014-10-01 11:57:36 +00:00
.scrollPageHeader .ticket-title {
max-width: initial;
padding: 0;
min-width: 0;
flex: 1;
}
.scrollPageHeader h1 {
font-size: 19px;
margin: 0 15px;
@extend .u-textTruncate;
@include phone {
font-size: 17px;
margin: 0 5px;
2014-10-01 11:57:36 +00:00
}
}
2014-10-01 11:57:36 +00:00
.wizard {
margin: auto; // makes sure that the wizard is scrollable
}
.wizard-logo {
fill: white;
2017-07-28 14:45:32 +00:00
@include bidi-style(margin-left, -25px, margin-right, 0);
margin-bottom: 5px;
}
2014-11-14 10:15:00 +00:00
.wizard-slide {
@extend .hero-unit;
display: flex;
flex-direction: column;
width: 400px;
2014-11-14 10:15:00 +00:00
padding-bottom: 18px;
2014-11-17 15:08:24 +00:00
margin-bottom: 20px;
&.wizard-slide--large {
width: 460px;
}
2014-10-07 10:23:03 +00:00
}
.wizard h2 {
text-align: center;
border-bottom: 1px solid rgba(0, 0, 0, 0.13);
2014-10-07 10:23:03 +00:00
padding-bottom: 8px;
margin-bottom: 16px;
2015-05-26 23:24:03 +00:00
2014-11-14 10:15:00 +00:00
& + p {
margin-top: 0;
}
2014-10-07 10:23:03 +00:00
}
.wizard-body {
flex: 1;
2014-10-07 10:23:03 +00:00
padding-bottom: 15px;
@include phone {
width: 100%;
}
2015-09-25 11:37:55 +00:00
.form-control {
min-width: 0;
}
2014-10-07 10:23:03 +00:00
}
.wizard-controls {
display: flex;
2014-11-14 10:15:00 +00:00
margin-top: 15px;
2014-10-07 10:23:03 +00:00
height: 39px;
}
2014-11-14 10:15:00 +00:00
.wizard-buttonList {
margin-top: 15px;
min-width: 200px;
}
p + .wizard-buttonList,
label + .wizard-buttonList {
margin-top: 5px;
}
2014-10-07 10:23:03 +00:00
.wizard-loadingText {
text-align: center;
margin: 0;
}
.wizard-loadingText .loading {
vertical-align: middle;
2017-07-28 14:45:32 +00:00
@include bidi-style(margin-right, 10px, margin-left, 0);
2014-10-07 10:23:03 +00:00
}
2014-11-14 10:15:00 +00:00
.wizard-aside {
padding-top: 15px;
text-align: center;
border-top: 1px solid rgba(0, 0, 0, 0.13);
2014-11-14 10:15:00 +00:00
}
.setup.wizard .wizard-body {
min-height: 140px;
2015-05-26 23:24:03 +00:00
2014-11-14 10:15:00 +00:00
& > p:first-child {
margin-top: 0;
}
}
.setup.wizard .logo-preview,
.branding .logo-preview {
2014-11-15 13:27:23 +00:00
display: block;
2014-11-17 09:29:50 +00:00
height: 0;
max-width: 200px;
max-height: 100px;
2015-07-12 01:32:40 +00:00
&[src=''] {
visibility: hidden;
}
2014-11-16 22:45:57 +00:00
2014-11-17 09:29:50 +00:00
+ .logo-preview-placeholder {
height: 100px;
color: hsl(0, 0%, 60%);
background: hsl(0, 0%, 95%);
2014-11-17 09:29:50 +00:00
margin-bottom: 10px;
display: flex;
align-items: center;
justify-content: center;
2014-11-15 14:55:35 +00:00
}
2014-11-14 10:15:00 +00:00
}
.setup.wizard .logo-preview:not([src='']) {
2014-11-15 13:27:23 +00:00
margin: 0 auto 15px;
2014-11-15 14:55:35 +00:00
height: auto;
2015-05-26 23:24:03 +00:00
2014-11-17 09:29:50 +00:00
+ .logo-preview-placeholder {
display: none;
}
2014-11-14 10:15:00 +00:00
}
2014-11-17 15:08:24 +00:00
.setup.wizard .base-outbound-settings {
margin-top: 15px;
}
.branding .logo-preview:not([src='']) {
2015-07-12 05:32:22 +00:00
margin: 20px auto 12px;
height: auto;
+ .logo-preview-placeholder {
display: none;
}
}
2015-07-12 01:32:40 +00:00
.branding.login {
padding: 24px 24px 0;
2015-07-12 01:32:40 +00:00
}
.import.wizard .wizard-slide {
2016-02-10 09:13:29 +00:00
min-height: 300px;
}
2014-10-07 10:23:03 +00:00
.import-source {
border-radius: 5px;
border: 1px solid rgba(0, 0, 0, 0.13);
2014-10-07 10:23:03 +00:00
height: 50px;
margin: 5px 0;
@extend .u-clickable;
2014-10-07 10:23:03 +00:00
}
.input-feedback {
position: absolute;
2017-07-28 14:45:32 +00:00
@include bidi-style(padding-left, 10px, padding-right, 0);
2014-10-07 10:23:03 +00:00
right: 1px;
top: 1px;
bottom: 1px;
width: 52px;
border-radius: 0 5px 5px 0;
background: linear-gradient(to right, rgba(255, 255, 255, 0), white 33%);
2021-05-25 12:30:12 +00:00
&--no-background {
background: none;
}
}
.input-feedback--no-background {
background: none;
2014-10-07 10:23:03 +00:00
}
.input-feedback .icon {
display: none;
}
.input-feedback[data-state='loading'] .loading.icon,
.input-feedback[data-state='error'] .icon-error,
.input-feedback[data-state='success'] .icon-checkmark {
2014-10-07 10:23:03 +00:00
display: block;
}
.progressTable {
2014-10-07 12:36:09 +00:00
width: 100%;
2014-10-07 10:23:03 +00:00
margin: 0 auto;
}
.progressTable td {
2014-10-07 12:36:09 +00:00
padding: 8px;
overflow: auto;
-webkit-overflow-scrolling: touch;
2014-10-07 12:36:09 +00:00
width: 33%;
2014-10-07 10:23:03 +00:00
}
.progressTable tr:not(:last-child) {
border-bottom: 1px solid #eee;
}
.progressTable td:first-child {
2017-07-28 14:45:32 +00:00
text-align: end;
2014-10-07 10:23:03 +00:00
}
2014-10-07 12:36:09 +00:00
.progressTable progress {
width: 100%;
min-width: 60px;
display: block;
2014-10-07 10:23:03 +00:00
}
.progressTable .icon-checkmark {
2017-07-28 14:45:32 +00:00
@include bidi-style(margin-left, 10px, margin-right, 0);
2014-10-07 10:23:03 +00:00
opacity: 0;
}
.progressTable tr.is-done .icon-checkmark {
2014-10-07 10:23:03 +00:00
opacity: 1;
}
2014-11-14 10:15:00 +00:00
.channelList {
flex: 1;
display: flex;
flex-direction: column;
2014-11-14 10:15:00 +00:00
background: white;
border-radius: 2px;
margin: 5px 0 20px;
}
.channelList,
.channelList-controls,
.channelList-controlEntry {
border: 1px solid hsl(251, 6%, 90%);
2014-11-14 10:15:00 +00:00
}
.channelList-entry {
display: flex;
2014-11-14 10:15:00 +00:00
cursor: default;
padding: 5px 8px;
2015-05-26 23:24:03 +00:00
2014-11-14 10:15:00 +00:00
&:not(:last-child) {
border-bottom: 1px solid hsl(251, 6%, 90%);
2014-11-14 10:15:00 +00:00
}
}
.channelList-label {
margin: 0 10px;
flex: 1;
2014-11-14 10:15:00 +00:00
& > * {
2015-05-26 23:24:03 +00:00
@extend .u-textTruncate;
2014-11-14 10:15:00 +00:00
}
}
.channelList-status {
font-size: 12px;
color: #999;
}
.channelList-placeholder {
display: flex;
align-items: center;
justify-content: center;
flex: 1;
2014-11-14 10:15:00 +00:00
color: #999;
}
.channelList-controls {
margin-top: auto;
display: flex;
background: hsl(251, 6%, 92%);
2014-11-14 10:15:00 +00:00
border-left: none;
border-right: none;
border-bottom: none;
}
.channelList-controlEntry {
display: flex;
justify-content: center;
2014-11-14 10:15:00 +00:00
width: 26px;
height: 26px;
border-left: none;
border-top: none;
border-bottom: none;
position: relative;
[data-toggle='dropdown'] {
2014-11-14 10:15:00 +00:00
position: relative;
}
2014-11-14 10:15:00 +00:00
.icon {
opacity: 0.8;
}
}
.avatar-gallery {
display: flex;
flex-wrap: wrap;
}
2014-10-29 19:43:56 +00:00
.avatar-holder {
display: inline-block;
position: relative;
margin: 0 32px 32px 0;
2014-10-29 19:43:56 +00:00
border-radius: 100%;
box-shadow: 0 0 0 4px white;
2014-10-29 19:43:56 +00:00
.avatar {
@extend .u-clickable;
2014-10-29 19:43:56 +00:00
&.is-active {
box-shadow: 0 0 0 4px hsl(200, 71%, 59%);
2014-10-29 19:43:56 +00:00
}
}
}
.avatar--new {
background: hsl(145, 51%, 45%);
2014-10-29 19:43:56 +00:00
@extend .u-clickable;
}
.avatar-holder .avatar-delete {
position: absolute;
right: -15px;
top: -15px;
width: 40px;
height: 40px;
pointer-events: none;
visibility: hidden;
background: white;
display: flex;
align-items: center;
justify-content: center;
border-radius: 100%;
box-shadow: 0 1px 5px rgba(0, 0, 0, 0.05);
@extend .u-clickable;
svg {
opacity: 0.5;
fill: hsl(234, 10%, 19%);
2014-10-29 19:43:56 +00:00
}
&:hover svg {
opacity: 1;
2014-10-29 19:43:56 +00:00
}
}
.avatar-holder:hover .avatar-delete {
visibility: visible;
pointer-events: auto;
}
2014-10-29 19:43:56 +00:00
.camera video {
position: absolute;
visibility: hidden;
pointer-events: none;
}
2014-10-29 19:43:56 +00:00
.camera-preview {
display: block;
margin: 0 auto;
}
2014-10-29 19:43:56 +00:00
.camera-flash {
@extend .fit;
2014-10-29 19:43:56 +00:00
background: white;
opacity: 0;
2014-10-29 19:43:56 +00:00
@extend .u-unclickable;
}
2014-10-29 19:43:56 +00:00
.camera-flash.is-active {
animation: flash 500ms ease;
2014-10-29 19:43:56 +00:00
}
@keyframes flash {
0% {
opacity: 0;
}
50% {
opacity: 1;
}
100% {
opacity: 0;
}
}
2014-10-29 19:43:56 +00:00
.fileUpload {
position: relative;
overflow: hidden;
2019-06-04 03:40:48 +00:00
&.btn input:focus + label {
text-decoration: none;
}
}
.fileUpload label {
font-size: inherit;
color: inherit;
letter-spacing: inherit;
text-transform: inherit;
display: inline;
margin: 0;
2014-10-29 19:43:56 +00:00
}
.fileUpload input {
position: absolute;
right: 0;
2014-10-29 19:43:56 +00:00
top: 0;
font-size: 118px;
margin: 0;
padding: 0;
@extend %clickable;
2014-10-29 19:43:56 +00:00
opacity: 0;
&:focus + label {
text-decoration: underline;
}
2014-10-29 19:43:56 +00:00
}
.imagePreview img {
max-width: 100%;
max-height: 100%;
}
2014-10-29 19:43:56 +00:00
.imageCropper p {
margin: 0;
}
.imageCropper-holder {
height: 340px;
margin: 15px 0;
}
.imageCropper-image {
max-width: 100%;
max-height: 100%;
opacity: 0;
}
.imageCropper-preview {
width: 40px;
height: 40px;
border-radius: 100%;
overflow: hidden;
margin: 0 10px;
}
.cropper-container {
/* prevent cropper.js's centering we center via flex */
left: 0 !important;
}
.profile {
2014-11-07 13:37:02 +00:00
padding: 60px;
overflow: auto;
-webkit-overflow-scrolling: touch;
2015-05-26 16:48:35 +00:00
flex: 1;
@include phone {
padding: 0;
margin: 0;
}
2014-11-07 13:37:02 +00:00
h1 {
margin: 18px 0 0;
}
.tabs {
margin-top: 2px;
margin-bottom: 25px;
}
}
.profile-window {
color: hsl(60, 1%, 34%);
2014-11-07 13:37:02 +00:00
background: white;
max-width: 660px;
margin: 0 auto;
border: 1px solid #e6e6e6;
}
.profile-section {
2014-11-07 13:37:02 +00:00
padding: 20px 50px;
@include phone {
padding: 10px;
}
&.profile-memberSection {
margin-bottom: 10px;
}
2014-11-07 13:37:02 +00:00
}
.profile-section:not(:last-child) {
2014-11-07 13:37:02 +00:00
border-bottom: 1px solid #f2f2f2;
}
.profile-action {
2017-07-28 14:45:32 +00:00
@include bidi-style(margin-right, -20px, margin-left, 0);
@include phone {
@include bidi-style(margin-right, 0, margin-left, 0);
}
2014-11-07 13:37:02 +00:00
.dropdown-toggle {
margin-top: -20px;
2017-07-28 14:45:32 +00:00
@include bidi-style(margin-right, -30px, margin-left, 0);
2014-11-07 13:37:02 +00:00
margin-bottom: 8px;
padding: 26px 40px 2px;
@include phone {
margin-top: -5px;
padding: 10px 0 5px;
@include bidi-style(margin-right, 0, margin-left, 0);
}
2014-11-07 13:37:02 +00:00
}
2014-11-07 13:37:02 +00:00
label {
margin: 0 8px;
2014-11-07 13:37:02 +00:00
padding: 0;
cursor: inherit;
}
}
.profile-subtitle {
2014-11-07 13:37:02 +00:00
font-size: 16px;
2014-11-07 13:37:02 +00:00
@extend .u-highlight;
}
.profile-details {
2017-07-28 14:45:32 +00:00
@include bidi-style(margin-left, -50px, margin-right, 0);
2014-11-07 13:37:02 +00:00
}
.profile-ticketsPlaceholder {
flex: 1;
margin: 8px 0 22px;
color: hsl(209, 28%, 74%);
.stat-icon {
margin-bottom: 10px;
}
}
.profile-detailsEntry {
2014-11-07 13:37:02 +00:00
margin: 8px 0;
2017-07-28 14:45:32 +00:00
@include bidi-style(padding-left, 50px, padding-right, 0);
2014-11-07 13:37:02 +00:00
width: 50%;
}
.profile-detailsEntry label {
2014-11-07 13:37:02 +00:00
padding: 0;
margin-bottom: 2px;
display: block;
}
.profile-organizationMember {
@extend .profile-detailsEntry;
display: flex;
align-items: center;
.avatar {
2017-07-28 14:45:32 +00:00
@include bidi-style(margin-right, 10px, margin-left, 0);
}
}
2015-06-03 08:26:51 +00:00
.profile-ticketLists {
display: flex;
margin: 0 -25px;
@include phone {
display: block;
margin: 0;
}
2015-06-03 08:26:51 +00:00
}
.profile-ticketList {
display: flex;
flex-direction: column;
2015-06-03 08:26:51 +00:00
flex: 1 1 50%;
padding: 0 25px;
2015-06-11 14:06:02 +00:00
min-width: 0; /* Firefox wrong content-calculation with word-wrap workaround */
@include phone {
padding: 0;
margin-bottom: 10px;
&:last-child {
margin-bottom: 0;
}
}
.tasks {
margin-bottom: 10px;
display: flex;
2015-10-15 13:13:37 +00:00
flex-basis: auto;
flex-direction: column;
}
2014-11-07 13:37:02 +00:00
}
.profile .frequency.stat-widget {
2014-11-07 13:37:02 +00:00
height: 230px;
@include phone {
display: none;
}
2014-11-07 13:37:02 +00:00
.stat-bars {
height: 100px;
}
}
.profile-organizationIcon {
display: flex;
align-items: center;
justify-content: center;
width: 80px;
height: 80px;
background: hsl(0, 0%, 87%);
border-radius: 100%;
opacity: 0.4;
2015-05-26 16:48:35 +00:00
svg {
width: 32px;
height: 32px;
}
}
2015-06-02 18:23:02 +00:00
.highlighter {
2015-06-08 10:36:18 +00:00
display: flex;
2015-06-02 18:23:02 +00:00
}
[data-highlightcolor='Yellow']::selection {
background: #f7e7b2;
}
.highlight-Yellow {
background: #f7e7b2;
}
[data-highlightcolor='Green']::selection {
background: #bce7b6;
}
.highlight-Green {
background: #bce7b6;
}
[data-highlightcolor='Blue']::selection {
background: #b3ddf9;
}
.highlight-Blue {
background: #b3ddf9;
}
2015-03-10 20:11:36 +00:00
[data-highlightcolor='Pink']::selection {
background: #fea9c5;
}
2015-03-10 20:11:36 +00:00
.highlight-Pink {
background: #fea9c5;
}
2015-03-10 20:11:36 +00:00
[data-highlightcolor='Purple']::selection {
background: #eac5ee;
}
2015-03-10 20:11:36 +00:00
.highlight-Purple {
background: #eac5ee;
}
2015-03-10 20:11:36 +00:00
.translationOverview {
2015-04-12 20:47:56 +00:00
tbody > tr > td {
padding: 20px 0 0 10px;
}
2015-04-12 20:47:56 +00:00
.translationOverview-itemContainer {
padding: 10px 0 10px 10px;
}
.translationOverview-source {
width: 25%;
}
.translationOverview-target {
width: 35%;
}
.translationOverview-initial {
width: 25%;
}
.translationOverview-item {
width: 100%;
}
}
.overview-navigator {
2017-07-28 14:45:32 +00:00
display: flex;
2015-06-02 18:23:02 +00:00
}
.overview-navigator .pagination {
margin: 0 0 0 10px;
2017-07-28 14:45:32 +00:00
@include rtl(margin, 0 10px 0 0);
}
.empty-space {
padding: 50px;
svg {
width: 200px;
height: auto;
}
.empty-space-tagline {
color: hsl(198, 19%, 72%);
margin-top: 15px;
font-size: 18px;
}
}
2015-06-16 11:17:55 +00:00
.horizontal-filters {
margin-bottom: 20px;
}
.horizontal-filter {
display: flex;
background: hsl(197, 20%, 93%);
2015-06-18 08:04:16 +00:00
padding: 7px;
border: 1px solid hsl(198, 19%, 86%);
2015-06-16 11:17:55 +00:00
&:first-child {
border-radius: 4px 4px 0 0;
2017-07-28 14:45:32 +00:00
@include rtl(border-radius, 0 0 4px 4px);
2015-06-16 11:17:55 +00:00
}
2015-06-16 11:17:55 +00:00
&:last-child {
border-radius: 0 0 4px 4px;
2017-07-28 14:45:32 +00:00
@include rtl(border-radius, 4px 4px 0 0);
2015-06-16 11:17:55 +00:00
}
&:only-child {
border-radius: 4px;
2015-06-16 11:17:55 +00:00
}
2015-06-16 11:17:55 +00:00
& + .horizontal-filter {
2015-06-18 08:04:16 +00:00
border-top: none;
2015-06-16 11:17:55 +00:00
}
select,
2015-06-16 11:17:55 +00:00
input {
border-color: hsl(198, 19%, 86%);
2015-06-16 11:17:55 +00:00
}
input[type='text'] {
width: 100%;
2015-06-16 11:17:55 +00:00
}
input[data-item='time'] {
width: 4.5ch;
}
2015-06-16 11:17:55 +00:00
}
.horizontal-filter-body {
display: flex;
flex: 1;
min-width: 100px;
@include phone {
display: block;
margin-right: 5px;
}
> .controls,
> input {
@include bidi-style(margin-right, 5px, margin-left, 0);
@include phone {
margin: 0 0 5px !important;
}
> .controls-label {
margin-left: 0;
margin-right: 5px;
@include rtl(margin-left, 5px);
@include rtl(margin-right, 0);
}
.horizontal-filter-value {
max-width: 100%;
}
}
> .controls > .controls {
max-width: 100%;
+ .controls {
@include bidi-style(margin-left, 5px, margin-right, 0);
}
}
}
.horizontal-filter-group {
padding: 10px;
background: hsl(109, 0%, 97%);
border: 1px solid hsl(201, 19%, 86%);
border-radius: 5px;
margin: 0 5px;
> .form-group:last-child {
margin-bottom: 0;
}
}
.horizontal-filter-value {
max-width: 60%;
flex-grow: 1;
@include phone {
max-width: 100%;
}
// lower the min-width of url input fields (normally 400px) so that it fits in
input[type='url'] {
min-width: 200px;
}
.dropdown:only-child {
flex-grow: 1;
}
}
2015-06-25 14:10:22 +00:00
.output-input {
margin: 0 0 14px;
2015-06-29 11:18:30 +00:00
2015-06-25 14:10:22 +00:00
output {
margin: 0;
2015-06-29 11:18:30 +00:00
border-radius: 3px 3px 0 0;
border: 1px solid hsl(200, 71%, 59%);
2015-06-29 11:18:30 +00:00
border-bottom: none;
display: block;
2015-06-25 14:10:22 +00:00
}
2015-06-29 11:18:30 +00:00
2015-06-25 14:10:22 +00:00
input {
flex: 1;
border-top-left-radius: 0;
2015-06-29 11:18:30 +00:00
border-top-right-radius: 0;
border-top: none;
2015-06-25 14:10:22 +00:00
&:focus {
border-color: hsl(0, 0%, 90%);
2015-06-25 14:10:22 +00:00
box-shadow: none;
}
}
}
2015-06-18 08:04:16 +00:00
output {
border-bottom: 1px solid hsl(200, 71%, 59%);
2021-08-30 12:25:48 +00:00
margin: 14px 0 19px;
2015-06-18 08:04:16 +00:00
display: inline-block;
2015-06-25 14:10:22 +00:00
padding: 10px 12px 8px;
background: hsl(201, 62%, 93%);
2015-06-25 14:10:22 +00:00
&[disabled] {
border-color: hsl(358, 53%, 56%);
background: hsl(358, 53%, 76%);
2015-06-25 14:10:22 +00:00
}
2015-06-18 08:04:16 +00:00
}
2015-10-06 19:51:28 +00:00
.zammad-switch {
overflow: hidden;
2015-10-06 19:51:28 +00:00
width: 50px;
height: 30px;
border-radius: 15px;
2015-10-06 19:51:28 +00:00
&.zammad-switch--small {
width: 40px;
height: 24px;
border-radius: 12px;
}
&.zammad-switch--dark {
label {
background: hsl(234, 10%, 5%);
2015-10-06 19:51:28 +00:00
}
label::before {
background: hsl(233, 10%, 10%);
2015-10-06 19:51:28 +00:00
}
label::after {
background: hsl(234, 10%, 19%);
2015-10-06 19:51:28 +00:00
}
}
&.zammad-switch--green input:checked + label {
background: $supergood-color;
}
2015-10-06 19:51:28 +00:00
}
.zammad-switch label {
margin: 0;
2015-10-06 19:51:28 +00:00
position: relative;
width: 100%;
height: 100%;
border-radius: inherit;
outline: none;
background: white;
box-shadow: 0 0 0 1px rgba(0, 0, 0, 0.1) inset;
transition: background 200ms;
@extend %clickable;
&::after {
content: '';
position: absolute;
transition: transform 200ms;
width: calc(60% - 2px);
height: calc(100% - 2px);
border-radius: inherit;
left: 1px;
top: 1px;
box-shadow: 0 0 0 1px rgba(0, 0, 0, 0.05), 0 1px 3px rgba(0, 0, 0, 0.2);
background: white;
2017-07-28 14:45:32 +00:00
@include rtl(transform, translateX(70%));
}
}
.zammad-switch input {
display: none;
&[disabled] + label {
cursor: not-allowed;
background: hsl(210, 17%, 93%);
border-color: hsl(210, 10%, 85%);
}
&[disabled] + label::after {
background: hsl(210, 17%, 97%);
}
&:focus + label {
transition: none;
background: hsl(200, 71%, 59%);
box-shadow: 0 0 0 3px hsl(201, 62%, 90%);
}
&:checked + label {
background: hsl(200, 71%, 59%);
}
&:checked + label::after {
transform: translateX(70%);
2017-07-28 14:45:32 +00:00
@include rtl(transform, none);
}
}
.controls .zammad-switch {
margin-top: 10px;
}
2015-06-16 11:17:55 +00:00
.horizontal-filter-text {
2017-07-28 14:45:32 +00:00
@include bidi-style(margin-right, 5px, margin-left, 0);
2015-06-16 11:17:55 +00:00
}
.filter-controls {
display: flex;
margin-top: 5.5px;
2015-06-16 11:17:55 +00:00
}
.filter-control {
display: flex;
align-items: center;
justify-content: center;
2015-06-18 08:04:16 +00:00
width: 30px;
height: 30px;
box-shadow: 0 0 0 1px hsl(198, 19%, 86%) inset;
2015-06-16 11:17:55 +00:00
border-radius: 100%;
background: white;
@extend %clickable;
2015-06-16 11:17:55 +00:00
&:hover:not(.is-disabled) {
border-color: hsl(198, 19%, 83%);
2015-06-16 11:17:55 +00:00
.icon {
fill: black;
}
}
&.is-disabled {
cursor: not-allowed;
opacity: 0.5;
}
2015-06-16 11:17:55 +00:00
&:not(:last-child) {
2017-07-28 14:45:32 +00:00
@include bidi-style(margin-right, 7px, margin-left, 0);
2015-06-16 11:17:55 +00:00
}
2015-06-16 11:17:55 +00:00
.icon {
fill: hsl(0, 0%, 61%);
2015-06-16 11:17:55 +00:00
}
}
.filter-preview {
margin: 20px 0;
}
.day-name {
text-align: center;
margin-bottom: 0;
color: inherit;
white-space: nowrap;
2015-06-16 11:17:55 +00:00
}
.form-group.day-time {
2015-09-15 15:45:23 +00:00
padding: 10px 5px 6px;
margin: 0;
2015-09-14 16:48:46 +00:00
label {
text-align: center;
2015-09-14 16:48:46 +00:00
}
.form-control {
margin-left: auto;
margin-right: auto;
2015-09-15 15:45:23 +00:00
margin-bottom: 8px;
2015-09-14 16:48:46 +00:00
}
}
.settings-row {
margin-bottom: 10px;
}
.settings-list {
border-collapse: separate;
color: hsl(60, 1%, 34%);
2015-09-14 16:48:46 +00:00
table-layout: auto;
2015-11-17 00:43:36 +00:00
margin-bottom: 20px;
2016-04-18 00:02:31 +00:00
&.is-invalid {
border-radius: 3px;
box-shadow: 0 0 0 2px white, 0 0 0 4px hsl(0, 90%, 70%);
}
2015-09-30 14:39:07 +00:00
&.settings-list--fixed {
table-layout: fixed;
}
2015-09-14 16:48:46 +00:00
&.settings-list--stretch {
width: 100%;
}
2015-06-16 11:17:55 +00:00
&:not(:last-child) {
margin-bottom: 34px;
2015-06-16 11:17:55 +00:00
}
2019-06-04 03:40:48 +00:00
.form-group & {
margin-bottom: 0;
}
&.settings-list--toggleRow {
2015-09-17 12:50:10 +00:00
tr:not(.is-active) td > *:not(.dont-grey-out) {
opacity: 0.33;
}
2015-06-16 11:17:55 +00:00
}
&.settings-list--toggleColumn {
td:not(.is-active) * {
opacity: 0.33;
}
2015-06-16 11:17:55 +00:00
}
&.settings-list--placeholder {
th {
text-align: center;
border-bottom: 1px solid hsl(198, 18%, 86%);
border-radius: 4px;
}
td {
height: 40px;
}
}
2019-06-04 03:40:48 +00:00
.settings-list--deleted {
background-color: #eee;
td {
text-decoration: line-through;
}
}
th,
td {
2016-04-15 21:56:10 +00:00
vertical-align: top;
2015-09-14 17:00:45 +00:00
padding: 10px;
border: 1px solid hsl(198, 18%, 86%);
2019-06-04 03:40:48 +00:00
background: white;
}
th {
font-weight: normal;
text-transform: uppercase;
font-size: 12px;
2015-09-30 14:35:31 +00:00
line-height: 17px;
2015-09-22 13:19:05 +00:00
letter-spacing: 0.05em;
background: hsl(197, 20%, 93%);
border-bottom: none;
2016-04-18 00:02:31 +00:00
word-break: normal;
2015-06-16 11:17:55 +00:00
}
td {
word-break: break-all;
}
2015-09-16 14:46:24 +00:00
td.empty-cell {
border-top: none;
}
2016-02-10 17:27:29 +00:00
2016-02-08 16:24:48 +00:00
.settings-list-separator {
2017-07-28 14:45:32 +00:00
@include bidi-style(border-left-width, 3px, border-right-width, 1px);
2016-02-08 16:24:48 +00:00
}
2015-09-16 14:46:24 +00:00
.text-muted {
text-transform: none;
font-size: 10px;
letter-spacing: 0;
color: hsl(198, 18%, 72%);
}
2015-06-16 11:17:55 +00:00
.inline-label {
color: inherit;
}
th:not(:last-child),
td:not(:last-child) {
2017-07-28 14:45:32 +00:00
@include bidi-style(border-right-width, 0, border-left-width, 1px);
}
2015-06-16 11:17:55 +00:00
2019-06-04 03:40:48 +00:00
.ui-sortable-placeholder {
visibility: visible !important;
2019-06-04 03:40:48 +00:00
td {
background: none;
border-left-width: 0;
border-right-width: 0;
}
}
.ui-sortable-helper td {
border-bottom-width: 1px !important;
}
2016-02-04 13:28:27 +00:00
tr:not(:last-child) td,
& > tbody:not(:last-child) tr td {
2019-06-04 03:40:48 +00:00
border-bottom-width: 0;
2015-06-16 11:17:55 +00:00
}
2015-09-15 09:49:38 +00:00
tr.is-inactive td {
color: hsl(199, 19%, 80%);
2015-09-15 09:49:38 +00:00
text-decoration: line-through;
}
& > thead > tr > th:first-child {
@include bidi-style(
border-top-left-radius,
4px,
border-top-right-radius,
0
);
}
& > thead > tr > th:last-child {
@include bidi-style(
border-top-right-radius,
4px,
border-top-left-radius,
0
);
}
2016-02-04 13:28:27 +00:00
& > tbody:last-child > tr:last-child > td:first-child,
& > tfoot:last-child > tr:last-child > td:first-child {
@include bidi-style(
border-bottom-left-radius,
4px,
border-bottom-right-radius,
0
);
}
2016-02-04 13:28:27 +00:00
& > tbody:last-child > tr:last-child > td:last-child,
& > tfoot:last-child > tr:last-child > td:last-child {
@include bidi-style(
border-bottom-right-radius,
4px,
border-bottom-left-radius,
0
);
}
p {
2015-06-16 11:17:55 +00:00
margin: 0;
}
2015-09-14 17:00:45 +00:00
.settings-list-action-cell {
@extend .u-clickable;
2015-09-14 17:00:45 +00:00
text-align: center;
color: hsl(198, 19%, 72%);
background: hsl(197, 22%, 96%);
2015-09-15 15:45:23 +00:00
line-height: 1;
padding-top: 11px;
padding-bottom: 9px;
2015-09-14 17:00:45 +00:00
&:hover {
color: hsl(60, 1%, 34%);
2015-09-14 17:00:45 +00:00
}
2015-09-14 16:48:46 +00:00
.icon {
fill: currentColor;
2015-09-14 17:00:45 +00:00
vertical-align: top;
margin-top: -2px;
2015-09-14 16:48:46 +00:00
}
}
2015-09-15 09:49:38 +00:00
.settings-list-controls {
padding: 0;
2019-06-04 03:40:48 +00:00
& > div,
& > a {
display: flex;
min-height: 40px;
}
.settings-list-control {
display: flex;
align-items: center;
justify-content: center;
padding: 0 10px;
2019-06-04 03:40:48 +00:00
@extend %clickable;
}
}
2016-02-04 13:28:27 +00:00
.settings-list-control-cell {
padding: 5px;
2019-06-04 03:40:48 +00:00
.btn--text {
margin: -5px;
}
2016-02-04 13:28:27 +00:00
& ~ .settings-list-row-control {
padding-bottom: 7px;
2015-09-15 09:49:38 +00:00
}
}
2019-06-04 03:40:48 +00:00
.settings-list-checkbox-cell {
vertical-align: middle;
padding-left: 8px;
}
2015-09-14 16:48:46 +00:00
}
2015-06-18 12:42:32 +00:00
.select-boxes {
display: flex;
align-items: flex-start;
}
.select-box {
display: flex;
flex-wrap: wrap;
margin: 0 14px;
background: white;
color: hsl(60, 1%, 34%);
@include bidi-style(
border-right,
1px solid hsl(198, 18%, 86%),
border-left,
none
);
border-bottom: 1px solid hsl(198, 18%, 86%);
border-radius: 3px 3px 0 0;
2015-06-18 12:42:32 +00:00
&.select-box--vertical .select-value {
flex-basis: 100%;
}
&.select-box--four .select-value {
flex-basis: 25%;
}
&.select-box--six .select-value {
flex-basis: calc(100% / 6);
2015-06-18 12:42:32 +00:00
}
2015-06-18 12:42:32 +00:00
.select-box-header {
@extend label;
2015-06-18 12:42:32 +00:00
margin: 0;
color: inherit;
2015-06-18 12:42:32 +00:00
display: flex;
align-items: center;
padding: 8px 10px;
flex-basis: 100%;
white-space: nowrap;
background: hsl(197, 20%, 93%);
@include bidi-style(
border-left,
1px solid hsl(198, 18%, 86%),
border-right,
none
);
border-top: 1px solid hsl(198, 18%, 86%);
border-radius: 3px 3px 0 0;
2015-06-18 12:42:32 +00:00
}
.select-value {
display: flex;
align-items: center;
justify-content: center;
min-height: 34px;
2015-06-24 14:47:06 +00:00
background-clip: content-box;
box-shadow: 1px 0 hsl(198, 18%, 86%) inset, 0 1px hsl(198, 18%, 86%) inset;
@extend %clickable;
2015-06-18 12:42:32 +00:00
&.is-selected {
background-color: $highlight-color;
2015-06-24 14:47:06 +00:00
box-shadow: none;
color: white;
2015-06-18 12:42:32 +00:00
}
}
2015-06-18 12:42:32 +00:00
&:first-child {
2017-07-28 14:45:32 +00:00
@include bidi-style(margin-left, 0, margin-left, 14px);
2015-06-18 12:42:32 +00:00
}
2015-06-18 12:42:32 +00:00
&:last-child {
2017-07-28 14:45:32 +00:00
@include bidi-style(margin-right, 0, margin-left, 14px);
2015-06-18 12:42:32 +00:00
}
}
.searchableSelect {
position: relative;
.form-control {
padding-right: 37px;
2017-07-28 14:45:32 +00:00
@include bidi-style(padding-right, 37px, padding-left, 12px);
}
2015-08-04 15:43:06 +00:00
.searchableSelect-main {
position: relative;
2017-07-28 14:45:32 +00:00
line-height: 19px;
&.form-control--small ~ .searchableSelect-autocomplete {
2019-06-04 03:40:48 +00:00
top: 6px;
left: 9px;
}
2015-08-04 15:43:06 +00:00
}
.searchableSelect-shadow {
position: absolute;
left: -9999px;
2015-08-21 08:14:31 +00:00
}
.dropdown-menu {
margin-top: -3px;
max-width: 100%;
}
&-option-text {
flex: 1 1 0%;
text-overflow: ellipsis;
overflow: hidden;
white-space: nowrap;
display: block;
& + .icon {
2017-07-28 14:45:32 +00:00
@include bidi-style(margin-left, 10px, margin-right, 0);
}
&.is-inactive {
opacity: 0.73;
text-decoration: line-through;
}
}
&.dropdown li {
&:hover:not(.is-active) {
background: none;
}
&.is-hidden {
display: none;
}
}
li:not(.is-active):hover + li {
box-shadow: 0 1px rgba(255, 255, 255, 0.13) inset;
}
2015-08-04 14:56:10 +00:00
2015-08-04 15:43:06 +00:00
.searchableSelect-autocomplete {
position: absolute;
left: 13px;
top: 11px;
2015-08-04 15:43:06 +00:00
right: 37px;
white-space: nowrap;
overflow: hidden;
2015-08-21 08:14:31 +00:00
display: flex;
pointer-events: none;
white-space: pre;
2017-07-28 14:45:32 +00:00
line-height: 19px;
2015-08-04 15:43:06 +00:00
}
.searchableSelect-autocomplete-invisible {
color: transparent;
}
.searchableSelect-autocomplete-visible {
color: hsl(0, 0%, 33%);
background: hsl(201, 61%, 90%);
2015-08-04 15:43:06 +00:00
}
2015-08-04 14:56:10 +00:00
.loading.icon {
position: absolute;
right: 11px;
top: 11px;
display: none;
}
&.is-loading {
.loading.icon {
display: block;
}
2015-08-04 14:56:10 +00:00
.icon-arrow-down {
display: none;
}
}
}
.action {
2015-06-24 10:45:08 +00:00
background: white;
border: 1px solid hsl(199, 44%, 93%);
color: hsl(206, 7%, 28%);
box-shadow: 0 2px hsl(210, 7%, 94%);
2015-06-24 10:45:08 +00:00
display: flex;
flex-wrap: wrap;
padding: 10px;
2015-09-22 11:27:16 +00:00
margin-bottom: 17px;
2015-06-24 10:45:08 +00:00
&.is-inactive {
background: none;
2015-06-24 10:45:08 +00:00
box-shadow: none;
position: relative;
top: 2px;
border-color: hsl(199, 44%, 94%);
2015-06-24 10:45:08 +00:00
& > *:not(.action-controls) {
2015-06-24 10:45:08 +00:00
opacity: 0.33;
}
}
&--placeholder {
padding: 30px;
align-items: center;
justify-content: center;
color: hsl(206, 9%, 69%);
box-shadow: none;
background: none;
border-style: dashed;
font-style: italic;
}
&-alert {
width: calc(100% + 20px);
margin: -10px -10px 10px;
}
&-flow {
display: flex;
2015-09-17 12:19:30 +00:00
flex-wrap: wrap;
&.action-flow--noWrap {
flex-wrap: nowrap;
}
&.action-flow--row {
flex-basis: 100%;
}
2015-09-17 12:19:30 +00:00
}
&-separator {
2015-09-17 12:19:30 +00:00
width: 1px;
background: hsl(0, 0%, 97%);
2015-09-17 12:19:30 +00:00
margin: 0 10px;
}
.table {
margin-left: -9px;
margin-right: -9px;
}
2015-09-30 13:00:38 +00:00
h2 {
2015-09-25 11:21:05 +00:00
margin-bottom: 0;
.action-form-status .icon {
margin-top: 0;
}
2015-09-25 11:21:05 +00:00
}
&-block,
&-controls,
&-row {
padding: 10px;
2015-09-17 12:19:30 +00:00
h2:first-child,
h3:first-child {
margin-top: 0;
}
}
&-block {
&.action-block--flex {
flex: 1;
}
}
&-row {
2015-09-17 12:19:30 +00:00
flex-basis: 100%;
2015-06-24 10:45:08 +00:00
}
2015-06-24 10:45:08 +00:00
h3 {
color: hsl(0, 0%, 60%);
2015-06-24 10:45:08 +00:00
margin-top: 0;
+ .btn--text {
margin-bottom: -4px;
}
2015-06-24 10:45:08 +00:00
}
&-label {
background: hsl(197, 20%, 93%);
border: 1px solid hsl(197, 20%, 88%);
align-self: flex-start;
padding: 5px 10px;
2017-07-28 14:45:32 +00:00
margin: -4px -25px -5px auto;
2017-07-28 14:45:32 +00:00
@include rtl(margin, -4px auto -5px -25px);
color: hsl(197, 16%, 65%);
2015-09-25 11:21:05 +00:00
cursor: default;
}
&-flow-icon {
width: 15px;
height: 24px;
2015-09-30 13:12:45 +00:00
margin-top: 16px; /* compensate for h3 height */
margin-left: 20px;
margin-right: 20px;
fill: hsl(198, 17%, 89%);
2015-06-24 10:45:08 +00:00
}
&-controls {
2015-06-24 10:45:08 +00:00
display: flex;
2017-07-28 14:45:32 +00:00
@include bidi-style(margin-left, auto, margin-right, 0);
2015-09-17 12:19:30 +00:00
align-self: flex-end;
.btn {
align-self: center;
}
2015-06-24 10:45:08 +00:00
}
}
/*
datepicker resets some css it potentially inherits when its rendered inside a table
*/
.datepicker {
background: hsl(234, 10%, 19%);
color: white;
padding: 0 14px 11px;
position: absolute;
min-width: 0;
cursor: default;
&.datepicker-rtl {
left: auto;
right: 0;
}
.datepicker-switch {
padding: 12px 0;
font-weight: bold;
font-size: 15px;
text-align: center;
letter-spacing: 0;
line-height: 1.5;
text-transform: none;
@extend %clickable;
&:hover {
background: hsl(240, 10%, 14%);
}
}
th {
background: none;
font-weight: bold;
}
th,
td {
border: none;
}
.next,
.prev {
padding: 12px 9px 0;
vertical-align: top;
text-align: center;
@extend %clickable;
.icon {
margin-top: 4px;
fill: white;
opacity: 1;
}
&:hover {
background: hsl(240, 10%, 14%);
}
}
.dow {
text-transform: uppercase;
font-size: 12px;
padding: 5px 5px 0;
text-align: center;
vertical-align: inherit;
}
.day {
width: 27px;
height: 26px;
border-radius: 14px;
padding: 1px 0 0 !important;
background-color: inherit;
vertical-align: inherit;
}
.month,
.year {
float: left;
width: 23%;
margin: 1%;
padding: 5px 0;
}
.day,
.month,
.year {
text-align: center;
font-size: 15px;
&:not(.disabled) {
@extend %clickable;
}
&.disabled,
&.old,
&.new {
color: hsl(0, 0%, 33%);
}
&.today {
background: hsl(240, 10%, 4%);
}
&.focused {
box-shadow: 0 0 0 1px hsl(207, 82%, 64%) inset;
}
&.active {
color: white;
background: hsl(207, 82%, 64%);
}
}
.today {
text-align: center;
padding: 2px 0 0;
@extend %clickable;
&.hidden {
display: none;
}
}
}
2015-09-29 15:12:59 +00:00
#notify {
position: absolute;
top: 10px;
2015-09-29 15:12:59 +00:00
left: 0;
right: 0;
@extend .zIndex-9;
pointer-events: none;
2015-09-29 15:12:59 +00:00
.noty_bar {
max-width: 500px;
text-align: center;
margin: 0 auto 10px;
.noty_message {
pointer-events: auto;
display: inline-block;
background: rgba(0, 0, 0, 0.75);
padding: 10px 15px 8px;
2015-09-29 15:12:59 +00:00
border-radius: 3px;
color: white;
2015-09-29 15:12:59 +00:00
}
.icon {
vertical-align: middle;
margin-top: -3px;
2017-07-28 14:45:32 +00:00
@include bidi-style(margin-right, 5px, margin-left, 0);
2015-09-29 15:12:59 +00:00
}
a {
color: inherit;
text-decoration: none;
}
}
}
.animated {
animation-duration: 300ms;
animation-fill-mode: both;
}
.fadeInDown {
animation-name: fadeInDown;
}
@keyframes fadeInDown {
from {
opacity: 0;
transform: translate3d(0, -50%, 0);
}
to {
opacity: 1;
transform: none;
}
}
.fadeOutDown {
animation-name: fadeOutDown;
}
@keyframes fadeOutDown {
from {
opacity: 1;
}
to {
opacity: 0;
transform: translate3d(0, 50%, 0);
}
}
.loading-placeholder {
display: flex;
align-items: center;
justify-content: center;
height: 133px;
.loading-text {
2017-07-28 14:45:32 +00:00
@include bidi-style(margin-left, 10px, margin-right, 0);
}
}
2015-10-06 19:51:28 +00:00
.chat {
background: white;
flex: 1;
display: flex;
flex-direction: column;
2015-11-03 15:09:53 +00:00
padding: 0 14px;
@include phone {
padding: 0;
}
2015-10-06 19:51:28 +00:00
.page-header {
margin: 15px 6px 5px;
@include phone {
flex-wrap: wrap;
margin: 0;
padding: 5px 8px;
}
}
.page-header-title {
@include phone {
order: 1;
}
}
.page-header-center {
@include phone {
flex-basis: 100%;
padding: 0;
order: 3;
}
}
.page-header-meta {
@include phone {
order: 2;
@include bidi-style(margin-left, auto, margin-right, auto);
padding-top: 4px;
@include bidi-style(padding-left, 10px, padding-right, 0);
}
2015-10-06 19:51:28 +00:00
}
}
.chat-workspace {
display: flex;
flex-wrap: wrap;
padding: 0 0 10px;
margin: 0 -4px;
flex: 1;
@include phone {
margin: 0;
padding: 0;
flex-wrap: nowrap;
overflow: auto;
-webkit-overflow-scrolling: touch;
scroll-snap-mode: x mandatory;
}
2015-10-06 19:51:28 +00:00
}
.chat-window {
flex: 0 1 0;
overflow: hidden;
display: flex;
flex-direction: column;
color: hsl(0, 0%, 33%);
2015-10-06 19:51:28 +00:00
transition: all 500ms;
transform: scale(0);
@include phone {
min-width: calc(100vw - #{$mobileNavigationWidth} - 16px);
scroll-snap-align: center;
}
2015-10-06 19:51:28 +00:00
&.is-open {
flex: 1 0 25%;
transform: scale(1);
2015-11-12 12:10:13 +00:00
padding: 10px;
@include phone {
padding: 8px;
}
2015-10-06 19:51:28 +00:00
}
&.is-offline {
.chat-controls {
opacity: 0.5;
}
}
}
.chat-header {
background: hsl(210, 8%, 95%);
border: 1px solid hsl(0, 0%, 91%);
2015-10-06 19:51:28 +00:00
border-radius: 3px 3px 0 0;
height: 43px;
2015-10-06 19:51:28 +00:00
line-height: 13px;
flex-shrink: 0;
display: flex;
justify-content: space-between;
align-items: center;
2015-10-06 19:51:28 +00:00
}
.chat-name {
margin: 0 2px;
overflow: hidden;
text-overflow: ellipsis;
white-space: nowrap;
2016-03-23 15:25:25 +00:00
.status-badge {
2017-07-28 14:45:32 +00:00
@include bidi-style(margin-left, 2px, margin-right, 0);
2016-03-23 15:25:25 +00:00
vertical-align: middle;
height: 100%;
}
2015-10-06 19:51:28 +00:00
}
.chat-status {
2017-07-28 14:45:32 +00:00
@include bidi-style(margin-left, 10px, margin-right, 0);
2015-10-06 19:51:28 +00:00
&[data-status='online'] .icon {
fill: $supergood-color;
}
&[data-status='offline'] .icon {
fill: $superbad-color;
}
.icon-status-modified-inner-circle,
.icon-status-modified-outer-circle {
display: none;
}
&.is-modified {
.icon-status {
display: none;
}
.icon-status-modified-inner-circle,
.icon-status-modified-outer-circle {
display: block;
}
}
}
2015-10-06 19:51:28 +00:00
.chat-status-holder {
position: relative;
}
.chat-disconnect,
2015-10-06 19:51:28 +00:00
.chat-close {
@extend %clickable;
padding: 10px;
.btn {
min-width: 80px;
justify-content: center;
2015-10-06 19:51:28 +00:00
}
}
2015-10-06 19:51:28 +00:00
.chat-disconnect.is-hidden,
.chat-close.is-hidden {
display: none;
2015-10-06 19:51:28 +00:00
}
2016-07-04 13:59:12 +00:00
.chat-scroll-hint {
background: hsl(210, 8%, 98%);
2016-07-04 13:59:12 +00:00
display: flex;
align-items: center;
border: 1px solid hsl(0, 0%, 91%);
2016-07-04 13:59:12 +00:00
border-top: none;
padding: 7px 10px 6px;
color: hsl(0, 0%, 60%);
@extend %clickable;
2016-07-04 13:59:12 +00:00
&.is-hidden {
display: none;
}
2016-07-04 13:59:12 +00:00
.icon {
fill: hsl(210, 5%, 78%);
2017-07-28 14:45:32 +00:00
@include bidi-style(margin-right, 8px, margin-left, 0);
2016-07-04 13:59:12 +00:00
}
}
2015-10-06 19:51:28 +00:00
.chat-body-holder {
flex: 1;
background: hsl(210, 17%, 98%);
2015-10-06 19:51:28 +00:00
font-size: 13px;
line-height: 18px;
overflow: auto;
-webkit-overflow-scrolling: touch;
@include bidi-style(
border-right,
1px solid hsl(0, 0%, 91%),
border-left,
none
);
border-left: 1px solid hsl(0, 0%, 91%);
2015-10-06 19:51:28 +00:00
position: relative;
}
2016-01-14 11:13:31 +00:00
.chat-body-holder--standalone {
border-top: 1px solid hsl(0, 0%, 91%);
border-bottom: 1px solid hsl(0, 0%, 91%);
2016-01-14 11:13:31 +00:00
}
2015-10-06 19:51:28 +00:00
.chat-body {
padding: 10px;
display: flex;
flex-direction: column;
align-items: flex-start;
position: absolute;
width: 100%;
top: 0;
left: 0;
}
.chat-timestamp,
.chat-notice-message {
2015-10-06 19:51:28 +00:00
font-size: 12px;
color: hsl(10, 5%, 78%);
2015-10-06 19:51:28 +00:00
margin-bottom: 4px;
align-self: center;
word-break: break-word;
2015-10-06 19:51:28 +00:00
}
.chat-timestamp-label {
font-weight: 500;
}
.chat-message {
max-width: 90%;
background: white;
padding: 6px 12px;
border-radius: 16px;
margin-bottom: 4px;
}
.chat-message--customer.chat-message--new {
2015-11-13 15:20:25 +00:00
font-weight: bold;
2015-10-06 19:51:28 +00:00
}
.chat-message--agent {
2017-07-28 14:45:32 +00:00
@include bidi-style(margin-left, auto, margin-right, 0);
background: hsl(199, 44%, 93%);
2015-10-06 19:51:28 +00:00
align-self: flex-end;
}
.chat-message--agent + .chat-message--customer,
.chat-message--customer + .chat-message--agent {
margin-top: 10px;
}
.chat-status-message {
align-self: center;
background: hsl(197, 18%, 92%);
2015-10-06 19:51:28 +00:00
padding: 6px 12px;
margin: 4px 0 10px;
border-radius: 3px;
}
.chat-loader {
2017-07-28 14:45:32 +00:00
@include bidi-style(margin-right, -4px, margin-left, 0);
2015-10-06 19:51:28 +00:00
.icon {
2016-07-05 11:00:21 +00:00
width: 12px;
height: 12px;
fill: hsl(0, 0%, 90%);
2017-07-28 14:45:32 +00:00
@include bidi-style(margin-left, -4px, margin-right, 0);
2015-10-06 19:51:28 +00:00
vertical-align: middle;
animation: ease-in-out load-fade 600ms infinite alternate;
}
.icon + .icon {
animation-delay: 0.13s;
2015-10-06 19:51:28 +00:00
}
.icon + .icon + .icon {
animation-delay: 0.26s;
2015-10-06 19:51:28 +00:00
}
}
@keyframes load-fade {
from {
opacity: 0.5;
transform: scale(0.6);
}
67% {
opacity: 1;
transform: scale(1);
}
2015-10-06 19:51:28 +00:00
}
.chat-footer {
border-top: 1px solid hsl(0, 0%, 93%);
padding: 10px 10px 0;
display: flex;
justify-content: center;
align-self: stretch;
margin: 0 -10px;
}
2015-10-06 19:51:28 +00:00
.chat-controls {
display: flex;
align-items: flex-start;
padding: 10px;
border: 1px solid hsl(0, 0%, 91%);
2015-10-06 19:51:28 +00:00
border-radius: 0 0 3px 3px;
flex-shrink: 0;
}
.chat-input {
2017-07-28 14:45:32 +00:00
@include bidi-style(margin-right, 10px, margin-left, 0);
flex-grow: 1;
position: relative;
.form-control {
overflow: auto;
-webkit-overflow-scrolling: touch;
max-height: 50vh;
}
2015-10-06 19:51:28 +00:00
}
2015-11-16 16:10:22 +00:00
.browser {
margin: 0 0 20px;
position: relative;
&[data-size] {
padding-bottom: 65%; // 16:10 aspect ratio;
.browser-ratio {
width: 100%;
height: 100%;
position: absolute;
left: 0;
top: 0;
transition: 500ms;
display: flex;
flex-direction: column;
}
.browser-body {
padding: 0;
}
}
&[data-size='mobile'] .browser-ratio {
width: 375px;
}
&-ratio {
border: 1px solid hsl(0, 0%, 90%);
border-radius: 5px;
}
}
@media screen and (min-width: #{1280 + $sidebarWidth + $navigationWidth}) {
// hide 1:1 button when it gets inrelevant
[data-size='1:1'] {
display: none;
}
.browser[data-size='mobile'] .browser-ratio {
width: 500px;
}
2015-11-16 16:10:22 +00:00
}
2015-11-16 16:10:22 +00:00
.browser-body {
flex: 1;
2015-11-16 16:10:22 +00:00
position: relative;
overflow: hidden;
padding: 20px;
&-inner {
position: absolute;
left: 0;
top: 0;
width: 100%;
height: 100%;
}
2015-11-24 13:05:13 +00:00
.browser-website {
position: relative;
height: 100%;
transform-origin: right bottom;
transition: 500ms;
2015-11-25 14:08:11 +00:00
overflow: hidden;
&.is-picking {
cursor: image_url('/assets/images/eyedropper.gif') 0 15, auto;
2015-11-24 13:05:13 +00:00
}
&-background {
position: absolute;
top: 0;
left: 0;
width: 100%;
height: 100%;
object-fit: cover;
object-position: left top;
}
2015-11-16 16:10:22 +00:00
}
}
.browser-head {
display: flex;
2015-11-17 00:43:36 +00:00
padding: 10px;
border-bottom: 1px solid hsl(0, 0%, 90%);
2015-11-16 16:10:22 +00:00
.browser-input {
position: relative;
2015-11-25 14:08:11 +00:00
flex: 1;
2017-07-28 14:45:32 +00:00
@include bidi-style(margin-right, 10px, margin-left, 0);
2015-11-17 00:43:36 +00:00
input {
min-width: 0;
2017-07-28 14:45:32 +00:00
@include bidi-style(padding-right, 40px, padding-left, 12px);
2015-11-24 13:05:13 +00:00
&.is-loading + .loading.icon {
display: block;
}
}
.loading.icon {
position: absolute;
2017-07-28 14:45:32 +00:00
@include bidi-style(right, 11px, left, auto);
top: 10px;
display: none;
}
2015-11-16 16:10:22 +00:00
}
.help-block {
margin-bottom: -3px;
}
2015-11-16 16:10:22 +00:00
.browser-control {
width: 39px;
display: flex;
align-items: center;
justify-content: center;
fill: hsl(202, 8%, 28%);
@extend %clickable;
2015-11-16 16:10:22 +00:00
}
}
.chat-demo {
.zammad-chat {
position: absolute;
transform-origin: right bottom;
2015-11-17 00:43:36 +00:00
transition: 500ms;
user-select: none;
will-change: transform;
2016-03-24 11:31:10 +00:00
&.is-fullscreen {
right: 0;
width: 100%;
height: 100%;
border-radius: 0 !important;
2016-03-24 11:31:10 +00:00
.zammad-chat-header {
border-radius: 0 !important;
box-shadow: 0 -1px rgba(0, 0, 0, 0.1), 0 -1px rgba(0, 0, 0, 0.1) inset,
0 1px 1px rgba(0, 0, 0, 0.13);
2016-03-24 11:31:10 +00:00
}
.zammad-chat-controls {
border-radius: 0 0 5px 5px;
}
}
&.no-transition {
transition: none;
}
.zammad-chat-welcome {
display: block !important;
}
.zammad-chat-header-icon-open {
display: inline !important;
}
.zammad-chat-agent-status,
.zammad-chat-header-icon-close,
.zammad-chat-agent {
display: none !important;
}
&.is-open {
.zammad-chat-agent {
display: block !important;
}
.zammad-chat-header-icon-close,
.zammad-chat-agent-status {
display: inline-block !important;
}
.zammad-chat-welcome,
.zammad-chat-header-icon-open {
display: none !important;
}
2015-11-17 00:43:36 +00:00
}
2015-11-17 00:43:36 +00:00
&.is-fullscreen {
height: 100%;
.zammad-chat-controls {
border-radius: 0 0 5px 5px;
}
2015-11-17 00:43:36 +00:00
}
}
.zammad-chat-header {
2015-11-16 16:10:22 +00:00
pointer-events: auto;
}
.chat-demo-animationHolder {
position: absolute;
bottom: 0;
left: 0;
width: 100%;
height: 100%;
animation: slide-up 500ms;
pointer-events: none;
2015-11-16 16:10:22 +00:00
}
}
@keyframes slide-up {
from {
transform: translateY(100%);
}
2015-11-16 16:10:22 +00:00
}
2015-11-17 00:43:36 +00:00
.select-tabs {
display: flex;
border: 1px solid hsla(206, 100%, 3%, 0.08);
2015-11-17 00:43:36 +00:00
border-radius: 3px;
2015-11-17 00:43:36 +00:00
.tab {
height: 39px;
padding-top: 11px;
2015-11-17 00:43:36 +00:00
&.is-selected {
background: linear-gradient(
hsla(202, 50%, 20%, 0.1),
hsla(202, 50%, 20%, 0.03)
);
2015-11-17 00:43:36 +00:00
}
}
}
.todo {
position: relative;
2016-02-05 11:29:26 +00:00
display: block;
2016-02-05 11:29:26 +00:00
.icon {
fill: hsl(0, 0%, 80%);
2016-02-05 11:29:26 +00:00
vertical-align: middle;
margin: -2px 3px 0 0;
}
2016-02-05 11:29:26 +00:00
&.is-done .icon {
fill: $supergood-color;
}
}
2016-02-09 13:30:36 +00:00
.columnSelect {
2016-02-09 17:09:50 +00:00
height: 234px;
2016-02-09 13:30:36 +00:00
display: flex;
padding: 0;
line-height: 22px;
&-shadow {
2016-02-09 13:30:36 +00:00
display: none;
}
&-column--selected {
2016-02-09 17:09:50 +00:00
flex: 1 1 66%;
2016-02-09 13:30:36 +00:00
overflow: auto;
-webkit-overflow-scrolling: touch;
2016-02-09 14:59:36 +00:00
padding: 7px;
2016-02-09 13:30:36 +00:00
}
&-column--sidebar {
2016-02-09 13:30:36 +00:00
flex-basis: 33%;
flex-shrink: 1;
border-left: 1px solid hsl(198, 4%, 90%);
background: hsl(198, 4%, 96%);
2016-02-09 13:30:36 +00:00
display: flex;
flex-direction: column;
2016-02-09 17:09:50 +00:00
min-width: 0;
2016-02-10 16:32:46 +00:00
.columnSelect-option:hover {
background: hsl(198, 4%, 91%);
2016-02-10 16:32:46 +00:00
}
2016-02-09 13:30:36 +00:00
}
&-pool {
2016-02-09 17:09:50 +00:00
flex: 1 1 auto;
2016-02-09 13:30:36 +00:00
overflow: auto;
-webkit-overflow-scrolling: touch;
2016-02-09 14:59:36 +00:00
padding: 7px;
2016-02-09 13:30:36 +00:00
}
&-option {
@extend %clickable;
2016-02-09 14:59:36 +00:00
padding: 0 5px;
border-radius: 1px;
2016-02-09 17:09:50 +00:00
overflow: hidden;
white-space: nowrap;
text-overflow: ellipsis;
2016-02-09 14:59:36 +00:00
&:hover {
background: hsl(198, 4%, 96%);
2016-02-09 14:59:36 +00:00
}
2016-02-09 13:30:36 +00:00
}
&-group-label {
opacity: 0.5;
.filter-active & {
display: none;
}
~ .columnSelect-option {
padding-left: 10px;
}
}
2016-02-09 13:30:36 +00:00
.is-hidden,
.is-filtered {
display: none;
}
&-search {
position: relative;
.icon {
fill: hsl(198, 4%, 85%);
}
2016-02-09 13:30:36 +00:00
.icon-magnifier {
left: 7px;
top: 5px;
position: absolute;
}
2016-02-09 13:30:36 +00:00
&-clear {
position: absolute;
right: 0;
top: 0;
padding: 5px 7px;
@extend %clickable;
line-height: 1;
}
2016-02-09 13:30:36 +00:00
input {
width: 100%;
padding: 2px 30px 1px;
border: none;
outline: none;
border-bottom: 1px solid hsl(198, 4%, 90%);
background: none;
}
2016-02-09 13:30:36 +00:00
}
}
2016-05-03 10:06:40 +00:00
.pulsate-animation {
animation: pulsate 667ms ease-in-out infinite alternate;
}
.richtext-content {
&[contenteditable] {
&,
&:hover,
&:focus {
background: none;
}
}
2019-06-04 03:40:48 +00:00
h1,
h2,
h3,
h4 {
&:first-child {
margin-top: 6px;
}
}
table,
pre,
blockquote {
margin-bottom: 16px;
}
& > p,
& > table,
& > pre,
& > blockquote {
&:first-child {
margin-top: 6px;
}
&:last-child {
margin-bottom: 6px;
}
}
table {
table-layout: auto;
display: block;
width: 100%;
overflow: auto;
-webkit-overflow-scrolling: touch;
word-break: break-all;
col {
width: auto;
}
}
blockquote {
padding: 8px 12px;
border-left: 5px solid #eee;
}
code {
border: none;
background: hsl(0, 0%, 97%);
white-space: pre-wrap;
}
pre {
padding: 12px 15px;
font-size: 13px;
line-height: 1.45;
background: hsl(0, 0%, 97%);
white-space: pre-wrap;
border-radius: 3px;
border: none;
overflow: auto;
-webkit-overflow-scrolling: touch;
}
hr {
margin-top: 6px;
margin-bottom: 6px;
border: 0;
border-top: 1px solid #dfdfdf;
}
}
.detail-search-header {
margin: 20px 0 32px;
}
2017-01-06 17:05:08 +00:00
.batch-overlay {
@extend .fit, .zIndex-1;
2017-01-06 17:05:08 +00:00
color: white;
text-transform: uppercase;
text-align: center;
letter-spacing: 0.07em;
font-size: 0.95em;
line-height: 1.3;
display: none;
will-change: display;
cursor: grabbing;
overflow: hidden;
user-select: none;
&.is-visible {
display: block;
}
2017-01-06 17:05:08 +00:00
&-backdrop {
@extend .fit;
background: hsla(231, 20%, 8%, 0.8);
2017-01-06 17:05:08 +00:00
opacity: 0;
will-change: opacity;
}
2017-01-06 17:05:08 +00:00
&-circle {
margin: 35px auto;
background: hsl(207, 7%, 29%);
2017-01-06 17:05:08 +00:00
border-radius: 100%;
border: 4px solid white;
width: 140px;
height: 140px;
padding: 20px 0;
display: flex;
flex-direction: column;
justify-content: space-around;
align-items: center;
position: absolute;
left: 0;
right: 0;
will-change: transform, opacity;
visibility: hidden;
2017-01-06 17:05:08 +00:00
&--top {
top: 0;
}
2017-01-06 17:05:08 +00:00
&--bottom {
bottom: 0;
}
.icon {
fill: currentColor;
opacity: 1;
}
2017-01-06 17:05:08 +00:00
&-label {
width: 80%;
2017-01-06 17:05:08 +00:00
margin: 10px 0;
}
}
&-cancel {
background: hsla(0, 0%, 100%, 0.21);
2017-01-06 17:05:08 +00:00
background-clip: padding-box;
border: 2px dashed hsla(0, 0%, 100%, 0.3);
2017-01-06 17:05:08 +00:00
border-radius: 8px;
padding: 28px;
margin: auto 200px;
2017-01-06 17:05:08 +00:00
position: absolute;
left: 0;
right: 0;
max-height: 100px;
2017-01-06 17:05:08 +00:00
visibility: hidden;
will-change: opacity;
display: flex;
justify-content: center;
align-items: center;
2017-01-06 17:05:08 +00:00
}
&-box {
background: hsl(232, 9%, 17%);
2017-01-06 17:05:08 +00:00
width: 100%;
position: absolute;
visibility: hidden;
will-change: opacity, transition;
&-inner {
margin: 37px 25px;
display: flex;
flex-wrap: wrap;
2017-02-09 23:26:54 +00:00
justify-content: center;
overflow: hidden;
}
2017-01-06 17:05:08 +00:00
}
&-assign {
padding-bottom: 50px;
2017-01-06 17:05:08 +00:00
bottom: -50px; // extra space for bounce animation
.batch-overlay-box-inner {
max-height: 40vh;
2017-02-09 23:26:54 +00:00
}
2017-02-09 23:26:54 +00:00
&-group {
box-shadow: 0 0 35px hsla(0, 0%, 0%, 0.5);
2017-02-09 23:26:54 +00:00
.batch-overlay-box-inner {
margin-top: 42px;
margin-bottom: 10px;
}
&-name {
position: absolute;
left: 0;
right: 0;
top: 0;
padding: 11px 13px 8px;
line-height: 1;
position: absolute;
background: hsl(233, 10%, 15%);
}
}
2017-01-06 17:05:08 +00:00
&-entry {
padding: 13px;
width: 116px;
2017-02-09 23:26:54 +00:00
height: 155px;
2017-01-06 17:05:08 +00:00
&.is-hovered {
.avatar {
border-color: $highlight-color;
transform: scale(1.05);
}
}
.avatar {
border: 4px solid hsl(231, 5%, 30%);
2017-01-06 17:05:08 +00:00
margin-bottom: 10px;
box-sizing: content-box;
transition: transform 120ms;
2017-02-09 23:26:54 +00:00
cursor: inherit;
2017-02-21 08:58:40 +00:00
z-index: 1;
2017-01-06 17:05:08 +00:00
}
&-name {
max-height: 34px;
overflow: hidden;
display: -webkit-box;
-webkit-box-orient: vertical;
-webkit-line-clamp: 2;
overflow: hidden;
word-break: break-word;
}
2017-01-06 17:05:08 +00:00
&-detail {
color: gray;
}
}
}
&-macro {
padding-top: 50px;
2017-01-06 17:05:08 +00:00
top: -50px; // extra space for bounce animation
.batch-overlay-box-inner {
max-height: 55vh;
2017-02-09 23:26:54 +00:00
margin: 24px 12px;
}
2017-01-06 17:05:08 +00:00
&-entry {
margin: 13px;
border: 4px solid hsl(231, 5%, 30%);
background: hsl(233, 9%, 24%);
2017-01-06 17:05:08 +00:00
border-radius: 100%;
height: 120px;
width: 120px;
padding: 13px 13px 10px;
display: flex;
align-items: center;
justify-content: center;
font-size: 0.9em;
2017-01-06 17:05:08 +00:00
&.is-hovered {
border-color: $highlight-color;
transform: scale(1.05);
}
&.small {
@include small-desktop {
height: 80px;
width: 80px;
padding: 11px 11px 8px;
}
}
2017-01-06 17:05:08 +00:00
}
}
}
.batch-dragger {
position: absolute;
left: 0;
top: 0;
pointer-events: none;
width: 250px;
height: 40px;
will-change: transform;
@extend .zIndex-10;
2017-01-06 17:05:08 +00:00
&-item {
position: absolute;
left: 0;
width: 100%;
background: hsl(200, 100%, 91%);
2017-01-06 17:05:08 +00:00
border-radius: 4px;
display: flex;
align-items: center;
padding: 11px 0 9px 11px;
box-shadow: 0 0 10px hsla(0, 0%, 0%, 0.28);
2017-01-06 17:05:08 +00:00
will-change: transform;
2017-01-06 17:05:08 +00:00
a {
color: inherit;
}
td:not(:first-child) {
2017-01-06 17:05:08 +00:00
display: block;
padding: 0 12px;
white-space: nowrap;
text-overflow: ellipsis;
overflow: hidden;
flex-shrink: 0;
2017-01-06 17:05:08 +00:00
&:nth-child(3) {
flex-shrink: 1;
}
&:nth-child(n + 4) {
2017-01-06 17:05:08 +00:00
display: none;
}
}
.checkbox-replacement > .icon,
.radio-replacement > .icon {
fill: none;
}
2017-01-06 17:05:08 +00:00
}
&-counter {
position: absolute;
right: -8px;
bottom: -8px;
width: 25px;
height: 25px;
border-radius: 99px;
z-index: 1;
color: white;
background: $highlight-color;
display: flex;
align-items: center;
justify-content: center;
box-shadow: 0 0 10px hsla(0, 0%, 0%, 0.28);
2017-01-06 17:05:08 +00:00
will-change: transform;
2017-01-06 17:05:08 +00:00
&:empty {
display: none;
}
}
}
/*
2019-06-04 03:40:48 +00:00
-------------
breadcrumbs
-------------
*/
2019-06-04 03:40:48 +00:00
.breadcrumbs {
display: flex;
2019-06-04 03:40:48 +00:00
align-items: center;
min-width: 88px;
@include phone {
overflow: hidden;
}
2019-06-04 03:40:48 +00:00
&-menu {
display: flex;
@include ltr(margin-left, auto);
@include rtl(margin-right, auto);
@include bidi-style(padding-left, 20px, padding-right, 0);
@include phone {
@include bidi-style(padding-left, 10px, padding-right, 0);
}
2019-06-04 03:40:48 +00:00
}
}
2019-06-04 03:40:48 +00:00
.breadcrumb {
position: relative;
padding-top: 11px;
padding-bottom: 8px;
@include ltr(padding-right, 21px);
@include ltr(padding-left, 13px);
@include rtl(padding-left, 21px);
@include rtl(padding-right, 13px);
2019-06-04 03:40:48 +00:00
color: inherit;
cursor: pointer;
2019-06-04 03:40:48 +00:00
@extend .u-textTruncate;
@include phone {
flex-shrink: 0;
}
&::before,
&::after {
content: '';
2019-06-04 03:40:48 +00:00
position: absolute;
width: 1px;
height: 50%;
background: currentColor;
opacity: 0.33;
@include ltr(right, 0);
@include rtl(left, 0);
2019-06-04 03:40:48 +00:00
top: 0;
transform-origin: bottom;
@include ltr(transform, rotate(-37deg));
@include rtl(transform, rotate(37deg));
2019-06-04 03:40:48 +00:00
}
&::after {
2019-06-04 03:40:48 +00:00
top: 50%;
transform-origin: top;
@include ltr(transform, rotate(37deg));
@include rtl(transform, rotate(-37deg));
2019-06-04 03:40:48 +00:00
}
2019-06-04 03:40:48 +00:00
&:last-child {
&::before,
&::after {
2019-06-04 03:40:48 +00:00
display: none;
}
}
.modified-icon {
@include bidi-style(margin-right, 3px, margin-left, 0);
display: inline-block;
vertical-align: middle;
line-height: 1;
}
&-icon {
2019-06-04 03:40:48 +00:00
fill: currentColor;
width: 20px;
height: 20px;
object-fit: contain;
}
.modified-icon-modifier {
fill: hsl(210, 14%, 94%);
2019-06-04 03:40:48 +00:00
}
}
2019-06-04 03:40:48 +00:00
/*
2015-10-08 12:10:54 +00:00
2019-06-04 03:40:48 +00:00
---------------------
iconfont icon picker
---------------------
2015-10-08 12:10:54 +00:00
*/
2019-06-04 03:40:48 +00:00
.icon_picker {
.dropdown-menu {
max-height: 500px;
width: 420px;
min-width: 0;
overflow-y: auto;
}
2014-12-09 10:12:51 +00:00
2019-06-04 03:40:48 +00:00
.controls {
position: relative;
}
2019-06-04 03:40:48 +00:00
&-shadow {
display: none;
}
2019-06-04 03:40:48 +00:00
.dropdown-grid {
&:empty {
padding: 0;
2019-06-04 03:40:48 +00:00
& + .dropdown-filter-placeholder {
display: block;
}
}
2019-06-04 03:40:48 +00:00
li:hover:not(.is-active) {
background: none;
}
2019-06-04 03:40:48 +00:00
.icon {
width: 40px;
line-height: 40px;
text-align: center;
}
}
2019-06-04 03:40:48 +00:00
.dropdown-filter-placeholder {
display: none;
padding: 10px;
text-align: center;
text-rendering: auto;
font-feature-settings: 'liga';
-webkit-font-smoothing: antialiased;
-moz-osx-font-smoothing: grayscale;
transition: letter-spacing 200ms;
cursor: default;
line-height: 40px;
2019-06-04 03:40:48 +00:00
&:hover {
letter-spacing: -2px;
}
2019-06-04 03:40:48 +00:00
span {
display: none;
2019-06-04 03:40:48 +00:00
&.is-active {
display: block;
}
}
}
2019-06-04 03:40:48 +00:00
.dropdown-filter {
background: none;
width: 100%;
background: hsl(234, 8%, 26%);
2019-06-04 03:40:48 +00:00
border: none;
padding: 13px 20px 11px;
outline: none;
2019-06-04 03:40:48 +00:00
&::placeholder {
color: hsl(234, 2%, 50%);
2019-06-04 03:40:48 +00:00
}
2019-06-04 03:40:48 +00:00
&:focus,
&:hover {
background: hsl(234, 8%, 30%);
2019-06-04 03:40:48 +00:00
}
}
.dropdown-grid {
display: flex;
flex-wrap: wrap;
padding: 10px;
margin: 0;
2019-06-04 03:40:48 +00:00
li {
list-style: none;
cursor: pointer;
user-select: none;
border-radius: 2px;
2019-06-04 03:40:48 +00:00
&:hover,
&.is-active {
background: $highlight-color;
}
}
}
}
2019-06-04 03:40:48 +00:00
/*
2019-06-04 03:40:48 +00:00
--------------
color picker
--------------
2019-06-04 03:40:48 +00:00
*/
2019-06-04 03:40:48 +00:00
.color {
.controls {
position: relative;
}
2019-06-04 03:40:48 +00:00
.controls-button {
align-self: stretch;
}
2019-06-04 03:40:48 +00:00
.controls-button-inner {
padding: 4px;
}
2019-06-04 03:40:48 +00:00
.color-field {
width: 31px;
height: 100%;
position: relative;
2019-06-04 03:40:48 +00:00
// unparsable color
&[style='']::before {
content: '';
2019-06-04 03:40:48 +00:00
position: absolute;
left: 10%;
top: 10%;
width: 80%;
height: 80%;
background: hsl(197, 20%, 93%);
2019-06-04 03:40:48 +00:00
animation: rotateplane 1.2s infinite ease-in-out;
}
}
2015-05-08 09:58:00 +00:00
}
2019-06-04 03:40:48 +00:00
.colorpicker {
&.dropdown-menu {
box-sizing: content-box;
width: 380px;
min-width: 0;
}
2019-06-04 03:40:48 +00:00
.open > & {
display: flex;
}
&-hue-saturation {
flex-grow: 1;
width: 200px;
height: 150px;
margin: 14px;
@include ltr(margin-right, 0);
@include rtl(margin-left, 0);
2019-06-04 03:40:48 +00:00
$i: 0;
$rainbow: ();
2019-06-04 03:40:48 +00:00
@while $i <= 360 {
$rainbow: append($rainbow, unquote('hsl(#{$i},100%,50%)'), comma);
$i: $i + 60;
}
2019-06-04 03:40:48 +00:00
background: linear-gradient(to right, $rainbow);
position: relative;
overflow: hidden;
cursor: image_url('/assets/images/colorcircle.gif') 8 8, auto;
2019-06-04 03:40:48 +00:00
user-select: none;
}
2019-06-04 03:40:48 +00:00
&-lightness-plane,
&-saturation-gradient {
position: absolute;
left: 0;
top: 0;
height: 100%;
width: 100%;
}
2019-06-04 03:40:48 +00:00
&-circle {
position: absolute;
left: 0;
top: 0;
border: 1px solid black;
width: 12px;
height: 12px;
margin: -6px 0 0 -6px;
border-radius: 100%;
}
&-lightness {
height: 150px;
margin: 14px;
position: relative;
user-select: none;
}
&-hue-plane {
height: 100%;
width: 20px;
background: red;
}
2019-06-04 03:40:48 +00:00
&-hue-gradient {
height: 100%;
width: 100%;
background: linear-gradient(white, transparent, black);
}
&-slider {
position: absolute;
top: 0;
left: -7px;
right: -7px;
2019-06-04 03:40:48 +00:00
&-arrow {
position: absolute;
top: 0;
margin-top: -4px;
border: 4px solid transparent;
border-left: 7px solid hsl(240, 8%, 100%);
border-right: 7px solid hsl(240, 8%, 100%);
&--left {
2019-06-04 03:40:48 +00:00
left: 0;
border-right: none;
}
2019-06-04 03:40:48 +00:00
&--right {
right: 0;
border-left: none;
}
}
}
}
2019-06-04 03:40:48 +00:00
/*
----------------
iconset picker
----------------
*/
.iconset_picker {
.controls input {
display: none;
}
}
.icon-sets {
margin: 0 -10px;
}
.icon-set {
margin: 10px;
display: flex;
border: 1px solid hsl(197, 10%, 90%);
2019-06-04 03:40:48 +00:00
border-radius: 3px;
2019-06-04 03:40:48 +00:00
&.is-active {
border-color: hsl(200, 71%, 59%);
2019-06-04 03:40:48 +00:00
box-shadow: 0 0 0 3px #d6eaf5;
}
2019-06-04 03:40:48 +00:00
&-preview {
flex-grow: 1;
display: flex;
flex-wrap: wrap;
align-items: center;
justify-content: center;
overflow: hidden;
cursor: pointer;
user-select: none;
height: 250px;
border-radius: 0 3px 3px 0;
border-left: 1px solid hsl(197, 10%, 90%);
background: hsl(210, 17%, 98%);
color: hsl(210, 7%, 60%);
2019-06-04 03:40:48 +00:00
position: relative;
}
&-meta {
flex-basis: 197px;
order: -1;
display: flex;
flex-direction: column;
flex-shrink: 0;
padding: 10px;
background: white;
border-radius: 3px 0 0 3px;
}
&-version {
color: hsl(60, 1%, 74%);
2019-06-04 03:40:48 +00:00
}
&-website {
margin-top: auto;
display: block;
}
2019-06-04 03:40:48 +00:00
.icon {
width: 50px;
line-height: 50px;
text-align: center;
font-size: 18px;
2019-06-04 03:40:48 +00:00
&:not(.loading).do-flash {
animation: iconset-flash 0.7s ease-out;
}
}
}
@keyframes iconset-flash {
from {
background: hsl(210, 15%, 94%);
color: hsl(210, 10%, 30%);
2019-06-04 03:40:48 +00:00
}
to {
2019-06-04 03:40:48 +00:00
background: transparent;
color: inherit;
}
}
/*
-----------------------------
generic flex layout classes
-----------------------------
*/
.horizontal,
.vertical,
.centered {
display: flex;
}
2019-06-04 03:40:48 +00:00
.horizontal.hide,
.vertical.hide,
.centered.hide {
display: none;
}
.horizontal {
flex-direction: row;
}
.horizontal.multiline {
flex-wrap: wrap;
}
2019-06-04 03:40:48 +00:00
.horizontal.reverse {
flex-direction: row-reverse;
}
2019-06-04 03:40:48 +00:00
.vertical {
flex-direction: column;
}
2019-06-04 03:40:48 +00:00
.vertical.reverse {
flex-direction: column-reverse;
}
2019-06-04 03:40:48 +00:00
.vertical.stretch > *,
.horizontal.stretch > * {
flex: 1;
}
2019-06-04 03:40:48 +00:00
.stretch {
align-self: stretch;
2015-11-16 13:10:40 +00:00
}
2019-06-04 03:40:48 +00:00
.relative {
position: relative;
2016-03-04 14:21:33 +00:00
}
2019-06-04 03:40:48 +00:00
.fit {
position: absolute;
top: 0;
left: 0;
bottom: 0;
right: 0;
}
2019-06-04 03:40:48 +00:00
body.fit {
margin: 0;
}
2019-06-04 03:40:48 +00:00
.scrollable {
overflow: auto;
-webkit-overflow-scrolling: touch;
}
2019-06-04 03:40:48 +00:00
.flex {
flex: 1;
}
2019-06-04 03:40:48 +00:00
.margin-bottom-5 {
margin-bottom: 5px;
}
/*
Firefox minimum content bugfix
https://github.com/philipwalton/flexbugs#1-minimum-content-sizing-of-flex-items-not-honored
"By default, flex items wont shrink below their minimum
content size (the length of the longest word or fixed-size element).
To change this, set the min-width or min-height property."
*/
.flex-shrink-horizontal {
min-width: 0;
}
.flex-full {
flex: 1 1 100%;
}
.flex-auto {
flex: 1 1 auto;
}
.flex-shrink {
flex: 0 1 auto;
}
.flex-none {
flex: none;
}
.flex-1 {
flex: 1;
}
2019-06-04 03:40:48 +00:00
.flex-2 {
flex: 2;
}
.flex-3 {
flex: 3;
}
.justify-start {
justify-content: flex-start;
}
.justified {
justify-content: center;
}
.justify-end {
justify-content: flex-end;
}
.justify-between {
justify-content: space-between;
}
.start {
align-items: flex-start;
}
.center {
align-items: center;
}
.baseline {
align-items: baseline;
}
.centered {
align-items: center;
justify-content: center;
}
.end {
align-items: flex-end;
}
.self-start {
align-self: start;
}
.self-end {
align-self: end;
}
.span-width {
flex-basis: 100%;
}
.two-columns,
.three-columns,
.wrap {
flex-wrap: wrap;
}
.two-columns,
.three-columns {
@include phone {
display: block;
}
}
2019-06-04 03:40:48 +00:00
.two-columns > .column {
width: 50%;
@include phone {
width: auto;
}
2019-06-04 03:40:48 +00:00
}
.three-columns > .column {
width: 33.33%;
@include phone {
width: auto;
}
2019-06-04 03:40:48 +00:00
}
.align-left {
@include bidi-style(margin-right, auto, margin-left, 0);
}
.align-right {
@include bidi-style(margin-left, auto, margin-right, 0);
}
.space-left {
@include bidi-style(margin-left, 10px, margin-right, 0);
}
.space-right {
@include bidi-style(margin-right, 10px, margin-left, 0);
}
.half-space-left {
@include bidi-style(margin-left, 5px, margin-right, 0);
}
.half-space-right {
@include bidi-style(margin-right, 5px, margin-left, 0);
}
.min-fit-content {
min-width: fit-content;
}
2019-06-04 03:40:48 +00:00
.align-center {
margin-left: auto;
margin-right: auto;
}
.flex-space-after {
@include bidi-style(margin-right, auto, margin-left, 0);
}
.flex-space-before {
@include bidi-style(margin-left, auto, margin-right, 0);
}
.half-spacer {
width: 5px;
height: 5px;
}
.spacer {
width: 10px;
height: 10px;
}
.double-spacer {
width: 20px;
height: 20px;
}
.flex-spacer {
flex: 1;
}
span.is-disabled {
cursor: not-allowed;
opacity: 0.5;
}
.inline-label + .scheduled-widget {
margin-left: 18px;
}
.scheduled-widget {
display: flex;
align-items: center;
padding: 5px 5px 5px 10px;
border: 1px solid rgba(0, 0, 0, 0.1);
2019-06-04 03:40:48 +00:00
border-radius: 4px;
&[data-state='published'] {
2019-06-04 03:40:48 +00:00
color: $supergood-color;
border-color: transparentize($supergood-color, 0.65);
2019-06-04 03:40:48 +00:00
.btn {
border-color: transparentize($supergood-color, 0.65);
2019-06-04 03:40:48 +00:00
}
}
&[data-state='archived'] {
border-color: hsl(0, 0%, 80%);
2019-06-04 03:40:48 +00:00
.btn {
border-color: hsl(0, 0%, 80%);
2019-06-04 03:40:48 +00:00
}
}
&[data-state='internal'] {
2019-06-04 03:40:48 +00:00
color: $highlight-color;
border-color: transparentize($highlight-color, 0.65);
2019-06-04 03:40:48 +00:00
.btn {
border-color: transparentize($highlight-color, 0.65);
2019-06-04 03:40:48 +00:00
}
}
2019-06-04 03:40:48 +00:00
.help-text & {
margin-top: 4px;
}
2019-06-04 03:40:48 +00:00
.icon {
color: inherit;
fill: currentColor;
vertical-align: middle;
}
&-label {
margin: 0 10px 0 6px;
}
.icon-diagonal-cross {
width: 10px;
height: 10px;
}
.btn {
color: inherit;
}
}
.knowledge-base {
&-navigation {
display: flex;
align-items: center;
color: hsl(210, 7%, 62%);
background: hsl(210, 14%, 94%);
border-bottom: 1px solid hsl(0, 0%, 90%);
2019-06-04 03:40:48 +00:00
padding: 7px;
@include phone {
flex-shrink: 0;
overflow: auto;
-webkit-overflow-scrolling: touch;
}
.breadcrumb:not(:first-child) .breadcrumb-icon {
2019-06-04 03:40:48 +00:00
width: 16px;
height: 16px;
}
2019-06-04 03:40:48 +00:00
}
&-body {
position: relative;
overflow-x: hidden;
@include phone {
flex-direction: column-reverse;
overflow: visible;
}
2019-06-04 03:40:48 +00:00
}
&-sidebar {
position: absolute;
@include ltr(right, 0);
@include rtl(left, 0);
2019-06-04 03:40:48 +00:00
top: 0;
width: 280px;
height: 100%;
overflow: auto;
-webkit-overflow-scrolling: touch;
2019-06-04 03:40:48 +00:00
transition: transform 500ms;
2019-06-04 03:40:48 +00:00
@include bidi-style(border-left, 1px solid #e6e6e6, border-right, none);
@include phone {
width: auto;
position: static;
@include bidi-style(border-left, none, border-right, none);
border-top: 1px solid #e6e6e6;
overflow: visible;
}
2019-06-04 03:40:48 +00:00
@include desktop {
width: 28%;
}
2019-06-04 03:40:48 +00:00
&.hidden {
display: block !important;
visibility: visible !important;
@include ltr(transform, translateX(100%));
@include rtl(transform, translateX(-100%));
@include phone {
transform: none !important;
display: none !important;
}
2019-06-04 03:40:48 +00:00
+ .knowledge-base-main {
@include ltr(margin-right, 0);
@include rtl(margin-left, 0);
2019-06-04 03:40:48 +00:00
}
}
h2 {
font-size: 17px;
line-height: 1;
}
}
2019-06-04 03:40:48 +00:00
&-main {
width: 100%;
@include ltr(transition, margin-right 500ms);
@include ltr(margin-right, 280px);
@include rtl(transition, margin-left 500ms);
@include rtl(margin-left, 280px);
@include phone {
margin: 0 0 10px !important;
}
2019-06-04 03:40:48 +00:00
@include desktop {
@include ltr(margin-right, 28%);
@include rtl(margin-left, 28%);
2019-06-04 03:40:48 +00:00
}
}
form {
flex-shrink: 0;
}
.richtext-content {
word-break: break-word;
word-wrap: anywhere;
}
2019-06-04 03:40:48 +00:00
.page-header {
margin: 1px 0 3px;
flex-shrink: 0;
}
h2 {
// width: 100%;
// margin-bottom: 6px;
// font-size: 16px;
}
}
.modal-manage-attachments {
input:focus + label {
text-decoration: none;
}
}
.modal-knowledge-base-server-snippet {
label.radio-replacement:first-child {
padding-left: 0;
2019-06-04 03:40:48 +00:00
}
}
.container {
max-width: 960px;
width: 100%;
margin: 20px auto;
}
.sections {
list-style: none;
padding: 0;
margin: 0 -10px;
2019-06-04 03:40:48 +00:00
&:not(:empty) + &:not(:empty) {
border-top: 1px solid hsl(0, 0%, 90%);
2019-06-04 03:40:48 +00:00
margin-top: 20px;
padding-top: 20px;
}
&--grid {
display: flex;
flex-wrap: wrap;
.section {
a {
padding-bottom: 72%;
position: relative;
line-height: 1.3;
}
[data-font] {
font-size: 60px;
}
.modified-icon {
2019-06-04 03:40:48 +00:00
margin: 10px 0 20px;
}
&--subsection {
display: none;
}
&-inner {
position: absolute;
padding: 10px;
left: 0;
top: 0;
right: 0;
bottom: 0;
align-items: center;
justify-content: center;
flex-direction: column;
text-align: center;
}
}
&[data-size='medium'] {
2019-06-04 03:40:48 +00:00
.section {
width: 25%;
@include phone {
width: 100%;
}
2019-06-04 03:40:48 +00:00
a {
font-size: 14px;
}
[data-font] {
font-size: 42px;
}
.modified-icon-modifier {
width: 18px;
height: 18px;
margin: 0 -6px -2px 0;
}
2019-06-04 03:40:48 +00:00
}
}
&[data-size='large'] {
2019-06-04 03:40:48 +00:00
.section {
width: 33.33%;
@include phone {
width: 100%;
}
2019-06-04 03:40:48 +00:00
a {
font-size: 15px;
}
.modified-icon-modifier {
width: 22.5px;
height: 22.5px;
margin: 0 -8px -5px 0;
}
2019-06-04 03:40:48 +00:00
}
}
}
}
.section {
&.kb-item--invisible {
opacity: 0.5;
2019-06-04 03:40:48 +00:00
}
&.kb-item--missing-translation,
&.kb-item--missing-translation:active,
&.kb-item--missing-translation:focus {
color: hsl(45, 98%, 63%);
2019-06-04 03:40:48 +00:00
}
a {
display: block;
text-decoration: none;
color: inherit;
}
}
.section-inner {
position: relative;
display: flex;
align-items: flex-start;
2019-06-04 03:40:48 +00:00
padding: 10px 14px;
margin: 10px;
background: white;
border-radius: 3px;
border: 1px solid hsl(0, 0%, 90%);
box-shadow: 0 1px 5px hsla(205, 30%, 30%, 0.1);
2019-06-04 03:40:48 +00:00
@include phone {
margin: 5px;
}
&:active {
box-shadow: none;
}
&-title {
font-weight: 500;
font-size: 15px;
line-height: 1.15;
}
&-date {
display: inline;
color: hsl(0, 0%, 75%);
&::after {
content: '';
color: hsl(60, 1%, 34%);
2019-06-04 03:40:48 +00:00
}
&:only-child::after {
content: '';
}
2019-06-04 03:40:48 +00:00
}
&-detail {
display: block;
margin-top: 5px;
}
&-icon {
2019-06-04 03:40:48 +00:00
flex-shrink: 0;
&-holder {
@include ltr(margin-right, 11px);
@include rtl(margin-left, 11px);
margin-top: 1px;
.nav-pills & {
@include ltr(margin-right, 7px);
@include rtl(margin-left, 7px);
}
}
2019-06-04 03:40:48 +00:00
&[data-font] {
font-size: 16px;
line-height: 1;
}
2019-06-04 03:40:48 +00:00
&.icon {
fill: currentColor;
width: 16px;
height: 16px;
object-fit: contain;
object-position: center top;
}
2019-06-04 03:40:48 +00:00
}
em {
font-style: normal;
background: transparentize($highlight-color, 0.75);
2019-06-04 03:40:48 +00:00
}
}
.knowledge-base-article {
2019-06-04 03:40:48 +00:00
&-header {
text-align: center;
}
&-meta {
display: block;
text-align: center;
}
2019-06-04 03:40:48 +00:00
&-body {
margin-top: 20px;
background: white;
border-radius: 2px;
padding: 50px 50px 10px;
border: 1px solid hsl(239, 4%, 95%);
@include phone {
padding: 15px 15px 5px;
}
2019-06-04 03:40:48 +00:00
}
&-content {
margin-bottom: 40px;
@include phone {
margin-bottom: 10px;
}
2019-06-04 03:40:48 +00:00
}
&-attachments,
2021-08-16 08:20:07 +00:00
&-tags,
2019-06-04 03:40:48 +00:00
&-linked-tickets {
margin: 0 -30px;
@include phone {
margin: 0 -5px;
}
}
.tasks {
@include bidi-style(margin-left, 7px, margin-right, 0);
2019-06-04 03:40:48 +00:00
}
2021-08-16 08:20:07 +00:00
&-tags--container {
padding: 6px 5px 11px;
display: flex;
flex-wrap: wrap;
2021-08-16 08:20:07 +00:00
.tag {
margin: 2px;
display: inline-block;
background: #0f94d6;
color: white;
border-radius: 999px;
padding: 2px 12px 1px;
&:hover {
background: hsl(200deg, 87%, 34%);
}
2021-08-16 08:20:07 +00:00
}
}
2019-06-04 03:40:48 +00:00
&-nav {
display: flex;
2019-06-04 03:40:48 +00:00
&-link {
padding: 15px;
max-width: 50%;
display: flex;
align-items: center;
.knowledge-base-article > & {
margin-top: -10px;
}
.spacer {
width: 5px;
}
2019-06-04 03:40:48 +00:00
.icon {
flex-shrink: 0;
fill: currentColor;
opacity: 1;
vertical-align: top;
}
&--next {
@include bidi-style(margin-left, auto, margin-right, inherit);
2019-06-04 03:40:48 +00:00
}
&-title {
@extend .u-textTruncate;
}
}
}
}
.miller-columns {
display: flex;
font-size: 12px;
border: 1px solid hsl(0, 0%, 85%);
2019-06-04 03:40:48 +00:00
border-radius: 3px;
2019-06-04 03:40:48 +00:00
.column {
list-style: none;
padding: 0;
margin: 0;
flex: 1 1 33%;
height: 300px;
overflow: auto;
-webkit-overflow-scrolling: touch;
border-right: 1px solid hsl(0, 0%, 85%);
2019-06-04 03:40:48 +00:00
&:last-child {
border-right-width: 0;
}
2019-06-04 03:40:48 +00:00
&-item {
display: flex;
align-items: center;
padding: 5px 10px;
cursor: default;
2019-06-04 03:40:48 +00:00
&:hover {
background: hsl(0, 0%, 95%);
2019-06-04 03:40:48 +00:00
}
&.is-selected {
background: hsl(0, 0%, 90%);
2019-06-04 03:40:48 +00:00
}
2019-06-04 03:40:48 +00:00
&--has-children {
@extend %clickable;
2019-06-04 03:40:48 +00:00
cursor: pointer;
}
2019-06-04 03:40:48 +00:00
span {
@extend .u-textTruncate;
2019-06-04 03:40:48 +00:00
margin-right: 10px;
}
2019-06-04 03:40:48 +00:00
> .icon:first-child,
[data-font] {
fill: currentColor;
margin-right: 8px;
vertical-align: middle;
flex-shrink: 0;
}
.icon-arrow-right {
margin-left: auto;
flex-shrink: 0;
}
.btn {
margin-left: auto;
}
}
}
}
[data-theme='dark'] {
background: hsl(232, 11%, 19%);
2019-06-04 03:40:48 +00:00
label {
color: white;
}
&.left > .arrow::after {
border-left-color: hsl(232, 11%, 19%);
2019-06-04 03:40:48 +00:00
}
&.right > .arrow::after {
border-right-color: hsl(232, 11%, 19%);
2019-06-04 03:40:48 +00:00
}
&.top > .arrow::after {
border-top-color: hsl(232, 11%, 19%);
2019-06-04 03:40:48 +00:00
}
&.bottom > .arrow::after {
border-bottom-color: hsl(232, 11%, 19%);
2019-06-04 03:40:48 +00:00
}
.form-control:focus {
border-color: hsl(232, 11%, 19%);
2019-06-04 03:40:48 +00:00
box-shadow: 0 0 0 3px $highlight-color;
}
.btn--subtle {
color: hsl(0, 0%, 45%);
2019-06-04 03:40:48 +00:00
}
}
.highlight-emulator {
background-color: highlight;
}
.videoWrapper {
position: relative;
padding-bottom: 56.25%; /* 16:9 */
padding-top: 25px;
height: 0;
}
.videoWrapper iframe {
position: absolute;
top: 0;
left: 0;
width: 100%;
height: 100%;
}
.btn-manage-public-menu-edit {
margin-top: 0;
}
.kb-menu-settings-entry {
margin-bottom: 12px;
}
.text-modules-box {
max-height: 40vh;
}
.sla_times {
.sla_radio_container {
padding-top: 0.5em;
padding-left: 0.5em;
}
}