|
@@ -1,4 +1,4 @@
|
|
|
-@announcements-shadow: 0 2px 4px 1px rgba(0, 0, 0, 0.2);
|
|
|
|
|
|
|
+@announcements-shadow: 0 2px 20px rgba(0, 0, 0, 0.5);
|
|
|
|
|
|
|
|
@keyframes pulse {
|
|
@keyframes pulse {
|
|
|
0% {
|
|
0% {
|
|
@@ -318,6 +318,12 @@ ul.project-list {
|
|
|
}
|
|
}
|
|
|
}
|
|
}
|
|
|
|
|
|
|
|
|
|
+.announcements {
|
|
|
|
|
+ position: absolute;
|
|
|
|
|
+ bottom: 0;
|
|
|
|
|
+ right: 3%;
|
|
|
|
|
+}
|
|
|
|
|
+
|
|
|
.announcements-backdrop {
|
|
.announcements-backdrop {
|
|
|
position: fixed;
|
|
position: fixed;
|
|
|
top: 0;
|
|
top: 0;
|
|
@@ -333,7 +339,7 @@ ul.project-list {
|
|
|
.announcements-btn {
|
|
.announcements-btn {
|
|
|
position: absolute;
|
|
position: absolute;
|
|
|
bottom: -50px;
|
|
bottom: -50px;
|
|
|
- right: 3%;
|
|
|
|
|
|
|
+ right: 0;
|
|
|
width: 80px;
|
|
width: 80px;
|
|
|
height: 80px;
|
|
height: 80px;
|
|
|
background: url(/img/lion-128.png) no-repeat center/80% transparent;
|
|
background: url(/img/lion-128.png) no-repeat center/80% transparent;
|
|
@@ -352,52 +358,83 @@ ul.project-list {
|
|
|
&-has-new, &-has-new:hover {
|
|
&-has-new, &-has-new:hover {
|
|
|
background-color: #FFF;
|
|
background-color: #FFF;
|
|
|
box-shadow: @announcements-shadow;
|
|
box-shadow: @announcements-shadow;
|
|
|
- bottom: 40px;
|
|
|
|
|
|
|
+ bottom: 30px;
|
|
|
}
|
|
}
|
|
|
}
|
|
}
|
|
|
-.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;
|
|
|
|
|
-}
|
|
|
|
|
|
|
+ .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;
|
|
|
|
|
+ }
|
|
|
|
|
|
|
|
.announcements-body {
|
|
.announcements-body {
|
|
|
position: absolute;
|
|
position: absolute;
|
|
|
- right: 3%;
|
|
|
|
|
- bottom: 130px;
|
|
|
|
|
|
|
+ right: 95px;
|
|
|
|
|
+ bottom: 30px;
|
|
|
width: 700px;
|
|
width: 700px;
|
|
|
min-height: 100px;
|
|
min-height: 100px;
|
|
|
background: #FFF;
|
|
background: #FFF;
|
|
|
z-index: 1;
|
|
z-index: 1;
|
|
|
box-shadow: @announcements-shadow;
|
|
box-shadow: @announcements-shadow;
|
|
|
- padding: 0 @line-height-computed;
|
|
|
|
|
|
|
+ padding: @line-height-computed;
|
|
|
border-radius: @border-radius-base;
|
|
border-radius: @border-radius-base;
|
|
|
animation: fade-in 0.35s forwards;
|
|
animation: fade-in 0.35s forwards;
|
|
|
|
|
+
|
|
|
|
|
+ &::after {
|
|
|
|
|
+ content: "\25b8";
|
|
|
|
|
+ position: absolute;
|
|
|
|
|
+ left: 100%;
|
|
|
|
|
+ bottom: 17px;
|
|
|
|
|
+ width: 30px;
|
|
|
|
|
+ color: #FFF;
|
|
|
|
|
+ text-shadow: @announcements-shadow;
|
|
|
|
|
+ font-size: 2em;
|
|
|
|
|
+ overflow: hidden;
|
|
|
|
|
+ text-indent: -6px;
|
|
|
|
|
+ }
|
|
|
}
|
|
}
|
|
|
.announcement {
|
|
.announcement {
|
|
|
- margin-bottom: @line-height-computed;
|
|
|
|
|
- }
|
|
|
|
|
|
|
+ margin-bottom: @line-height-computed * 1.5;
|
|
|
|
|
+ &:last-child {
|
|
|
|
|
+ margin-bottom: 0;
|
|
|
|
|
+ }
|
|
|
|
|
+ }
|
|
|
.announcement-header {
|
|
.announcement-header {
|
|
|
.page-header;
|
|
.page-header;
|
|
|
- margin-bottom: 0;
|
|
|
|
|
|
|
+ margin: 0;
|
|
|
|
|
+ }
|
|
|
|
|
+
|
|
|
|
|
+ .announcement-description {
|
|
|
|
|
+ margin: (@line-height-computed / 4) 0 (@line-height-computed / 2);
|
|
|
}
|
|
}
|
|
|
|
|
|
|
|
- .announcement-date {
|
|
|
|
|
- .small;
|
|
|
|
|
- margin: (@line-height-computed / 4) 0;
|
|
|
|
|
|
|
+ .announcement-meta {
|
|
|
|
|
+ .clearfix;
|
|
|
|
|
+ font-size: 0.9em;
|
|
|
}
|
|
}
|
|
|
|
|
+
|
|
|
|
|
+ .announcement-date {
|
|
|
|
|
+ float: left;
|
|
|
|
|
+ color: @gray;
|
|
|
|
|
+ margin: 0;
|
|
|
|
|
+ }
|
|
|
|
|
+
|
|
|
|
|
+ .announcement-link {
|
|
|
|
|
+ float: right;
|
|
|
|
|
+ margin: 0;
|
|
|
|
|
+ }
|