2018-03-12 23:27:35 +08:00
|
|
|
@import 'constants';
|
|
|
|
@import "mixins";
|
|
|
|
|
|
|
|
#main-nav {
|
2020-01-07 23:13:34 +08:00
|
|
|
box-shadow: $flyout-shadow;
|
2018-03-12 23:27:35 +08:00
|
|
|
margin-bottom: 0;
|
|
|
|
}
|
|
|
|
|
|
|
|
#notifications-dropdown {
|
2019-08-21 16:39:56 +08:00
|
|
|
margin-left: 15px;
|
|
|
|
padding-left: 15px;
|
2019-08-19 15:24:10 +08:00
|
|
|
|
2018-03-12 23:27:35 +08:00
|
|
|
.fa-bell {
|
2019-12-04 22:51:26 +08:00
|
|
|
font-size: 16px;
|
2018-03-12 23:27:35 +08:00
|
|
|
}
|
|
|
|
|
|
|
|
#count-notifications {
|
2021-04-14 21:45:51 +08:00
|
|
|
background-color: $brand-accent;
|
|
|
|
border-radius: 8px;
|
2018-03-12 23:27:35 +08:00
|
|
|
display: none;
|
|
|
|
font-size: 11px;
|
|
|
|
font-weight: bold;
|
|
|
|
margin-left: 12px;
|
|
|
|
padding: 1px 6px;
|
|
|
|
position: relative;
|
2019-08-21 16:39:56 +08:00
|
|
|
top: -10px;
|
2018-03-12 23:27:35 +08:00
|
|
|
z-index: 1;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
.navbar {
|
|
|
|
border-radius: 0;
|
2018-03-16 22:56:12 +08:00
|
|
|
padding-right: 15px;
|
2018-03-12 23:27:35 +08:00
|
|
|
}
|
|
|
|
|
|
|
|
.navbar-default {
|
|
|
|
background-color: $color-white;
|
|
|
|
border-color: $color-alto;
|
|
|
|
}
|
|
|
|
|
|
|
|
.navbar-default .navbar-brand {
|
2019-12-04 22:51:26 +08:00
|
|
|
align-items: center;
|
|
|
|
display: flex;
|
2020-10-26 16:28:44 +08:00
|
|
|
padding: 0 .3em 0 .8em;
|
2019-12-19 21:18:09 +08:00
|
|
|
|
|
|
|
#logo {
|
|
|
|
max-height: 22px;
|
|
|
|
}
|
2018-03-12 23:27:35 +08:00
|
|
|
}
|
|
|
|
|
2020-10-26 16:28:44 +08:00
|
|
|
.open-mobile-app-container {
|
|
|
|
display: none;
|
|
|
|
}
|
|
|
|
|
|
|
|
.open-mobile-app-button {
|
|
|
|
margin-top: 8px;
|
|
|
|
}
|
|
|
|
|
2018-03-12 23:27:35 +08:00
|
|
|
.dropdown-notifications {
|
|
|
|
max-height: 500px;
|
|
|
|
overflow-x: hidden;
|
|
|
|
overflow-y: scroll;
|
|
|
|
padding-bottom: 0;
|
|
|
|
padding-top: 0;
|
|
|
|
width: 450px;
|
|
|
|
word-wrap: break-word;
|
|
|
|
|
|
|
|
.notifications-no-recent {
|
|
|
|
padding-bottom: 10px;
|
|
|
|
padding-left: 10px;
|
|
|
|
padding-top: 10px;
|
|
|
|
}
|
|
|
|
|
|
|
|
.notification {
|
|
|
|
border-bottom: 1px solid $color-alto;
|
|
|
|
padding-bottom: 10px;
|
|
|
|
padding-top: 10px;
|
|
|
|
|
|
|
|
&:hover {
|
|
|
|
background-color: $color-concrete;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
.unseen {
|
2018-03-28 19:54:01 +08:00
|
|
|
border-left: 4px solid $brand-primary;
|
2018-03-12 23:27:35 +08:00
|
|
|
}
|
|
|
|
|
|
|
|
.text-center {
|
|
|
|
margin-left: 12px;
|
|
|
|
}
|
|
|
|
|
|
|
|
.assignment {
|
2018-03-28 19:54:01 +08:00
|
|
|
background-color: $brand-primary;
|
2018-03-12 23:27:35 +08:00
|
|
|
border-radius: 50%;
|
2018-03-28 19:54:01 +08:00
|
|
|
color: $color-concrete;
|
2018-03-12 23:27:35 +08:00
|
|
|
display: block;
|
2018-03-30 15:54:57 +08:00
|
|
|
font-size: $font-size-h3;
|
2018-03-12 23:27:35 +08:00
|
|
|
height: 45px;
|
|
|
|
padding-top: 5px;
|
|
|
|
width: 45px;
|
|
|
|
}
|
|
|
|
|
|
|
|
.deliver {
|
2018-03-28 19:54:01 +08:00
|
|
|
background-color: $brand-warning;
|
2018-03-12 23:27:35 +08:00
|
|
|
border-radius: 50%;
|
2018-03-28 19:54:01 +08:00
|
|
|
color: $color-concrete;
|
2018-03-12 23:27:35 +08:00
|
|
|
display: block;
|
2018-03-30 15:54:57 +08:00
|
|
|
font-size: $font-size-h3;
|
2018-03-12 23:27:35 +08:00
|
|
|
height: 45px;
|
|
|
|
padding-top: 5px;
|
|
|
|
width: 45px;
|
|
|
|
}
|
|
|
|
|
2021-05-11 19:28:28 +08:00
|
|
|
.deliver-error {
|
|
|
|
background-color: $brand-danger;
|
|
|
|
border-radius: 50%;
|
|
|
|
color: $color-concrete;
|
|
|
|
display: block;
|
|
|
|
font-size: $font-size-h3;
|
|
|
|
height: 45px;
|
|
|
|
padding-top: 5px;
|
|
|
|
width: 45px;
|
|
|
|
}
|
|
|
|
|
2018-03-12 23:27:35 +08:00
|
|
|
.system-message {
|
2018-05-15 23:10:31 +08:00
|
|
|
background-color: $brand-success;
|
2018-03-12 23:27:35 +08:00
|
|
|
border-radius: 50%;
|
2018-03-28 19:54:01 +08:00
|
|
|
color: $color-concrete;
|
2018-03-12 23:27:35 +08:00
|
|
|
display: block;
|
2018-03-30 15:54:57 +08:00
|
|
|
font-size: $font-size-h3;
|
2018-03-12 23:27:35 +08:00
|
|
|
height: 45px;
|
|
|
|
padding-top: 8px;
|
|
|
|
width: 45px;
|
|
|
|
}
|
|
|
|
|
|
|
|
.notifications-dropdown-footer {
|
2018-05-15 00:33:57 +08:00
|
|
|
background-color: $color-gainsboro;
|
2018-03-12 23:27:35 +08:00
|
|
|
padding: 8px;
|
|
|
|
text-align: center;
|
|
|
|
|
2018-05-15 00:33:57 +08:00
|
|
|
a:hover {
|
|
|
|
background-color: $color-gainsboro;
|
|
|
|
}
|
2018-04-25 19:57:12 +08:00
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2023-03-13 18:25:04 +08:00
|
|
|
.user-name {
|
|
|
|
margin-right: 15px;
|
|
|
|
}
|
|
|
|
|
2018-03-12 23:27:35 +08:00
|
|
|
.notification {
|
|
|
|
padding-right: 8px;
|
|
|
|
word-wrap: break-word;
|
|
|
|
}
|
|
|
|
|
|
|
|
#search-menu {
|
|
|
|
padding-right: 0;
|
|
|
|
|
|
|
|
.nav {
|
|
|
|
position: relative;
|
2023-04-14 19:42:41 +08:00
|
|
|
z-index: 100;
|
2018-03-12 23:27:35 +08:00
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
#search-content {
|
|
|
|
padding-left: 0;
|
|
|
|
}
|
|
|
|
|
|
|
|
#search-container {
|
|
|
|
padding-left: 45px;
|
2020-01-28 00:15:22 +08:00
|
|
|
|
2019-10-01 20:20:20 +08:00
|
|
|
.mce-i-marvinjs {
|
|
|
|
position: relative;
|
|
|
|
|
|
|
|
&::before {
|
|
|
|
display: inline-block;
|
|
|
|
left: 0;
|
|
|
|
top: 10px;
|
|
|
|
}
|
|
|
|
}
|
2018-03-12 23:27:35 +08:00
|
|
|
}
|
|
|
|
|
|
|
|
/** Search */
|
|
|
|
.nav-search {
|
|
|
|
li.disabled {
|
2018-03-16 23:38:59 +08:00
|
|
|
opacity: .8;
|
2018-03-12 23:27:35 +08:00
|
|
|
|
|
|
|
.badge {
|
|
|
|
background-color: $color-emperor;
|
2018-03-16 23:38:59 +08:00
|
|
|
opacity: .8;
|
2018-03-12 23:27:35 +08:00
|
|
|
}
|
|
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
.repositories-team {
|
|
|
|
padding: 10px 15px;
|
|
|
|
|
|
|
|
&.active {
|
2018-03-28 19:54:01 +08:00
|
|
|
color: $brand-primary;
|
2018-03-12 23:27:35 +08:00
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
.repository-search {
|
|
|
|
padding-left: 15px;
|
2019-07-24 23:39:51 +08:00
|
|
|
|
|
|
|
.fas-custom {
|
|
|
|
fill: $brand-primary;
|
|
|
|
}
|
|
|
|
|
|
|
|
&.active {
|
|
|
|
.fas-custom {
|
|
|
|
fill: $color-white !important;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
&.disabled {
|
|
|
|
.fas-custom {
|
|
|
|
fill: $color-silver-chalice;
|
|
|
|
}
|
|
|
|
}
|
2018-03-12 23:27:35 +08:00
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2018-10-02 19:57:45 +08:00
|
|
|
.preferences-settings-container {
|
2018-03-12 23:27:35 +08:00
|
|
|
margin-bottom: 50px;
|
|
|
|
margin-top: 50px;
|
|
|
|
|
|
|
|
h4 {
|
|
|
|
font-weight: 600;
|
|
|
|
margin-bottom: 2rem;
|
|
|
|
}
|
|
|
|
|
|
|
|
.col-sm-4 {
|
|
|
|
padding-left: 5rem;
|
|
|
|
padding-top: .5rem;
|
|
|
|
word-break: break-word;
|
|
|
|
}
|
|
|
|
|
|
|
|
.col-sm-2 {
|
|
|
|
padding-left: 3rem;
|
|
|
|
padding-top: .7rem;
|
|
|
|
}
|
|
|
|
|
|
|
|
@media (max-width: 768px) {
|
|
|
|
.col-sm-4 {
|
|
|
|
margin-bottom: 1rem;
|
|
|
|
padding-left: 1.8rem;
|
|
|
|
}
|
|
|
|
|
|
|
|
.col-sm-2 {
|
|
|
|
padding-left: 1.8rem;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
.btn-group {
|
|
|
|
margin-bottom: 15px;
|
|
|
|
}
|
|
|
|
|
|
|
|
.assignment {
|
2018-03-28 19:54:01 +08:00
|
|
|
background-color: $brand-primary;
|
2018-03-12 23:27:35 +08:00
|
|
|
border-radius: 50%;
|
2018-03-28 19:54:01 +08:00
|
|
|
color: $color-concrete;
|
2018-03-12 23:27:35 +08:00
|
|
|
display: block !important;
|
2018-03-30 15:54:57 +08:00
|
|
|
font-size: $font-size-base;
|
2018-03-12 23:27:35 +08:00
|
|
|
height: 30px;
|
|
|
|
margin-right: 15px;
|
|
|
|
padding: 7px;
|
|
|
|
padding-bottom: 5px;
|
|
|
|
padding-top: 5px;
|
|
|
|
width: 30px;
|
|
|
|
}
|
|
|
|
|
|
|
|
.system-message {
|
2018-05-15 23:10:31 +08:00
|
|
|
background-color: $brand-success;
|
2018-03-12 23:27:35 +08:00
|
|
|
border-radius: 50%;
|
2018-03-28 19:54:01 +08:00
|
|
|
color: $color-concrete;
|
2018-03-12 23:27:35 +08:00
|
|
|
display: block !important;
|
2018-03-30 15:54:57 +08:00
|
|
|
font-size: $font-size-base;
|
2018-03-12 23:27:35 +08:00
|
|
|
height: 30px;
|
|
|
|
margin-right: 15px;
|
|
|
|
padding: 8px;
|
|
|
|
padding-bottom: 5px;
|
|
|
|
padding-top: 5px;
|
|
|
|
width: 30px;
|
|
|
|
}
|
|
|
|
|
|
|
|
.img-circle {
|
|
|
|
margin-right: 15px;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
// Global team switch
|
|
|
|
#team-switch {
|
|
|
|
word-wrap: break-word;
|
|
|
|
|
|
|
|
.team-name {
|
|
|
|
margin-left: 17px;
|
|
|
|
}
|
|
|
|
|
2019-04-12 15:17:14 +08:00
|
|
|
.edit_user {
|
|
|
|
height: calc(100% - 35px);
|
|
|
|
position: relative;
|
|
|
|
}
|
|
|
|
|
2018-07-09 19:13:44 +08:00
|
|
|
.fa-check-circle {
|
2018-04-25 19:57:12 +08:00
|
|
|
color: $brand-primary;
|
2018-05-15 23:10:31 +08:00
|
|
|
margin-left: -2px;
|
|
|
|
margin-right: 2px;
|
2018-03-12 23:27:35 +08:00
|
|
|
}
|
|
|
|
|
|
|
|
.team-name-item {
|
2018-04-25 19:57:12 +08:00
|
|
|
border-bottom: 1px solid $color-gainsboro;
|
2018-03-12 23:27:35 +08:00
|
|
|
padding-bottom: 8px;
|
|
|
|
padding-top: 5px;
|
|
|
|
}
|
|
|
|
|
2018-04-19 19:26:10 +08:00
|
|
|
li:last-child {
|
|
|
|
border-bottom: 0;
|
|
|
|
}
|
|
|
|
|
2019-11-12 18:26:18 +08:00
|
|
|
.selected-team {
|
2018-04-18 23:06:47 +08:00
|
|
|
margin-left: 15px;
|
2019-11-12 18:26:18 +08:00
|
|
|
overflow: hidden;
|
2018-03-12 23:27:35 +08:00
|
|
|
text-align: right;
|
2019-11-12 18:26:18 +08:00
|
|
|
text-overflow: ellipsis;
|
|
|
|
white-space: nowrap;
|
2020-10-26 16:28:44 +08:00
|
|
|
width: 230px;
|
2018-03-12 23:27:35 +08:00
|
|
|
}
|
|
|
|
|
|
|
|
.btn-group {
|
|
|
|
margin-top: 8px;
|
|
|
|
}
|
|
|
|
|
|
|
|
.dropdown-menu {
|
2018-04-25 19:57:12 +08:00
|
|
|
border-radius: 0;
|
2020-03-25 19:31:47 +08:00
|
|
|
height: auto;
|
2018-04-25 19:57:12 +08:00
|
|
|
margin-top: 0;
|
2019-04-12 15:17:14 +08:00
|
|
|
max-height: calc(100vh - 50px);
|
2020-03-25 19:56:01 +08:00
|
|
|
overflow: auto;
|
2019-04-12 15:17:14 +08:00
|
|
|
padding-bottom: 0;
|
2018-04-25 19:57:12 +08:00
|
|
|
padding-top: 0;
|
2018-03-12 23:27:35 +08:00
|
|
|
width: 100%;
|
2019-04-12 15:17:14 +08:00
|
|
|
|
|
|
|
.team-container {
|
|
|
|
height: calc(100% - 35px);
|
|
|
|
position: relative;
|
|
|
|
}
|
2018-03-12 23:27:35 +08:00
|
|
|
}
|
|
|
|
|
|
|
|
i {
|
|
|
|
margin-right: 5px;
|
|
|
|
}
|
|
|
|
|
|
|
|
li {
|
|
|
|
display: block;
|
|
|
|
text-align: left;
|
|
|
|
word-wrap: break-word;
|
|
|
|
|
2019-04-12 15:17:14 +08:00
|
|
|
&.new-team {
|
|
|
|
border-top: 1px solid $color-alto;
|
|
|
|
height: 35px;
|
|
|
|
line-height: 30px;
|
|
|
|
|
|
|
|
a {
|
|
|
|
line-height: 30px;
|
|
|
|
padding: 0 20px;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2018-03-12 23:27:35 +08:00
|
|
|
&:hover {
|
|
|
|
background-color: $color-concrete;
|
|
|
|
}
|
|
|
|
|
|
|
|
a {
|
|
|
|
color: $color-emperor;
|
|
|
|
display: block;
|
|
|
|
padding: 3px 20px;
|
|
|
|
text-align: left;
|
|
|
|
text-decoration: none;
|
|
|
|
word-wrap: break-word;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
#nav-team-switch {
|
2019-02-19 18:08:59 +08:00
|
|
|
margin-left: 0;
|
2018-03-12 23:27:35 +08:00
|
|
|
}
|
|
|
|
|
|
|
|
.custom-nav-dropdown {
|
2018-03-28 19:54:01 +08:00
|
|
|
border: 1px solid $color-alto;
|
2018-03-12 23:27:35 +08:00
|
|
|
padding: 10px 0 10px 30px;
|
|
|
|
}
|
|
|
|
|
2018-03-13 23:33:48 +08:00
|
|
|
#content-wrapper {
|
|
|
|
margin-top: 50px;
|
2018-03-20 21:30:07 +08:00
|
|
|
margin-left: 83px;
|
2018-03-13 23:33:48 +08:00
|
|
|
}
|
|
|
|
|
2018-04-18 23:06:47 +08:00
|
|
|
#search-bar {
|
|
|
|
padding-right: 0;
|
|
|
|
}
|
|
|
|
|
|
|
|
@media (max-width: 768px) {
|
|
|
|
#search-bar {
|
|
|
|
padding: 10px 30px;
|
|
|
|
}
|
|
|
|
}
|
2018-03-13 23:33:48 +08:00
|
|
|
|
2018-03-12 23:27:35 +08:00
|
|
|
// reset margins on small screens
|
|
|
|
@media (max-width: 1188px) {
|
2018-03-16 23:38:59 +08:00
|
|
|
|
2018-03-12 23:27:35 +08:00
|
|
|
#nav-team-switch {
|
|
|
|
margin-left: 0;
|
|
|
|
}
|
|
|
|
}
|
2019-02-19 18:08:59 +08:00
|
|
|
|
|
|
|
// System notiifcations dropdown
|
|
|
|
|
|
|
|
#system-notifications-dropdown {
|
|
|
|
|
|
|
|
.fa-gift {
|
2019-12-04 22:51:26 +08:00
|
|
|
font-size: 16px;
|
2019-02-19 18:08:59 +08:00
|
|
|
}
|
|
|
|
|
|
|
|
#count-system-notifications {
|
2022-07-11 18:00:13 +08:00
|
|
|
background-color: $brand-accent;
|
2019-02-19 18:08:59 +08:00
|
|
|
border-radius: 5px;
|
|
|
|
display: none;
|
|
|
|
font-size: 11px;
|
|
|
|
font-weight: bold;
|
|
|
|
margin-left: 12px;
|
|
|
|
padding: 1px 6px;
|
|
|
|
position: relative;
|
2019-08-21 16:39:56 +08:00
|
|
|
top: -10px;
|
2019-09-30 19:12:35 +08:00
|
|
|
left: 4px;
|
2019-02-19 18:08:59 +08:00
|
|
|
z-index: 1;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
.dropdown-system-notifications {
|
|
|
|
margin-bottom: 10px;
|
|
|
|
max-height: 500px;
|
|
|
|
overflow-x: hidden;
|
|
|
|
overflow-y: scroll;
|
|
|
|
padding-bottom: 0;
|
|
|
|
padding-top: 0;
|
|
|
|
width: 450px;
|
|
|
|
word-wrap: break-word;
|
|
|
|
|
|
|
|
.system-notifications-no-recent {
|
2019-02-22 20:20:51 +08:00
|
|
|
padding: 10px;
|
|
|
|
text-align: center;
|
2019-02-19 18:08:59 +08:00
|
|
|
}
|
|
|
|
|
|
|
|
.system-notifications-dropdown-header {
|
2019-02-20 20:15:16 +08:00
|
|
|
margin-bottom: 0;
|
2019-02-19 18:08:59 +08:00
|
|
|
|
|
|
|
.show-all {
|
|
|
|
margin-left: 20px;
|
|
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
a {
|
|
|
|
font-size: $font-size-small;
|
|
|
|
font-weight: $headings-font-weight;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|