Browse Source

Closes #28: Add link to Github next to Feedback icon?

pull/65/head
Sebastian Stehle 9 years ago
parent
commit
5b9fd0d64a
  1. 2
      src/Squidex/app/shell/pages/home/home-page.component.html
  2. 6
      src/Squidex/app/shell/pages/internal/internal-area.component.html
  3. 46
      src/Squidex/app/shell/pages/internal/internal-area.component.scss

2
src/Squidex/app/shell/pages/home/home-page.component.html

@ -3,8 +3,6 @@
<div class="card-block text-center">
<img class="login-icon login-element" src="/images/logo-half.png" />
<h4 class="login-title login-element">You're about to enter into the future of CMS</h4>
<div>
<button class="btn btn-success btn-lg login-button login-element" (click)="login()">
Login to Squidex

6
src/Squidex/app/shell/pages/internal/internal-area.component.html

@ -22,4 +22,10 @@
</div>
</div>
<a class="github-button" href="https://github.com/Squidex/squidex/issues" target="_blank">
<i class="icon-github github-icon"></i>
<span class="github-text">Github</span>
</a>
<sqx-user-report></sqx-user-report>

46
src/Squidex/app/shell/pages/internal/internal-area.component.scss

@ -19,6 +19,52 @@
float: left;
}
.github {
&-button {
& {
@include fixed(50%, -103px, auto, auto);
@include border-radius-left(3px);
@include transition(transform .3s ease);
background: lighten($color-extern-github, 10%);
border: 0;
cursor: pointer;
color: $color-dark-foreground;
margin-top: -60px;
padding-left: 65px;
font-size: .9rem;
font-weight: bold;
height: 44px;
line-height: 40px;
width: 147px;
}
&:hover {
& {
@include translate(-103px, 0);
text-decoration: none;
}
.github-icon {
background: $color-extern-github;
}
}
}
&-icon {
@include absolute(0, auto, auto, 0);
@include border-radius-left(3px);
@include transition(background .4s ease);
background: lighten($color-extern-github, 10%);
display: inline-block;
line-height: 44px;
font-size: 1.5rem;
font-weight: normal;
width: 44px;
text-align: center;
color: $color-dark-foreground;
}
}
.notification {
&-container {
@include fixed(auto, .625rem, .625rem, auto);

Loading…
Cancel
Save