2017-11-27 09:25:15 -05:00
|
|
|
@import "./list/v1-import-modal.less";
|
|
|
|
|
2016-12-06 09:17:30 -05:00
|
|
|
@announcements-shadow: 0 2px 20px rgba(0, 0, 0, 0.5);
|
2016-11-29 12:12:53 -05:00
|
|
|
|
|
|
|
@keyframes pulse {
|
|
|
|
0% {
|
|
|
|
opacity: .7;
|
|
|
|
}
|
|
|
|
100% {
|
|
|
|
opacity: .9;
|
|
|
|
}
|
|
|
|
}
|
2016-12-05 10:32:38 -05:00
|
|
|
@keyframes fade-in {
|
|
|
|
0% {
|
|
|
|
opacity: 0;
|
|
|
|
}
|
|
|
|
100% {
|
|
|
|
opacity: 1;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
.project-list-page {
|
2017-10-06 09:22:06 -04:00
|
|
|
position: absolute;
|
|
|
|
top: @header-height;
|
|
|
|
bottom: @footer-height;
|
2017-09-25 11:41:09 -04:00
|
|
|
padding-bottom: 0;
|
2017-10-05 11:35:53 -04:00
|
|
|
width: 100%;
|
2017-10-16 09:08:48 -04:00
|
|
|
overflow-x: hidden;
|
|
|
|
overflow-y: auto;
|
2017-12-21 06:03:27 -05:00
|
|
|
// Specificity needed to override default `body > .content` values
|
|
|
|
body > .content& {
|
|
|
|
min-height: calc(~"100vh -" (@header-height + @footer-height));
|
|
|
|
padding-top: 0;
|
|
|
|
}
|
2016-12-05 10:32:38 -05:00
|
|
|
}
|
2016-11-29 12:12:53 -05:00
|
|
|
|
2017-10-06 10:54:54 -04:00
|
|
|
.project-list-content when (@is-overleaf) {
|
2017-10-05 13:16:52 -04:00
|
|
|
.container-fluid;
|
2017-10-06 07:18:13 -04:00
|
|
|
margin: 0;
|
2017-10-06 10:54:54 -04:00
|
|
|
height: 100%;
|
2017-10-05 13:16:52 -04:00
|
|
|
}
|
2017-10-06 07:18:13 -04:00
|
|
|
|
2017-10-05 13:16:52 -04:00
|
|
|
.project-list-content when (@is-overleaf = false) {
|
|
|
|
.container;
|
|
|
|
}
|
|
|
|
|
2017-10-06 05:50:59 -04:00
|
|
|
.sidebar-new-proj-btn when (@is-overleaf) {
|
|
|
|
.btn-block;
|
|
|
|
}
|
|
|
|
|
2017-10-06 10:54:54 -04:00
|
|
|
.project-list-row when (@is-overleaf) {
|
2017-10-06 09:22:06 -04:00
|
|
|
height: 100%;
|
2017-09-25 11:41:09 -04:00
|
|
|
}
|
2017-10-06 10:54:54 -04:00
|
|
|
.project-list-container when (@is-overleaf) {
|
2017-10-06 09:22:06 -04:00
|
|
|
height: 100%;
|
2017-10-05 11:35:53 -04:00
|
|
|
}
|
|
|
|
.project-list-sidebar {
|
|
|
|
background-color: @sidebar-bg;
|
2017-10-23 11:18:16 -04:00
|
|
|
padding-top: @content-margin-vertical;
|
|
|
|
padding-bottom: @content-margin-vertical;
|
2018-06-22 09:23:43 -04:00
|
|
|
color: @sidebar-color;
|
|
|
|
.small {
|
|
|
|
color: @sidebar-color;
|
|
|
|
}
|
2017-10-05 11:35:53 -04:00
|
|
|
}
|
|
|
|
|
2017-10-06 09:22:06 -04:00
|
|
|
.project-list-sidebar when (@is-overleaf) {
|
2017-10-16 09:08:48 -04:00
|
|
|
overflow-x: hidden;
|
|
|
|
overflow-y: auto;
|
2017-10-17 07:24:47 -04:00
|
|
|
-ms-overflow-style: -ms-autohiding-scrollbar;
|
2017-10-06 09:22:06 -04:00
|
|
|
}
|
|
|
|
|
2017-10-05 11:35:53 -04:00
|
|
|
.project-list-main {
|
2017-10-23 11:18:16 -04:00
|
|
|
padding-top: @content-margin-vertical;
|
|
|
|
padding-bottom: @content-margin-vertical;
|
2017-10-06 09:22:06 -04:00
|
|
|
height: 100%;
|
2017-10-05 11:35:53 -04:00
|
|
|
}
|
2017-09-25 11:41:09 -04:00
|
|
|
|
2014-06-04 12:46:22 -04:00
|
|
|
.project-header {
|
2014-07-07 11:22:38 -04:00
|
|
|
.btn-group > .btn {
|
|
|
|
padding-left: @line-height-base / 2;
|
|
|
|
padding-right: @line-height-base / 2;
|
|
|
|
}
|
2014-06-04 12:46:22 -04:00
|
|
|
}
|
|
|
|
|
|
|
|
.project-search {
|
2014-07-07 11:22:38 -04:00
|
|
|
margin: @line-height-base 0;
|
2014-06-04 12:46:22 -04:00
|
|
|
}
|
|
|
|
|
|
|
|
.project-tools {
|
2014-07-07 11:22:38 -04:00
|
|
|
display: inline;
|
2017-11-03 11:53:57 -04:00
|
|
|
float: right;
|
|
|
|
}
|
|
|
|
|
2017-11-07 05:54:41 -05:00
|
|
|
.tags-dropdown-menu {
|
2017-11-03 11:53:57 -04:00
|
|
|
max-width: 50vw;
|
|
|
|
|
|
|
|
&.dropdown-menu > li > a {
|
|
|
|
overflow: hidden;
|
|
|
|
text-overflow: ellipsis;
|
|
|
|
}
|
2014-06-04 12:46:22 -04:00
|
|
|
}
|
2014-06-04 11:14:35 -04:00
|
|
|
|
2014-07-07 09:58:12 -04:00
|
|
|
.first-project {
|
|
|
|
width: 127px;
|
|
|
|
text-align: center;
|
|
|
|
}
|
|
|
|
|
|
|
|
.user-profile {
|
|
|
|
.progress {
|
|
|
|
height: @line-height-computed / 2;
|
|
|
|
margin-bottom: @line-height-computed / 4;
|
|
|
|
}
|
|
|
|
p {
|
|
|
|
margin-bottom: @line-height-computed / 4;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2016-02-04 09:28:31 -05:00
|
|
|
.userNotifications {
|
|
|
|
ul {
|
|
|
|
margin-bottom:0px;
|
|
|
|
}
|
2016-08-17 05:31:05 -04:00
|
|
|
.notification_entry {
|
|
|
|
.alert {
|
|
|
|
.box-shadow(2px 4px 6px rgba(0, 0, 0, 0.25));
|
|
|
|
.notification_inner {
|
|
|
|
display: table-row;
|
|
|
|
.notification_body {
|
|
|
|
display: table-cell;
|
|
|
|
width: 99%;
|
|
|
|
padding-right: 15px;
|
|
|
|
vertical-align: middle;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
2016-02-11 07:34:38 -05:00
|
|
|
}
|
2016-02-04 09:28:31 -05:00
|
|
|
}
|
|
|
|
|
2014-06-06 12:47:52 -04:00
|
|
|
ul.folders-menu {
|
2017-10-05 13:16:52 -04:00
|
|
|
margin: @folders-menu-margin;
|
2014-06-19 08:30:45 -04:00
|
|
|
.subdued {
|
|
|
|
color: @gray-light;
|
|
|
|
}
|
2016-01-28 10:11:57 -05:00
|
|
|
> li {
|
|
|
|
cursor: pointer;
|
|
|
|
position: relative;
|
|
|
|
> a {
|
2017-09-25 11:41:09 -04:00
|
|
|
display: block;
|
|
|
|
color: @sidebar-link-color;
|
2017-10-06 07:02:20 -04:00
|
|
|
padding: @folders-menu-item-v-padding @folders-menu-item-h-padding;
|
2017-10-05 10:26:49 -04:00
|
|
|
border-bottom: solid 1px transparent;
|
2017-09-25 11:41:09 -04:00
|
|
|
&:hover {
|
|
|
|
background-color: @sidebar-hover-bg;
|
|
|
|
text-decoration: @sidebar-hover-text-decoration;
|
|
|
|
}
|
2017-10-09 10:27:01 -04:00
|
|
|
&:focus {
|
|
|
|
text-decoration: none;
|
|
|
|
}
|
2014-06-12 11:21:12 -04:00
|
|
|
}
|
2017-10-05 13:16:52 -04:00
|
|
|
> a when (@is-overleaf = false) {
|
|
|
|
font-size: 0.9rem;
|
|
|
|
}
|
2017-10-05 10:26:49 -04:00
|
|
|
&.separator {
|
2017-10-09 10:27:01 -04:00
|
|
|
padding: @folders-menu-item-v-padding @folders-menu-item-h-padding;
|
2017-10-05 10:26:49 -04:00
|
|
|
cursor: auto;
|
|
|
|
}
|
2014-07-16 10:24:30 -04:00
|
|
|
}
|
2016-01-28 10:11:57 -05:00
|
|
|
> li.active {
|
2017-09-25 11:41:09 -04:00
|
|
|
border-radius: @sidebar-active-border-radius;
|
2016-01-28 10:11:57 -05:00
|
|
|
> a {
|
2017-09-25 11:41:09 -04:00
|
|
|
background-color: @sidebar-active-bg;
|
2018-08-27 07:39:53 -04:00
|
|
|
font-weight: @sidebar-active-font-weight;
|
2018-07-10 08:14:58 -04:00
|
|
|
color: @sidebar-active-color;
|
2014-06-19 08:30:45 -04:00
|
|
|
.subdued {
|
2018-07-10 08:14:58 -04:00
|
|
|
color: @sidebar-active-color;
|
2014-06-19 08:30:45 -04:00
|
|
|
}
|
2014-06-12 11:21:12 -04:00
|
|
|
}
|
|
|
|
}
|
2016-01-28 10:11:57 -05:00
|
|
|
> li > a.small {
|
2014-07-16 09:59:52 -04:00
|
|
|
color: @gray;
|
|
|
|
}
|
2014-06-19 08:30:45 -04:00
|
|
|
h2 {
|
2017-10-05 10:26:49 -04:00
|
|
|
margin-top: @folders-title-margin-top;
|
|
|
|
margin-bottom: @folders-title-margin-bottom;
|
|
|
|
font-size: @folders-title-font-size;
|
|
|
|
color: @folders-title-color;
|
|
|
|
text-transform: @folders-title-text-transform;
|
2017-10-06 07:02:20 -04:00
|
|
|
padding: @folders-title-padding;
|
2017-10-05 10:26:49 -04:00
|
|
|
font-weight: @folders-title-font-weight;
|
2014-06-19 08:30:45 -04:00
|
|
|
font-family: @font-family-sans-serif;
|
|
|
|
}
|
2016-01-28 10:11:57 -05:00
|
|
|
> li.tag {
|
|
|
|
&.active {
|
|
|
|
.tag-menu > a {
|
|
|
|
color: white;
|
|
|
|
border-color: white;
|
|
|
|
&:hover {
|
2017-10-05 10:26:49 -04:00
|
|
|
background-color: @folders-tag-menu-active-hover;
|
2016-01-28 10:11:57 -05:00
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
2017-04-28 12:09:34 -04:00
|
|
|
&.untagged {
|
2018-02-05 11:59:19 -05:00
|
|
|
a.tag-name {
|
|
|
|
span.name {
|
|
|
|
font-style: italic;
|
|
|
|
padding-left: 0;
|
2017-04-28 12:09:34 -04:00
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
2016-01-28 10:11:57 -05:00
|
|
|
&:hover {
|
|
|
|
&:not(.active) {
|
2017-10-05 10:26:49 -04:00
|
|
|
background-color: @folders-tag-hover;
|
2016-01-28 10:11:57 -05:00
|
|
|
}
|
|
|
|
.tag-menu {
|
|
|
|
display: block
|
|
|
|
}
|
2014-07-16 10:24:30 -04:00
|
|
|
}
|
2016-01-28 10:11:57 -05:00
|
|
|
&:not(.active) {
|
|
|
|
.tag-menu > a:hover {
|
2017-10-05 10:26:49 -04:00
|
|
|
background-color: @folders-tag-menu-hover;
|
2016-01-28 10:11:57 -05:00
|
|
|
}
|
|
|
|
}
|
|
|
|
a.tag-name {
|
2017-11-03 11:07:04 -04:00
|
|
|
position: relative;
|
2017-10-05 10:26:49 -04:00
|
|
|
padding: @folders-tag-padding;
|
|
|
|
display: @folders-tag-display;
|
2016-01-28 10:11:57 -05:00
|
|
|
span.name {
|
2017-10-06 07:02:20 -04:00
|
|
|
padding-left: 0.5em;
|
|
|
|
line-height: @folders-tag-line-height;
|
2016-01-28 10:11:57 -05:00
|
|
|
}
|
|
|
|
}
|
|
|
|
.tag-menu {
|
|
|
|
> a {
|
2017-10-05 10:26:49 -04:00
|
|
|
border: 1px solid @folders-tag-border-color;
|
2016-01-28 10:11:57 -05:00
|
|
|
border-radius: @border-radius-small;
|
2017-10-05 10:26:49 -04:00
|
|
|
color: @folders-tag-menu-color;
|
2016-01-28 10:11:57 -05:00
|
|
|
display: block;
|
|
|
|
width: 16px;
|
|
|
|
height: 16px;
|
|
|
|
position: relative;
|
|
|
|
.caret {
|
|
|
|
position: absolute;
|
|
|
|
top: 6px;
|
|
|
|
left: 1px;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
display: none;
|
|
|
|
position: absolute;
|
2017-10-05 10:26:49 -04:00
|
|
|
top: 50%;
|
|
|
|
margin-top: -8px; // Half the element height.
|
2016-01-28 10:11:57 -05:00
|
|
|
right: 4px;
|
|
|
|
&.open {
|
|
|
|
display: block;
|
|
|
|
}
|
2014-07-16 10:24:30 -04:00
|
|
|
}
|
|
|
|
}
|
2014-06-06 12:47:52 -04:00
|
|
|
}
|
|
|
|
|
2014-06-06 14:19:53 -04:00
|
|
|
form.project-search {
|
|
|
|
.form-group {
|
|
|
|
margin-bottom: 0;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2014-07-07 13:06:12 -04:00
|
|
|
ul.structured-list {
|
2014-06-04 11:14:35 -04:00
|
|
|
list-style-type: none;
|
|
|
|
margin: 0;
|
2014-06-04 12:46:22 -04:00
|
|
|
overflow: hidden;
|
2014-07-07 13:06:12 -04:00
|
|
|
overflow-y: auto;
|
2017-10-17 07:24:47 -04:00
|
|
|
-ms-overflow-style: -ms-autohiding-scrollbar;
|
2014-06-04 12:46:22 -04:00
|
|
|
li {
|
2017-09-26 08:49:46 -04:00
|
|
|
border-bottom: 1px solid @structured-list-border-color;
|
2014-06-09 03:51:12 -04:00
|
|
|
padding: (@line-height-computed / 4) 0;
|
2017-10-23 11:15:30 -04:00
|
|
|
|
2014-06-04 12:46:22 -04:00
|
|
|
&:last-child {
|
|
|
|
border-bottom: 0 none;
|
2014-06-04 11:14:35 -04:00
|
|
|
}
|
2014-06-04 12:46:22 -04:00
|
|
|
&:hover {
|
2017-09-26 08:49:46 -04:00
|
|
|
background-color: @structured-list-hover-color;
|
2014-06-04 11:14:35 -04:00
|
|
|
}
|
2017-09-26 08:49:46 -04:00
|
|
|
&:first-child {
|
|
|
|
border-bottom-color: @structured-header-border-color;
|
|
|
|
&:hover {
|
|
|
|
background-color: transparent;
|
|
|
|
}
|
2014-06-04 11:14:35 -04:00
|
|
|
}
|
2014-06-04 12:46:22 -04:00
|
|
|
a {
|
2017-09-25 12:12:31 -04:00
|
|
|
color: @structured-list-link-color;
|
2014-06-04 11:14:35 -04:00
|
|
|
}
|
2017-10-05 13:16:52 -04:00
|
|
|
.header when (@is-overleaf = true) {
|
2017-09-26 08:49:46 -04:00
|
|
|
font-weight: 600;
|
2014-07-09 06:51:21 -04:00
|
|
|
}
|
2017-10-05 13:16:52 -04:00
|
|
|
|
|
|
|
.header when (@is-overleaf = false) {
|
|
|
|
text-transform: uppercase;
|
|
|
|
}
|
2017-10-23 11:21:42 -04:00
|
|
|
|
2017-10-09 11:19:02 -04:00
|
|
|
.select-item, .select-all {
|
|
|
|
position: absolute;
|
|
|
|
left: @line-height-computed;
|
|
|
|
}
|
2014-07-09 06:51:21 -04:00
|
|
|
.select-item + span, .select-all + span {
|
|
|
|
display: inline-block;
|
2017-10-09 11:19:02 -04:00
|
|
|
padding-left: @line-height-computed * 1.5;
|
2016-10-24 12:08:46 -04:00
|
|
|
max-width: 100%;
|
|
|
|
overflow: hidden;
|
|
|
|
text-overflow: ellipsis;
|
|
|
|
vertical-align: top;
|
2014-06-04 11:14:35 -04:00
|
|
|
}
|
2014-07-07 13:06:12 -04:00
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2017-10-06 05:50:59 -04:00
|
|
|
.project-list-card when (@is-overleaf) {
|
2017-09-26 08:49:46 -04:00
|
|
|
padding: 0 (@line-height-computed / 4);
|
|
|
|
}
|
|
|
|
|
2014-07-07 13:06:12 -04:00
|
|
|
ul.project-list {
|
|
|
|
li {
|
2017-10-05 13:16:52 -04:00
|
|
|
.last-modified when (@is-overleaf = false) {
|
|
|
|
font-size: .8rem;
|
|
|
|
}
|
|
|
|
.owner when (@is-overleaf = false) {
|
|
|
|
font-size: .8rem;
|
|
|
|
}
|
|
|
|
.owner when (@is-overleaf = false) {
|
|
|
|
margin-right: 0;
|
|
|
|
}
|
2017-10-09 11:19:02 -04:00
|
|
|
.projectName {
|
2017-10-05 13:16:52 -04:00
|
|
|
margin-right: @line-height-computed / 4;
|
2018-01-23 08:48:03 -05:00
|
|
|
padding: 0;
|
|
|
|
vertical-align: inherit;
|
|
|
|
white-space: normal;
|
|
|
|
text-align: left;
|
2017-10-05 13:16:52 -04:00
|
|
|
}
|
|
|
|
|
2014-06-04 12:46:22 -04:00
|
|
|
.tag-label {
|
2014-07-09 06:51:21 -04:00
|
|
|
margin-left: @line-height-computed / 4;
|
|
|
|
position: relative;
|
2014-07-16 10:24:30 -04:00
|
|
|
display: inline-block;
|
2017-11-03 12:20:49 -04:00
|
|
|
white-space: nowrap;
|
2017-12-21 07:57:33 -05:00
|
|
|
top: @tag-top-adjustment;
|
2014-06-04 11:14:35 -04:00
|
|
|
}
|
2017-05-01 10:43:44 -04:00
|
|
|
.tag-label-name,
|
|
|
|
.tag-label-remove {
|
|
|
|
display: inline-block;
|
2017-05-02 07:20:28 -04:00
|
|
|
padding-top: 0.3em;
|
2017-05-01 10:43:44 -04:00
|
|
|
color: #FFF;
|
2017-10-02 12:01:51 -04:00
|
|
|
border-radius: @tag-border-radius;
|
|
|
|
background-color: @tag-bg-color;
|
2017-11-06 08:52:32 -05:00
|
|
|
vertical-align: text-bottom;
|
2017-10-02 12:01:51 -04:00
|
|
|
&:hover,
|
|
|
|
&:focus {
|
|
|
|
background-color: @tag-bg-hover-color;
|
|
|
|
}
|
2017-05-01 10:43:44 -04:00
|
|
|
}
|
|
|
|
.tag-label-name {
|
|
|
|
padding-right: 0.3em;
|
|
|
|
border-top-right-radius: 0;
|
2017-11-03 11:07:04 -04:00
|
|
|
border-bottom-right-radius: 0;
|
|
|
|
max-width: @tag-max-width;
|
|
|
|
overflow: hidden;
|
|
|
|
text-overflow: ellipsis;
|
2017-05-01 10:43:44 -04:00
|
|
|
}
|
|
|
|
.tag-label-remove {
|
|
|
|
padding-left: 0.3em;
|
|
|
|
border-top-left-radius: 0;
|
|
|
|
border-bottom-left-radius: 0;
|
|
|
|
}
|
2017-10-30 07:39:39 -04:00
|
|
|
|
2017-10-31 10:09:54 -04:00
|
|
|
.v1-badge {
|
2018-01-23 08:48:03 -05:00
|
|
|
margin-left: -4px;
|
2017-10-30 07:39:39 -04:00
|
|
|
}
|
2018-05-16 11:55:23 -04:00
|
|
|
|
2018-05-17 06:12:52 -04:00
|
|
|
.action-btn-row-header, .action-btn-row {
|
2018-05-16 11:55:23 -04:00
|
|
|
padding-right: 20px;
|
2018-05-17 06:12:52 -04:00
|
|
|
text-align: right;
|
2018-05-16 11:55:23 -04:00
|
|
|
}
|
|
|
|
|
|
|
|
.action-btn {
|
|
|
|
padding: 0 0.3em;
|
|
|
|
margin-left: 0.2em;
|
|
|
|
}
|
2014-06-04 11:14:35 -04:00
|
|
|
}
|
2014-07-18 05:43:32 -04:00
|
|
|
i.tablesort {
|
|
|
|
padding-left: 8px;
|
|
|
|
}
|
2014-06-04 11:14:35 -04:00
|
|
|
}
|
2014-07-07 11:22:38 -04:00
|
|
|
|
2014-07-18 09:08:53 -04:00
|
|
|
.user_details_auto_complete {
|
2014-07-07 11:22:38 -04:00
|
|
|
|
|
|
|
ul>li{
|
|
|
|
list-style:none;
|
|
|
|
}
|
|
|
|
|
|
|
|
.autocomplete {
|
|
|
|
width: 100%;
|
|
|
|
position: relative;
|
|
|
|
}
|
|
|
|
|
|
|
|
.autocomplete ul {
|
|
|
|
position: absolute;
|
|
|
|
top: 100%;
|
|
|
|
left: 0;
|
|
|
|
z-index: @zindex-dropdown;
|
|
|
|
float: left;
|
|
|
|
min-width: 160px;
|
|
|
|
padding: 5px 0;
|
|
|
|
margin: 2px 0 0; // override default ul
|
|
|
|
list-style: none;
|
|
|
|
font-size: @font-size-base;
|
|
|
|
background-color: @dropdown-bg;
|
|
|
|
border: 1px solid @dropdown-fallback-border; // IE8 fallback
|
|
|
|
border: 1px solid @dropdown-border;
|
|
|
|
border-radius: @border-radius-base;
|
|
|
|
.box-shadow(0 6px 12px rgba(0,0,0,.175));
|
|
|
|
background-clip: padding-box;
|
|
|
|
|
|
|
|
// Links within the dropdown menu
|
|
|
|
> li {
|
|
|
|
display: block;
|
|
|
|
padding: 3px 20px;
|
|
|
|
clear: both;
|
|
|
|
font-weight: normal;
|
|
|
|
line-height: @line-height-base;
|
|
|
|
color: @dropdown-link-color;
|
|
|
|
white-space: nowrap; // prevent links from randomly breaking onto new lines
|
|
|
|
}
|
|
|
|
|
|
|
|
> li.active {
|
|
|
|
text-decoration: none;
|
|
|
|
color: @dropdown-link-hover-color;
|
|
|
|
background-color: @dropdown-link-hover-bg;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
.autocomplete .highlight {
|
|
|
|
font-weight: 700;
|
|
|
|
}
|
|
|
|
}
|
2016-08-30 10:32:23 -04:00
|
|
|
|
|
|
|
.minimal-create-proj-dropdown {
|
|
|
|
text-align:center;
|
|
|
|
|
|
|
|
&-menu {
|
|
|
|
width:200px;
|
|
|
|
left:50%;
|
|
|
|
margin-left:-100px;
|
|
|
|
}
|
|
|
|
}
|
2016-11-29 12:12:53 -05:00
|
|
|
|
2016-12-06 09:17:30 -05:00
|
|
|
.announcements {
|
|
|
|
position: absolute;
|
2017-10-25 05:14:47 -04:00
|
|
|
bottom: @footer-height;
|
2016-12-06 10:41:58 -05:00
|
|
|
right: 0;
|
2016-12-06 12:15:56 -05:00
|
|
|
height: 150px;
|
2016-12-06 10:41:58 -05:00
|
|
|
width: 100%;
|
2016-12-06 12:15:56 -05:00
|
|
|
pointer-events: none;
|
2016-12-06 10:41:58 -05:00
|
|
|
overflow: hidden;
|
2016-12-06 12:15:56 -05:00
|
|
|
|
|
|
|
&-open {
|
|
|
|
top: -100%;
|
|
|
|
height: auto;
|
|
|
|
pointer-events: all;
|
|
|
|
}
|
2016-12-06 09:17:30 -05:00
|
|
|
}
|
|
|
|
|
2016-12-05 10:32:38 -05:00
|
|
|
.announcements-backdrop {
|
|
|
|
position: fixed;
|
|
|
|
top: 0;
|
|
|
|
right: 0;
|
|
|
|
bottom: 0;
|
|
|
|
left: 0;
|
|
|
|
background-color: rgba(0, 0, 0, 0.35);
|
|
|
|
opacity: 0;
|
|
|
|
animation: fade-in 0.35s forwards;
|
|
|
|
z-index: 1;
|
|
|
|
}
|
|
|
|
|
|
|
|
.announcements-btn {
|
2016-11-29 12:12:53 -05:00
|
|
|
position: absolute;
|
2017-03-01 11:08:58 -05:00
|
|
|
bottom: -35px;
|
2016-12-06 10:41:58 -05:00
|
|
|
right: 3%;
|
2016-11-29 12:12:53 -05:00
|
|
|
width: 80px;
|
|
|
|
height: 80px;
|
2017-03-01 11:08:58 -05:00
|
|
|
background: url(/img/brand/lion.svg) no-repeat center/80% transparent;
|
2016-11-29 12:12:53 -05:00
|
|
|
border-radius: 50%;
|
2016-12-05 10:32:38 -05:00
|
|
|
box-shadow: none;
|
2016-11-29 12:12:53 -05:00
|
|
|
z-index: 1;
|
2016-12-06 12:15:56 -05:00
|
|
|
pointer-events: all;
|
2016-12-05 10:32:38 -05:00
|
|
|
transition: bottom 0.25s cubic-bezier(0.68, -0.55, 0.265, 1.55),
|
|
|
|
background 0.25s ease,
|
|
|
|
box-shadow 0.25s ease;
|
2016-11-29 12:12:53 -05:00
|
|
|
|
2016-12-05 10:32:38 -05:00
|
|
|
&:hover {
|
2017-03-01 11:08:58 -05:00
|
|
|
bottom: -25px;
|
2016-11-29 12:12:53 -05:00
|
|
|
}
|
|
|
|
|
2016-12-05 10:32:38 -05:00
|
|
|
&-open, &-open:hover,
|
|
|
|
&-has-new, &-has-new:hover {
|
|
|
|
background-color: #FFF;
|
2016-11-29 12:12:53 -05:00
|
|
|
box-shadow: @announcements-shadow;
|
2016-12-06 09:17:30 -05:00
|
|
|
bottom: 30px;
|
2016-11-29 12:12:53 -05:00
|
|
|
}
|
2016-12-05 10:32:38 -05:00
|
|
|
}
|
2016-12-06 09:17:30 -05:00
|
|
|
.announcements-badge {
|
|
|
|
display: inline-block;
|
|
|
|
position: absolute;
|
|
|
|
font-size: 11px;
|
|
|
|
height: 1.8em;
|
|
|
|
min-width: 1.8em;
|
|
|
|
border-radius: 0.9em;
|
|
|
|
line-height: 1.8;
|
|
|
|
padding: 0 2px;
|
|
|
|
top: 1px;
|
|
|
|
right: 1px;
|
|
|
|
font-weight: bold;
|
|
|
|
color: #FFF;
|
|
|
|
background-color: @red;
|
|
|
|
vertical-align: baseline;
|
|
|
|
white-space: nowrap;
|
|
|
|
text-align: center;
|
|
|
|
z-index: 1;
|
|
|
|
animation: pulse 1s alternate infinite;
|
|
|
|
}
|
2016-12-05 10:32:38 -05:00
|
|
|
|
|
|
|
.announcements-body {
|
2016-12-07 06:10:02 -05:00
|
|
|
display: flex;
|
2016-12-07 09:26:10 -05:00
|
|
|
flex-direction: column;
|
2016-12-07 06:10:02 -05:00
|
|
|
align-items: stretch;
|
2016-12-05 10:32:38 -05:00
|
|
|
position: absolute;
|
2016-12-06 10:41:58 -05:00
|
|
|
right: 3%;
|
|
|
|
margin-right: 95px;
|
2016-12-06 09:17:30 -05:00
|
|
|
bottom: 30px;
|
2016-12-05 10:32:38 -05:00
|
|
|
width: 700px;
|
2017-10-25 05:33:20 -04:00
|
|
|
max-height: 40%;
|
2016-12-05 10:32:38 -05:00
|
|
|
min-height: 100px;
|
|
|
|
background: #FFF;
|
|
|
|
z-index: 1;
|
|
|
|
box-shadow: @announcements-shadow;
|
|
|
|
border-radius: @border-radius-base;
|
|
|
|
animation: fade-in 0.35s forwards;
|
2016-12-06 09:17:30 -05:00
|
|
|
|
|
|
|
&::after {
|
|
|
|
content: "\25b8";
|
|
|
|
position: absolute;
|
|
|
|
left: 100%;
|
|
|
|
bottom: 17px;
|
|
|
|
width: 30px;
|
|
|
|
color: #FFF;
|
|
|
|
text-shadow: @announcements-shadow;
|
|
|
|
font-size: 2em;
|
|
|
|
overflow: hidden;
|
2016-12-07 06:10:02 -05:00
|
|
|
text-indent: -7px;
|
2016-12-06 09:17:30 -05:00
|
|
|
}
|
2016-12-05 10:32:38 -05:00
|
|
|
}
|
2016-12-06 09:17:30 -05:00
|
|
|
|
2016-12-07 06:10:02 -05:00
|
|
|
.announcements-scroller {
|
|
|
|
padding: @line-height-computed;
|
|
|
|
flex-grow: 0;
|
|
|
|
overflow-x: hidden;
|
|
|
|
overflow-y: auto;
|
|
|
|
}
|
|
|
|
.announcement {
|
|
|
|
margin-bottom: @line-height-computed * 1.5;
|
|
|
|
&:last-child {
|
|
|
|
margin-bottom: 0;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
.announcement-header {
|
|
|
|
.page-header;
|
2016-12-06 09:17:30 -05:00
|
|
|
margin: 0;
|
|
|
|
}
|
|
|
|
|
2016-12-07 06:10:02 -05:00
|
|
|
.announcement-description {
|
|
|
|
margin: (@line-height-computed / 4) 0 (@line-height-computed / 2);
|
|
|
|
}
|
|
|
|
|
|
|
|
.announcement-meta {
|
|
|
|
.clearfix;
|
|
|
|
font-size: 0.9em;
|
2016-12-06 09:17:30 -05:00
|
|
|
}
|
2016-12-07 06:10:02 -05:00
|
|
|
|
|
|
|
.announcement-date {
|
|
|
|
float: left;
|
|
|
|
color: @gray;
|
|
|
|
margin: 0;
|
|
|
|
}
|
|
|
|
|
|
|
|
.announcement-link {
|
|
|
|
float: right;
|
|
|
|
margin: 0;
|
|
|
|
}
|