2012-10-09 13:11:49 -04:00
|
|
|
.file-editor {
|
2017-04-03 13:54:40 -04:00
|
|
|
.nav-links {
|
|
|
|
border-top: 1px solid $border-color;
|
|
|
|
border-right: 1px solid $border-color;
|
|
|
|
border-left: 1px solid $border-color;
|
|
|
|
border-bottom: none;
|
|
|
|
border-radius: 2px;
|
|
|
|
background: $gray-normal;
|
|
|
|
}
|
|
|
|
|
2016-03-30 16:30:06 -04:00
|
|
|
#editor {
|
2012-11-16 19:00:26 -05:00
|
|
|
border: none;
|
2016-09-09 12:59:36 -04:00
|
|
|
border-radius: 0;
|
2012-10-09 13:11:49 -04:00
|
|
|
height: 500px;
|
2012-11-16 19:00:26 -05:00
|
|
|
margin: 0;
|
|
|
|
padding: 0;
|
2012-10-09 13:11:49 -04:00
|
|
|
position: relative;
|
2012-11-16 19:00:26 -05:00
|
|
|
width: 100%;
|
2012-10-09 13:11:49 -04:00
|
|
|
}
|
2012-11-17 09:43:13 -05:00
|
|
|
|
2015-09-15 05:17:22 -04:00
|
|
|
.ace_gutter-cell {
|
2016-12-12 17:26:21 -05:00
|
|
|
background-color: $gray-light;
|
2015-09-15 05:17:22 -04:00
|
|
|
}
|
|
|
|
|
2012-11-17 09:43:13 -05:00
|
|
|
.cancel-btn {
|
2016-11-30 08:25:25 -05:00
|
|
|
color: $editor-cancel-color;
|
2016-10-14 16:39:08 -04:00
|
|
|
|
2012-11-17 09:43:13 -05:00
|
|
|
&:hover {
|
2016-11-30 08:25:25 -05:00
|
|
|
color: $editor-cancel-color;
|
2012-11-17 09:43:13 -05:00
|
|
|
}
|
|
|
|
}
|
2015-01-26 23:57:42 -05:00
|
|
|
|
|
|
|
.file-title {
|
|
|
|
@extend .monospace;
|
2015-12-02 08:47:19 -05:00
|
|
|
|
2016-05-06 11:13:16 -04:00
|
|
|
line-height: 35px;
|
2015-12-02 08:47:19 -05:00
|
|
|
padding-top: 7px;
|
|
|
|
padding-bottom: 7px;
|
2016-03-01 07:36:50 -05:00
|
|
|
|
|
|
|
.pull-right {
|
|
|
|
height: 20px;
|
|
|
|
}
|
2015-01-26 23:57:42 -05:00
|
|
|
}
|
|
|
|
|
|
|
|
.editor-ref {
|
2016-12-12 17:26:21 -05:00
|
|
|
background: $gray-light;
|
2015-12-02 08:47:19 -05:00
|
|
|
padding-right: $gl-padding;
|
2015-09-15 05:17:22 -04:00
|
|
|
border-right: 1px solid $border-color;
|
2015-12-02 08:47:19 -05:00
|
|
|
display: block;
|
|
|
|
float: left;
|
2015-01-26 23:57:42 -05:00
|
|
|
margin-right: 10px;
|
|
|
|
}
|
|
|
|
|
|
|
|
.editor-file-name {
|
2015-12-02 08:47:19 -05:00
|
|
|
@extend .monospace;
|
2016-05-06 11:13:16 -04:00
|
|
|
|
2015-12-02 08:47:19 -05:00
|
|
|
float: left;
|
|
|
|
margin-right: 10px;
|
|
|
|
}
|
2015-09-15 05:17:22 -04:00
|
|
|
|
2015-12-02 08:47:19 -05:00
|
|
|
.new-file-name {
|
|
|
|
display: inline-block;
|
2016-11-28 16:42:38 -05:00
|
|
|
max-width: 450px;
|
2015-12-02 08:47:19 -05:00
|
|
|
float: left;
|
2016-11-28 16:42:38 -05:00
|
|
|
|
|
|
|
@media(max-width: $screen-md-max) {
|
|
|
|
width: 280px;
|
|
|
|
}
|
|
|
|
|
|
|
|
@media(max-width: $screen-sm-max) {
|
|
|
|
width: 180px;
|
|
|
|
}
|
2015-09-15 05:17:22 -04:00
|
|
|
}
|
|
|
|
|
2016-11-02 14:34:17 -04:00
|
|
|
.file-buttons {
|
|
|
|
font-size: 0;
|
|
|
|
}
|
|
|
|
|
2015-12-02 08:47:19 -05:00
|
|
|
.select2 {
|
|
|
|
float: right;
|
2015-01-26 23:57:42 -05:00
|
|
|
}
|
2016-03-01 07:36:50 -05:00
|
|
|
|
|
|
|
.encoding-selector,
|
2017-04-03 13:54:40 -04:00
|
|
|
.soft-wrap-toggle {
|
2016-03-01 07:36:50 -05:00
|
|
|
display: inline-block;
|
2016-05-06 11:13:16 -04:00
|
|
|
vertical-align: top;
|
|
|
|
font-family: $regular_font;
|
|
|
|
}
|
|
|
|
|
2016-09-27 17:08:05 -04:00
|
|
|
.soft-wrap-toggle {
|
|
|
|
margin: 0 $btn-side-margin;
|
2016-10-14 16:39:08 -04:00
|
|
|
|
2016-09-27 17:08:05 -04:00
|
|
|
.soft-wrap {
|
|
|
|
display: block;
|
|
|
|
}
|
2016-10-14 16:39:08 -04:00
|
|
|
|
2016-09-27 17:08:05 -04:00
|
|
|
.no-wrap {
|
|
|
|
display: none;
|
|
|
|
}
|
2016-10-14 16:39:08 -04:00
|
|
|
|
2016-09-27 17:08:05 -04:00
|
|
|
&.soft-wrap-active {
|
|
|
|
.soft-wrap {
|
|
|
|
display: none;
|
|
|
|
}
|
2016-10-14 16:39:08 -04:00
|
|
|
|
2016-09-27 17:08:05 -04:00
|
|
|
.no-wrap {
|
|
|
|
display: block;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
2012-10-09 13:11:49 -04:00
|
|
|
}
|
2016-11-28 16:42:38 -05:00
|
|
|
|
2017-04-03 13:54:40 -04:00
|
|
|
|
2016-11-28 16:42:38 -05:00
|
|
|
@media(max-width: $screen-xs-max){
|
|
|
|
.file-editor {
|
|
|
|
.file-title {
|
|
|
|
.pull-right {
|
|
|
|
height: auto;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
.new-file-name {
|
|
|
|
max-width: none;
|
|
|
|
width: 100%;
|
2016-12-15 09:57:48 -05:00
|
|
|
margin-bottom: 3px;
|
2016-11-28 16:42:38 -05:00
|
|
|
}
|
|
|
|
|
|
|
|
.file-buttons {
|
2016-12-14 10:44:04 -05:00
|
|
|
display: block;
|
2016-11-28 16:42:38 -05:00
|
|
|
width: 100%;
|
2016-12-15 09:57:48 -05:00
|
|
|
margin-bottom: 10px;
|
2016-11-28 16:42:38 -05:00
|
|
|
|
|
|
|
.soft-wrap-toggle {
|
2016-12-14 10:44:04 -05:00
|
|
|
width: 100%;
|
2016-12-15 09:57:48 -05:00
|
|
|
margin: 3px 0;
|
2016-11-28 16:42:38 -05:00
|
|
|
}
|
|
|
|
|
2017-04-03 13:54:40 -04:00
|
|
|
.encoding-selector {
|
2016-12-14 10:44:04 -05:00
|
|
|
display: block;
|
2016-12-15 09:57:48 -05:00
|
|
|
margin: 3px 0;
|
2016-11-28 16:42:38 -05:00
|
|
|
|
|
|
|
button {
|
|
|
|
width: 100%;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
2017-04-03 13:54:40 -04:00
|
|
|
|
|
|
|
.blob-new-page-title,
|
|
|
|
.blob-edit-page-title {
|
|
|
|
margin: 19px 0 21px;
|
|
|
|
vertical-align: top;
|
|
|
|
display: inline-block;
|
|
|
|
|
|
|
|
@media(max-width: $screen-sm-max) {
|
|
|
|
display: block;
|
|
|
|
margin: 19px 0 12px;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
.template-selectors-menu {
|
|
|
|
display: inline-block;
|
|
|
|
vertical-align: top;
|
|
|
|
margin: 14px 0 0 16px;
|
|
|
|
padding: 0 0 0 14px;
|
|
|
|
border-left: 1px solid $border-color;
|
|
|
|
|
|
|
|
@media(max-width: $screen-sm-max) {
|
|
|
|
display: block;
|
|
|
|
width: 100%;
|
|
|
|
margin: 5px 0;
|
|
|
|
padding: 0;
|
|
|
|
border-left: none;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
.templates-selectors-label {
|
|
|
|
display: inline-block;
|
|
|
|
vertical-align: top;
|
|
|
|
margin-top: 6px;
|
|
|
|
line-height: 21px;
|
|
|
|
|
|
|
|
@media(max-width: $screen-sm-max) {
|
|
|
|
display: block;
|
|
|
|
margin: 5px 0;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
.template-selector-dropdowns-wrap {
|
|
|
|
display: inline-block;
|
|
|
|
margin-left: 8px;
|
|
|
|
vertical-align: top;
|
|
|
|
margin: 5px 0 0 8px;
|
|
|
|
|
|
|
|
@media(max-width: $screen-sm-max) {
|
|
|
|
display: block;
|
|
|
|
width: 100%;
|
|
|
|
margin: 0 0 16px;
|
|
|
|
}
|
|
|
|
|
|
|
|
.license-selector,
|
|
|
|
.gitignore-selector,
|
|
|
|
.gitlab-ci-yml-selector,
|
|
|
|
.dockerfile-selector,
|
|
|
|
.template-type-selector {
|
|
|
|
display: inline-block;
|
|
|
|
vertical-align: top;
|
|
|
|
font-family: $regular_font;
|
|
|
|
margin-top: -5px;
|
|
|
|
|
|
|
|
@media(max-width: $screen-sm-max) {
|
|
|
|
display: block;
|
|
|
|
width: 100%;
|
|
|
|
margin: 5px 0;
|
|
|
|
}
|
|
|
|
|
|
|
|
.dropdown {
|
|
|
|
line-height: 21px;
|
|
|
|
}
|
|
|
|
|
|
|
|
.dropdown-menu-toggle {
|
|
|
|
width: 250px;
|
|
|
|
vertical-align: top;
|
|
|
|
|
|
|
|
@media(max-width: $screen-sm-max) {
|
|
|
|
display: block;
|
|
|
|
width: 100%;
|
|
|
|
margin: 5px 0;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
.template-selectors-undo-menu {
|
|
|
|
display: inline-block;
|
|
|
|
margin: 7px 0 0 10px;
|
|
|
|
|
|
|
|
@media(max-width: $screen-sm-max) {
|
|
|
|
display: block;
|
|
|
|
width: 100%;
|
|
|
|
margin: 20px 0;
|
|
|
|
}
|
|
|
|
|
|
|
|
button {
|
|
|
|
margin: -4px 0 0 15px;
|
|
|
|
}
|
|
|
|
}
|