debian-mirror-gitlab/app/assets/stylesheets/pages/editor.scss

111 lines
1.6 KiB
SCSS
Raw Normal View History

2014-09-02 18:07:02 +05:30
.file-editor {
2016-06-02 11:05:42 +05:30
#editor {
2014-09-02 18:07:02 +05:30
border: none;
2016-11-03 12:29:30 +05:30
border-radius: 0;
2014-09-02 18:07:02 +05:30
height: 500px;
margin: 0;
padding: 0;
position: relative;
width: 100%;
}
2015-09-25 12:07:36 +05:30
.ace_gutter-cell {
background-color: $background-color;
}
2014-09-02 18:07:02 +05:30
.cancel-btn {
2016-06-02 11:05:42 +05:30
color: #b94a48;
2016-11-03 12:29:30 +05:30
2014-09-02 18:07:02 +05:30
&:hover {
2016-06-02 11:05:42 +05:30
color: #b94a48;
2014-09-02 18:07:02 +05:30
}
}
2015-04-26 12:48:37 +05:30
.file-title {
@extend .monospace;
2015-12-23 02:04:40 +05:30
2016-06-02 11:05:42 +05:30
line-height: 35px;
2015-12-23 02:04:40 +05:30
padding-top: 7px;
padding-bottom: 7px;
2016-06-02 11:05:42 +05:30
.pull-right {
height: 20px;
}
2015-04-26 12:48:37 +05:30
}
.editor-ref {
background: $background-color;
2015-12-23 02:04:40 +05:30
padding-right: $gl-padding;
2015-09-25 12:07:36 +05:30
border-right: 1px solid $border-color;
2015-12-23 02:04:40 +05:30
display: block;
float: left;
2015-04-26 12:48:37 +05:30
margin-right: 10px;
}
.editor-file-name {
2015-12-23 02:04:40 +05:30
@extend .monospace;
2016-06-02 11:05:42 +05:30
2015-12-23 02:04:40 +05:30
float: left;
margin-right: 10px;
}
2015-09-25 12:07:36 +05:30
2015-12-23 02:04:40 +05:30
.new-file-name {
display: inline-block;
width: 450px;
float: left;
2015-09-25 12:07:36 +05:30
}
2015-12-23 02:04:40 +05:30
.select2 {
float: right;
2015-04-26 12:48:37 +05:30
}
2016-06-02 11:05:42 +05:30
.encoding-selector,
2016-11-03 12:29:30 +05:30
.soft-wrap-toggle,
2016-06-02 11:05:42 +05:30
.license-selector,
2016-06-22 15:30:34 +05:30
.gitignore-selector,
.gitlab-ci-yml-selector {
2016-06-02 11:05:42 +05:30
display: inline-block;
vertical-align: top;
font-family: $regular_font;
}
2016-11-03 12:29:30 +05:30
.soft-wrap-toggle {
margin: 0 $btn-side-margin;
.soft-wrap {
display: block;
}
.no-wrap {
display: none;
}
&.soft-wrap-active {
.soft-wrap {
display: none;
}
.no-wrap {
display: block;
}
}
}
2016-06-22 15:30:34 +05:30
.gitignore-selector, .license-selector, .gitlab-ci-yml-selector {
2016-06-02 11:05:42 +05:30
.dropdown {
line-height: 21px;
}
.dropdown-menu-toggle {
vertical-align: top;
width: 220px;
}
}
2016-06-22 15:30:34 +05:30
.gitlab-ci-yml-selector {
.dropdown-menu-toggle {
width: 250px;
}
}
2014-09-02 18:07:02 +05:30
}