gitlab-org--gitlab-foss/app/assets/stylesheets/pages/repo.scss

279 lines
4.6 KiB
SCSS
Raw Normal View History

2017-06-20 08:21:07 -04:00
[v-cloak] {
display: none;
}
2017-06-27 14:10:43 -04:00
.fade-enter-active, .fade-leave-active {
transition: opacity .5s
}
2017-06-27 14:10:43 -04:00
.fade-enter, .fade-leave-to /* .fade-leave-active in <2.1.8 */ {
opacity: 0
}
.commit-message {
@include truncate(250px);
}
2017-06-27 14:10:43 -04:00
.tree-content-holder {
border: 1px solid $border-color;
border-radius: $border-radius-default;
color: $almost-black;
header {
background: $gray-light;
padding: 10px 15px;
}
2017-06-30 17:44:48 -04:00
.panel-right{
display: inline-block;
width: 85%;
2017-07-14 07:44:26 -04:00
.monaco-editor.vs .cursor {
background: rgba(255,255,255,0);
border-color: rgba(255,255,255,0);
}
2017-06-30 17:44:48 -04:00
#tabs {
height: 41px;
2017-07-14 07:44:26 -04:00
border-bottom: 1px solid $white-normal;
2017-06-30 17:44:48 -04:00
padding-left: 0;
margin-bottom: 0;
display: inline-block;
white-space: nowrap;
width: 100%;
overflow-y: none;
overflow-x: scroll;
2017-06-30 17:44:48 -04:00
li {
2017-07-02 18:17:53 -04:00
-webkit-animation: fadein 0.5s;
2017-06-30 17:44:48 -04:00
list-style-type: none;
background: $gray-normal;
display: inline-block;
padding: 10px 18px;
border-right: 1px solid $border-color;
white-space: nowrap;
2017-06-30 17:44:48 -04:00
&.active {
background: $white-light;
}
a {
color: black;
}
i.fa.fa-times {
float: right;
margin-top: 3px;
margin-left: 15px;
}
}
}
#ide {
height: 70vh;
2017-07-14 07:44:26 -04:00
}
#repo-file-buttons {
background: $gray-light;
padding: 5px;
2017-07-10 23:22:21 -04:00
margin-top: -5px;
2017-07-14 07:44:26 -04:00
border-bottom: 1px solid $white-normal;
}
#binary-viewer {
height: 70vh;
overflow: auto;
2017-07-14 07:44:26 -04:00
margin-top: 5px;
margin-left: 10px;
2017-07-11 18:44:33 -04:00
.blob-viewer {
padding-top: 20px;
padding-left: 20px;
}
}
2017-06-27 14:10:43 -04:00
}
2017-07-02 18:17:53 -04:00
#view-toggler {
height: 41px;
position: relative;
display: block;
border-bottom: 1px solid $white-normal;
background: white;
margin-top: -5px;
}
#binary-viewer {
img {
max-width: 100%;
}
}
2017-06-30 17:44:48 -04:00
2017-06-20 08:21:07 -04:00
#sidebar {
2017-07-02 18:17:53 -04:00
&.sidebar-mini {
display: inline-block;
vertical-align: top;
width: 15%;
border-right: 1px solid $white-normal;
2017-07-11 18:44:33 -04:00
height: 80vh;
2017-06-30 17:44:48 -04:00
overflow: auto;
}
2017-07-02 18:17:53 -04:00
tr {
-webkit-animation: fadein 0.5s;
&.repo-file-options td {
padding: 0;
border-top: none;
background: $gray-light;
width: 190px;
display: inline-block;
border-top: none;
&:hover {
.title {
width: 105px;
}
ul {
display: inline-block;
}
}
.title {
display: inline-block;
font-size: 10px;
text-transform: uppercase;
font-weight: bold;
color: $gray-darkest;
width: 185px;
white-space: nowrap;
overflow: hidden;
text-overflow: ellipsis;
vertical-align: middle;
padding: 2px 16px;
}
ul {
display: none;
float: right;
margin: 0 10px 0 0;
padding: 1px 0;
li {
display: inline-block;
padding: 0px 2px;
border-bottom: none;
}
}
}
.fa {
margin-right: 5px;
}
2017-07-02 18:17:53 -04:00
}
2017-06-30 17:44:48 -04:00
a {
color: $almost-black;
display: inline-block;
vertical-align: middle;
}
2017-06-20 08:21:07 -04:00
ul {
list-style-type: none;
padding: 0;
2017-06-20 08:21:07 -04:00
li {
border-bottom: 1px solid $border-gray-normal;
padding: 10px 20px;
2017-06-27 14:10:43 -04:00
a {
color: $almost-black;
}
.fa {
font-size: $code_font_size;
margin-right: 5px;
}
2017-06-20 08:21:07 -04:00
}
}
2017-06-27 14:10:43 -04:00
}
2017-07-02 18:17:53 -04:00
}
.animation-container {
background: #f6f7f9;
height: 40px;
overflow: hidden;
position: relative;
&.animation-container-small {
height: 12px;
}
&::before {
-webkit-animation-duration: 1s;
-webkit-animation-fill-mode: forwards;
-webkit-animation-iteration-count: infinite;
-webkit-animation-name: blockTextShine;
-webkit-animation-timing-function: linear;
background-image: linear-gradient(to right, #f6f7f9 0%, #e9ebee 20%, #f6f7f9 40%, #f6f7f9 100%);
background-repeat: no-repeat;
background-size: 800px 45px;
content: ' ';
display: block;
height: 100%;
position: relative;
}
div {
background: #fff;
height: 6px;
left: 0;
position: absolute;
right: 0
}
.line-of-code-1 {
left: 0;
top: 8px;
}
.line-of-code-2 {
left: 150px;
top: 0px;
height: 10px;
}
.line-of-code-3 {
left: 0;
top: 23px;
}
.line-of-code-4 {
left: 0;
top: 38px;
}
.line-of-code-5 {
left: 200px;
top: 28px;
height: 10px;
}
.line-of-code-6 {
top: 14px;
left: 230px;
height: 10px;
}
}
@-webkit-keyframes blockTextShine {
0% {
transform: translateX(-468px)
}
100% {
transform: translateX(468px)
}
}
@-webkit-keyframes fadein {
from { opacity: 0; }
to { opacity: 1; }
2017-06-20 08:21:07 -04:00
}