2017-07-18 08:00:55 -04:00
|
|
|
.fade-enter-active,
|
|
|
|
.fade-leave-active {
|
2017-08-15 15:53:41 -04:00
|
|
|
transition: opacity $sidebar-transition-duration;
|
2017-06-27 14:10:43 -04:00
|
|
|
}
|
2017-07-10 08:10:43 -04:00
|
|
|
|
2017-08-03 22:11:14 -04:00
|
|
|
.monaco-loader {
|
|
|
|
position: absolute;
|
|
|
|
top: 0;
|
|
|
|
left: 0;
|
|
|
|
right: 0;
|
|
|
|
bottom: 0;
|
2017-08-04 08:39:44 -04:00
|
|
|
background: $black-transparent;
|
2017-08-03 22:11:14 -04:00
|
|
|
}
|
|
|
|
|
2017-07-28 13:36:07 -04:00
|
|
|
.modal.popup-dialog {
|
|
|
|
display: block;
|
2017-08-04 11:10:32 -04:00
|
|
|
background-color: $black-transparent;
|
2017-08-07 18:46:22 -04:00
|
|
|
z-index: 2100;
|
2017-07-28 13:36:07 -04:00
|
|
|
|
2017-08-06 12:51:26 -04:00
|
|
|
@media (min-width: $screen-md-min) {
|
2017-07-28 13:36:07 -04:00
|
|
|
.modal-dialog {
|
|
|
|
width: 600px;
|
|
|
|
margin: 30px auto;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2017-08-01 09:51:52 -04:00
|
|
|
.project-refs-form,
|
|
|
|
.project-refs-target-form {
|
2017-07-28 13:36:07 -04:00
|
|
|
display: inline-block;
|
|
|
|
}
|
|
|
|
|
2017-07-18 08:00:55 -04:00
|
|
|
.fade-enter,
|
2017-08-06 12:51:56 -04:00
|
|
|
.fade-leave-to {
|
2017-07-18 08:00:55 -04:00
|
|
|
opacity: 0;
|
2017-06-27 14:10:43 -04:00
|
|
|
}
|
|
|
|
|
2017-07-10 08:10:43 -04:00
|
|
|
.commit-message {
|
2017-08-06 12:34:42 -04:00
|
|
|
@include str-truncated(250px);
|
2017-07-10 08:10:43 -04:00
|
|
|
}
|
|
|
|
|
2017-08-06 12:55:51 -04:00
|
|
|
.editable-mode {
|
2017-08-03 11:59:38 -04:00
|
|
|
display: inline-block;
|
|
|
|
}
|
|
|
|
|
2017-09-02 10:14:55 -04:00
|
|
|
@media (min-width: $screen-md-min) {
|
|
|
|
.blob-viewer[data-type="rich"] {
|
|
|
|
margin: 20px;
|
|
|
|
}
|
2017-08-04 07:33:57 -04:00
|
|
|
}
|
|
|
|
|
2017-08-16 13:03:58 -04:00
|
|
|
.repository-view {
|
2017-06-27 14:10:43 -04:00
|
|
|
border: 1px solid $border-color;
|
|
|
|
border-radius: $border-radius-default;
|
|
|
|
color: $almost-black;
|
|
|
|
|
2017-08-16 13:03:58 -04:00
|
|
|
.tree-content-holder {
|
|
|
|
display: flex;
|
|
|
|
max-height: 100vh;
|
|
|
|
min-height: 300px;
|
|
|
|
}
|
|
|
|
|
|
|
|
.tree-content-holder-mini {
|
|
|
|
height: 100vh;
|
|
|
|
}
|
|
|
|
|
2017-07-18 08:00:55 -04:00
|
|
|
.panel-right {
|
2017-08-16 13:03:58 -04:00
|
|
|
display: flex;
|
|
|
|
flex-direction: column;
|
2017-07-23 12:23:35 -04:00
|
|
|
width: 80%;
|
2017-08-16 13:03:58 -04:00
|
|
|
height: 100%;
|
2017-07-17 09:15:35 -04:00
|
|
|
|
2017-07-18 08:00:55 -04:00
|
|
|
.monaco-editor.vs {
|
|
|
|
.line-numbers {
|
|
|
|
cursor: pointer;
|
|
|
|
|
|
|
|
&:hover {
|
|
|
|
text-decoration: underline;
|
|
|
|
}
|
2017-07-14 12:14:20 -04:00
|
|
|
}
|
2017-07-14 07:44:26 -04:00
|
|
|
|
2017-07-17 09:15:35 -04:00
|
|
|
.cursor {
|
2017-07-24 12:13:02 -04:00
|
|
|
display: none !important;
|
2017-07-17 09:15:35 -04:00
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2017-09-07 18:07:50 -04:00
|
|
|
.blob-no-preview {
|
|
|
|
.vertical-center {
|
|
|
|
justify-content: center;
|
|
|
|
width: 100%;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2017-07-18 08:00:55 -04:00
|
|
|
&.edit-mode {
|
2017-08-07 17:59:06 -04:00
|
|
|
.blob-viewer-container {
|
|
|
|
overflow: hidden;
|
|
|
|
}
|
2017-08-07 18:21:10 -04:00
|
|
|
|
2017-07-18 08:00:55 -04:00
|
|
|
.monaco-editor.vs {
|
|
|
|
.cursor {
|
|
|
|
background: $black;
|
|
|
|
border-color: $black;
|
2017-07-24 15:12:25 -04:00
|
|
|
display: block !important;
|
2017-07-18 08:00:55 -04:00
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
2017-06-30 17:44:48 -04:00
|
|
|
|
2017-08-04 08:27:44 -04:00
|
|
|
.blob-viewer-container {
|
2017-08-16 13:03:58 -04:00
|
|
|
flex: 1;
|
2017-08-04 08:27:44 -04:00
|
|
|
overflow: auto;
|
2017-08-29 04:05:41 -04:00
|
|
|
|
|
|
|
> div,
|
|
|
|
.file-content {
|
|
|
|
display: flex;
|
|
|
|
}
|
|
|
|
|
|
|
|
> div,
|
|
|
|
.file-content,
|
|
|
|
.blob-viewer,
|
|
|
|
.line-number,
|
|
|
|
.blob-content,
|
|
|
|
.code {
|
|
|
|
min-height: 100%;
|
|
|
|
width: 100%;
|
|
|
|
}
|
|
|
|
|
|
|
|
.line-numbers {
|
|
|
|
min-width: 44px;
|
|
|
|
}
|
|
|
|
|
|
|
|
.blob-content {
|
|
|
|
flex: 1;
|
|
|
|
overflow-x: auto;
|
|
|
|
}
|
2017-08-04 08:27:44 -04:00
|
|
|
}
|
|
|
|
|
2017-07-18 08:00:55 -04:00
|
|
|
#tabs {
|
2017-08-16 13:03:58 -04:00
|
|
|
flex-shrink: 0;
|
|
|
|
display: flex;
|
|
|
|
width: 100%;
|
2017-07-18 08:00:55 -04:00
|
|
|
padding-left: 0;
|
|
|
|
margin-bottom: 0;
|
2017-06-30 23:07:00 -04:00
|
|
|
white-space: nowrap;
|
2017-07-21 14:40:42 -04:00
|
|
|
overflow-y: hidden;
|
|
|
|
overflow-x: auto;
|
2017-07-18 08:00:55 -04:00
|
|
|
|
|
|
|
li {
|
2017-07-23 12:11:06 -04:00
|
|
|
animation: swipeRightAppear ease-in 0.1s;
|
|
|
|
animation-iteration-count: 1;
|
|
|
|
transform-origin: 0% 50%;
|
2017-07-18 08:00:55 -04:00
|
|
|
list-style-type: none;
|
|
|
|
background: $gray-normal;
|
|
|
|
display: inline-block;
|
2017-07-28 13:36:07 -04:00
|
|
|
padding: 10px 18px;
|
2017-08-04 12:17:12 -04:00
|
|
|
border-right: 1px solid $white-dark;
|
|
|
|
border-bottom: 1px solid $white-dark;
|
2017-07-18 08:00:55 -04:00
|
|
|
white-space: nowrap;
|
2017-08-15 15:53:41 -04:00
|
|
|
cursor: pointer;
|
2017-06-30 17:44:48 -04:00
|
|
|
|
2017-07-30 13:34:53 -04:00
|
|
|
&.remove {
|
|
|
|
animation: swipeRightDissapear ease-in 0.1s;
|
|
|
|
animation-iteration-count: 1;
|
|
|
|
transform-origin: 0% 50%;
|
2017-08-01 09:51:52 -04:00
|
|
|
|
2017-07-30 13:34:53 -04:00
|
|
|
a {
|
|
|
|
width: 0;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2017-07-18 08:00:55 -04:00
|
|
|
&.active {
|
|
|
|
background: $white-light;
|
2017-08-04 11:05:21 -04:00
|
|
|
border-bottom: none;
|
2017-07-18 08:00:55 -04:00
|
|
|
}
|
|
|
|
|
|
|
|
a {
|
2017-08-07 08:54:15 -04:00
|
|
|
@include str-truncated(100px);
|
2017-07-18 08:00:55 -04:00
|
|
|
color: $black;
|
2017-07-21 14:40:42 -04:00
|
|
|
width: 100px;
|
|
|
|
text-align: center;
|
2017-07-23 12:11:06 -04:00
|
|
|
vertical-align: middle;
|
2017-08-15 15:53:41 -04:00
|
|
|
text-decoration: none;
|
2017-07-21 14:40:42 -04:00
|
|
|
|
|
|
|
&.close {
|
|
|
|
width: auto;
|
|
|
|
font-size: 15px;
|
2017-07-26 22:02:58 -04:00
|
|
|
opacity: 1;
|
2017-08-06 13:03:46 -04:00
|
|
|
margin-right: -6px;
|
2017-07-21 14:40:42 -04:00
|
|
|
}
|
2017-07-18 08:00:55 -04:00
|
|
|
}
|
2017-06-30 17:44:48 -04:00
|
|
|
|
2017-08-15 15:53:41 -04:00
|
|
|
.close-icon,
|
|
|
|
.unsaved-icon {
|
2017-07-18 08:00:55 -04:00
|
|
|
float: right;
|
|
|
|
margin-top: 3px;
|
|
|
|
margin-left: 15px;
|
|
|
|
color: $gray-darkest;
|
|
|
|
}
|
2017-07-26 22:02:58 -04:00
|
|
|
|
2017-08-15 15:53:41 -04:00
|
|
|
.unsaved-icon {
|
2017-07-26 22:02:58 -04:00
|
|
|
color: $brand-success;
|
|
|
|
}
|
2017-08-04 11:05:21 -04:00
|
|
|
|
|
|
|
&.tabs-divider {
|
|
|
|
width: 100%;
|
|
|
|
background-color: $white-light;
|
|
|
|
border-right: none;
|
|
|
|
border-top-right-radius: 2px;
|
|
|
|
}
|
2017-06-30 17:44:48 -04:00
|
|
|
}
|
2017-07-18 08:00:55 -04:00
|
|
|
}
|
|
|
|
|
|
|
|
#repo-file-buttons {
|
2017-08-04 09:42:25 -04:00
|
|
|
background-color: $white-light;
|
2017-07-18 08:00:55 -04:00
|
|
|
border-bottom: 1px solid $white-normal;
|
2017-08-04 09:42:25 -04:00
|
|
|
padding: 5px 10px;
|
2017-07-21 14:40:42 -04:00
|
|
|
position: relative;
|
|
|
|
border-top: 1px solid $white-normal;
|
2017-07-18 08:00:55 -04:00
|
|
|
}
|
|
|
|
|
|
|
|
#binary-viewer {
|
2017-07-29 14:53:50 -04:00
|
|
|
height: 80vh;
|
2017-07-18 08:00:55 -04:00
|
|
|
overflow: auto;
|
2017-07-29 14:53:50 -04:00
|
|
|
margin: 0;
|
2017-06-30 17:44:48 -04:00
|
|
|
|
2017-07-18 08:00:55 -04:00
|
|
|
.blob-viewer {
|
|
|
|
padding-top: 20px;
|
|
|
|
padding-left: 20px;
|
2017-06-30 17:44:48 -04:00
|
|
|
}
|
2017-07-29 14:53:50 -04:00
|
|
|
|
|
|
|
.binary-unknown {
|
|
|
|
text-align: center;
|
|
|
|
padding-top: 100px;
|
2017-08-01 09:51:52 -04:00
|
|
|
background: $gray-light;
|
2017-07-29 14:53:50 -04:00
|
|
|
height: 100%;
|
|
|
|
font-size: 17px;
|
2017-08-01 09:51:52 -04:00
|
|
|
|
2017-07-29 14:53:50 -04:00
|
|
|
span {
|
|
|
|
display: block;
|
|
|
|
}
|
|
|
|
}
|
2017-06-30 17:44:48 -04:00
|
|
|
}
|
|
|
|
}
|
2017-07-14 07:44:26 -04:00
|
|
|
|
2017-07-18 08:00:55 -04:00
|
|
|
#commit-area {
|
2017-07-14 07:44:26 -04:00
|
|
|
background: $gray-light;
|
2017-07-18 08:00:55 -04:00
|
|
|
padding: 20px;
|
2017-07-28 19:33:56 -04:00
|
|
|
|
2017-08-15 15:53:41 -04:00
|
|
|
.help-block {
|
2017-07-28 19:33:56 -04:00
|
|
|
padding-top: 7px;
|
2017-07-28 20:15:32 -04:00
|
|
|
margin-top: 0;
|
2017-07-28 19:33:56 -04:00
|
|
|
}
|
2017-07-18 08:00:55 -04:00
|
|
|
}
|
|
|
|
|
|
|
|
#view-toggler {
|
|
|
|
height: 41px;
|
|
|
|
position: relative;
|
|
|
|
display: block;
|
2017-07-14 07:44:26 -04:00
|
|
|
border-bottom: 1px solid $white-normal;
|
2017-07-18 08:00:55 -04:00
|
|
|
background: $white-light;
|
|
|
|
margin-top: -5px;
|
2017-07-14 07:44:26 -04:00
|
|
|
}
|
2017-07-11 00:50:36 -04:00
|
|
|
|
|
|
|
#binary-viewer {
|
2017-07-18 08:00:55 -04:00
|
|
|
img {
|
|
|
|
max-width: 100%;
|
2017-07-11 18:44:33 -04:00
|
|
|
}
|
2017-07-11 00:50:36 -04:00
|
|
|
}
|
2017-06-27 14:10:43 -04:00
|
|
|
|
2017-07-18 08:00:55 -04:00
|
|
|
#sidebar {
|
2017-08-16 13:03:58 -04:00
|
|
|
flex: 1;
|
|
|
|
height: 100%;
|
2017-07-17 09:15:35 -04:00
|
|
|
|
2017-07-18 08:00:55 -04:00
|
|
|
&.sidebar-mini {
|
2017-07-23 12:23:35 -04:00
|
|
|
width: 20%;
|
2017-07-18 08:00:55 -04:00
|
|
|
border-right: 1px solid $white-normal;
|
|
|
|
overflow: auto;
|
|
|
|
}
|
2017-07-02 18:17:53 -04:00
|
|
|
|
2017-08-03 10:45:03 -04:00
|
|
|
table {
|
|
|
|
margin-bottom: 0;
|
|
|
|
}
|
|
|
|
|
2017-07-18 08:00:55 -04:00
|
|
|
tr {
|
|
|
|
animation: fadein 0.5s;
|
2017-07-24 12:13:02 -04:00
|
|
|
cursor: pointer;
|
2017-06-30 17:44:48 -04:00
|
|
|
|
2017-07-18 08:00:55 -04:00
|
|
|
&.repo-file-options td {
|
|
|
|
padding: 0;
|
|
|
|
border-top: none;
|
|
|
|
background: $gray-light;
|
2017-08-03 10:37:27 -04:00
|
|
|
width: 100%;
|
2017-07-18 08:00:55 -04:00
|
|
|
display: inline-block;
|
2017-07-02 18:17:53 -04:00
|
|
|
|
2017-08-04 04:41:18 -04:00
|
|
|
&:first-child {
|
|
|
|
border-top-left-radius: 2px;
|
|
|
|
}
|
|
|
|
|
2017-07-10 08:10:43 -04:00
|
|
|
.title {
|
2017-07-18 08:00:55 -04:00
|
|
|
display: inline-block;
|
|
|
|
font-size: 10px;
|
|
|
|
text-transform: uppercase;
|
2017-08-24 10:13:24 -04:00
|
|
|
font-weight: $gl-font-weight-bold;
|
2017-07-18 08:00:55 -04:00
|
|
|
color: $gray-darkest;
|
|
|
|
white-space: nowrap;
|
|
|
|
overflow: hidden;
|
|
|
|
text-overflow: ellipsis;
|
|
|
|
vertical-align: middle;
|
|
|
|
padding: 2px 16px;
|
2017-07-10 08:10:43 -04:00
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2017-08-15 15:53:41 -04:00
|
|
|
.file-icon {
|
2017-07-18 08:00:55 -04:00
|
|
|
margin-right: 5px;
|
2017-07-10 08:10:43 -04:00
|
|
|
}
|
2017-07-26 11:39:32 -04:00
|
|
|
|
|
|
|
td {
|
|
|
|
white-space: nowrap;
|
|
|
|
}
|
2017-07-10 08:10:43 -04:00
|
|
|
}
|
2017-07-18 08:00:55 -04:00
|
|
|
|
|
|
|
a {
|
2017-08-15 15:53:41 -04:00
|
|
|
@include str-truncated(250px);
|
2017-07-18 08:00:55 -04:00
|
|
|
color: $almost-black;
|
|
|
|
display: inline-block;
|
|
|
|
vertical-align: middle;
|
2017-07-10 08:10:43 -04:00
|
|
|
}
|
2017-07-02 18:17:53 -04:00
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2017-08-07 17:56:07 -04:00
|
|
|
.render-error {
|
2017-08-15 15:53:41 -04:00
|
|
|
min-height: calc(100vh - 62px);
|
2017-08-07 18:21:10 -04:00
|
|
|
|
2017-08-07 17:56:07 -04:00
|
|
|
p {
|
|
|
|
width: 100%;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2017-07-23 12:11:06 -04:00
|
|
|
@keyframes swipeRightAppear {
|
|
|
|
0% {
|
2017-07-26 09:40:46 -04:00
|
|
|
transform: scaleX(0.00);
|
2017-07-18 08:00:55 -04:00
|
|
|
}
|
2017-07-26 09:40:46 -04:00
|
|
|
|
2017-07-30 13:34:53 -04:00
|
|
|
100% {
|
|
|
|
transform: scaleX(1.00);
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
@keyframes swipeRightDissapear {
|
|
|
|
0% {
|
|
|
|
transform: scaleX(1.00);
|
2017-07-23 12:11:06 -04:00
|
|
|
}
|
2017-07-26 09:40:46 -04:00
|
|
|
|
2017-07-23 12:11:06 -04:00
|
|
|
100% {
|
2017-07-30 13:34:53 -04:00
|
|
|
transform: scaleX(0.00);
|
2017-07-18 08:00:55 -04:00
|
|
|
}
|
|
|
|
}
|