123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369 |
- /**
- * Round badge.
- */
- .badge-round {
- background-color: $toolbarBadgeBackground;
- border-radius: 50%;
- box-sizing: border-box;
- color: $toolbarBadgeColor;
- // Do not inherit the font-family from the toolbar button, because it's an
- // icon style.
- font-family: $baseFontFamily;
- font-size: 9px;
- font-weight: 700;
- line-height: 13px;
- min-width: 13px;
- overflow: hidden;
- text-align: center;
- text-overflow: ellipsis;
- vertical-align: middle;
- }
-
- /**
- * TODO: when the old filmstrip has been removed, remove the "new-" prefix.
- */
- .new-toolbox {
- bottom: calc((#{$newToolbarSize} * 2) * -1);
- left: 0;
- position: absolute;
- right: 0;
- transition: bottom .3s ease-in;
- width: 100%;
-
-
- &.visible {
- bottom: 0;
- .toolbox-background {
- bottom: 0px;
- }
- }
-
- &.no-buttons {
- display: none;
- }
-
- .toolbox-background {
- background-image: linear-gradient(to top, rgba(0, 0, 0, 0.6), rgba(0, 0, 0, 0));
- transition: bottom .3s ease-in;
- height: 160px;
- width: 100%;
- bottom: -160px;
- pointer-events: none;
- position: absolute;
- z-index: $toolbarBackgroundZ;
- }
-
- .toolbox-content {
- box-sizing: border-box;
- display: flex;
- justify-content: space-between;
- margin-left: auto;
- margin-right: auto;
- padding: 20px 16px;
- position: relative;
- width: 100%;
- z-index: $toolbarZ;
-
- .button-group-center,
- .button-group-left,
- .button-group-right {
- display: flex;
- width: 33%;
- }
-
- .button-group-center {
- justify-content: center;
-
- .toolbox-button {
-
- .toolbox-icon {
- background-color: #fff;
- border-radius: 50%;
- border: 1px solid #d1dbe8;
- margin: 0px 4px;
- width: 38px;
- height: 38px;
-
- &:hover {
- background-color: #daebfa;
- border: 1px solid #daebfa;
- }
-
- &.toggled {
- background: #2a3a4b;
- border: 1px solid #5e6d7a;
-
- svg {
- fill: #fff;
- }
-
- &:hover {
- background-color: #5e6d7a;
- }
- }
-
- &.disabled, .disabled & {
- cursor: initial;
- color: #fff;
- background-color: #a4b8d1;
- }
-
- svg {
- fill: #5e6d7a;
- }
- }
-
- &:nth-child(2) {
- .toolbox-icon {
- background-color: $hangupColor;
- border: 1px solid $hangupColor;
- width: 40px;
- height: 40px;
-
- &:hover {
- background-color: $hangupColor;
- }
-
- svg {
- fill: #fff;
- }
- }
- }
- }
- }
-
- .button-group-right {
- justify-content: flex-end;
- }
-
- .overflow-menu {
- font-size: 1.2em;
- list-style-type: none;
- background-color: $overflowMenuBG;
- /**
- * Undo atlaskit padding by reducing margins.
- */
- margin: -16px -24px;
- padding: 4px 0;
-
- .overflow-menu-item {
- align-items: center;
- color: $overflowMenuItemColor;
- cursor: pointer;
- display: flex;
- font-size: 14px;
- height: 22px;
- padding: 5px 12px;
-
- div {
- display: flex;
- flex-direction: row;
- align-items: center;
- }
-
- &:hover {
- background-color: $overflowMenuItemHoverBG;
- color: $overflowMenuItemHoverColor;
- }
-
- &.unclickable {
- cursor: default;
- }
- &.unclickable:hover {
- background: inherit;
- }
- &.disabled {
- cursor: initial;
- color: #3b475c;
- }
- }
-
- .beta-tag {
- background: $overflowMenuItemColor;
- border-radius: 2px;
- color: $overflowMenuBG;
- font-size: 11px;
- font-weight: bold;
- margin-left: 8px;
- padding: 0 6px;
- }
-
- .overflow-menu-item-icon {
- margin-right: 10px;
-
- i {
- display: inline;
- font-size: 24px;
- }
-
- i:hover {
- background-color: initial;
- }
-
- img {
- max-width: 24px;
- max-height: 24px;
- }
-
- svg {
- fill: #B8C7E0 !important;
- }
- }
-
- .profile-text {
- max-width: 150px;
- text-overflow: ellipsis;
- overflow: hidden;
- white-space: nowrap;
- }
- }
-
- .toolbox-button {
- color: $toolbarButtonColor;
- cursor: pointer;
- display: inline-block;
- line-height: $newToolbarSize;
- margin: 0 8px;
- text-align: center;
- }
-
- .toolbar-button-with-badge {
- position: relative;
-
- .badge-round {
- bottom: -5px;
- font-size: 12px;
- line-height: 20px;
- min-width: 20px;
- pointer-events: none;
- position: absolute;
- right: -5px;
- }
- }
-
- .toolbox-button-wth-dialog {
- display: inline-block;
- }
-
- .toolbox-icon {
- display: flex;
- border-radius: 5px;
- flex-direction: column;
- font-size: 24px;
- height: $newToolbarSize;
- justify-content: center;
- width: $newToolbarSize;
-
- &:hover, &.toggled {
- background: $newToolbarButtonHoverColor;
- }
-
- &.disabled {
- cursor: initial !important;
- background-color: #a4b8d1 !important;
-
- svg {
- fill: #fff !important;
- }
- }
- }
- }
- }
-
- .always-on-top-toolbox,
- .filmstrip-toolbox {
- background-color: $newToolbarBackgroundColor;
- box-sizing: border-box;
- display: flex;
- flex-direction: column;
- z-index: $toolbarZ;
-
- i {
- cursor: pointer;
- display: block;
- }
-
- i:hover {
- background-color: $AOTToolbarButtonHoverColor;
- }
-
- i.toggled {
- background: $AOTToolbarButtonToggleColor;
- }
-
- i.toggled:hover:not(.disabled) {
- background-color: $AOTToolbarButtonHoverColor;
- }
-
- .toolbox-button {
- color: $toolbarButtonColor;
- cursor: pointer;
- text-align: center;
- }
-
- border-radius: 3px;
- }
-
- .always-on-top-toolbox {
- flex-direction: row;
- left: 50%;
- position: absolute;
- top: 10px;
- transform: translateX(-50%);
- z-index: $toolbarZ;
-
- i {
- font-size: $newToolbarFontSize;
- height: $newToolbarSize;
- line-height: $newToolbarSize;
- width: $newToolbarSize;
- }
-
- .disabled {
- cursor: initial;
- }
-
- .toolbox-button:first-child i {
- border-top-left-radius: 3px;
- border-bottom-left-radius: 3px;
- }
-
- .toolbox-button:last-child i {
- border-top-right-radius: 3px;
- border-bottom-right-radius: 3px;
- }
- }
-
- .filmstrip-toolbox {
- i {
- font-size: 1.9em;
- height: 37px;
- line-height: 37px;
- width: 37px;
- }
-
- .toolbox-button:first-child i {
- border-top-left-radius: 3px;
- border-top-right-radius: 3px;
- }
-
- .toolbox-button:last-child i {
- border-bottom-left-radius: 3px;
- border-bottom-right-radius: 3px;
- }
- }
-
- /**
- * START of fade in animation for main toolbar
- */
- .fadeIn {
- opacity: 1;
-
- @include transition(all .3s ease-in);
- }
-
- .fadeOut {
- opacity: 0;
-
- @include transition(all .3s ease-out);
- }
|