Welcome to mirror list, hosted at ThFree Co, Russian Federation.

gitlab.com/gitlab-org/gitlab-foss.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'app/assets/stylesheets/components')
-rw-r--r--app/assets/stylesheets/components/avatar.scss12
-rw-r--r--app/assets/stylesheets/components/batch_comments/review_bar.scss2
-rw-r--r--app/assets/stylesheets/components/rich_content_editor.scss54
3 files changed, 8 insertions, 60 deletions
diff --git a/app/assets/stylesheets/components/avatar.scss b/app/assets/stylesheets/components/avatar.scss
index ceac5da7f80..6a6febbf7b4 100644
--- a/app/assets/stylesheets/components/avatar.scss
+++ b/app/assets/stylesheets/components/avatar.scss
@@ -37,7 +37,7 @@ $avatar-sizes: (
),
60: (
font-size: 32px,
- line-height: 58px,
+ line-height: 60px,
border-radius: $border-radius-large
),
64: (
@@ -47,7 +47,7 @@ $avatar-sizes: (
),
90: (
font-size: 36px,
- line-height: 88px,
+ line-height: 90px,
border-radius: $border-radius-large
),
96: (
@@ -72,7 +72,6 @@ $avatar-sizes: (
float: left;
margin-right: $gl-padding;
border-radius: $avatar-radius;
- border: 1px solid $t-gray-a-08;
@each $size, $size-config in $avatar-sizes {
&.s#{$size} {
@@ -83,13 +82,12 @@ $avatar-sizes: (
.avatar {
transition-property: none;
-
width: 40px;
height: 40px;
padding: 0;
background: $gray-lightest;
overflow: hidden;
- border-color: rgba($black, $gl-avatar-border-opacity);
+ box-shadow: inset 0 0 0 1px rgba($gray-950, $gl-avatar-border-opacity);
&.avatar-inline {
float: none;
@@ -180,6 +178,10 @@ $avatar-sizes: (
@each $size, $size-config in $avatar-sizes {
&.s#{$size} {
border-radius: map-get($size-config, 'border-radius');
+
+ .avatar {
+ border-radius: map-get($size-config, 'border-radius');
+ }
}
}
}
diff --git a/app/assets/stylesheets/components/batch_comments/review_bar.scss b/app/assets/stylesheets/components/batch_comments/review_bar.scss
index 6f5c5c5a080..5e1128dc4ce 100644
--- a/app/assets/stylesheets/components/batch_comments/review_bar.scss
+++ b/app/assets/stylesheets/components/batch_comments/review_bar.scss
@@ -11,7 +11,7 @@
padding-right: $gutter_collapsed_width;
background: $white;
border-top: 1px solid $border-color;
- transition: padding $sidebar-transition-duration;
+ transition: padding $gl-transition-duration-medium;
.page-with-icon-sidebar & {
padding-left: $contextual-sidebar-collapsed-width;
diff --git a/app/assets/stylesheets/components/rich_content_editor.scss b/app/assets/stylesheets/components/rich_content_editor.scss
deleted file mode 100644
index 59bd69955d3..00000000000
--- a/app/assets/stylesheets/components/rich_content_editor.scss
+++ /dev/null
@@ -1,54 +0,0 @@
-/**
-* Overrides styles from ToastUI editor
-*/
-
-.tui-editor-defaultUI {
-
- // Toolbar buttons
- .tui-editor-defaultUI-toolbar .toolbar-button {
- color: $gray-500;
- border: 0;
-
- &:hover,
- &:active {
- color: $blue-500;
- border: 0;
- }
- }
-
- // Contextual menu's & popups
- .tui-popup-wrapper {
- @include gl-overflow-hidden;
- @include gl-rounded-base;
- @include gl-border-gray-200;
-
- hr {
- @include gl-m-0;
- @include gl-bg-gray-200;
- }
-
- button {
- @include gl-text-gray-700;
- }
- }
-
- /**
- * Overrides styles from ToastUI's Code Mirror (markdown mode) editor.
- * Toast UI internally overrides some of these using the `.tui-md-` prefix.
- * https://codemirror.net/doc/manual.html#styling
- */
-
- .te-md-container .CodeMirror * {
- @include gl-font-monospace;
- @include gl-font-size-monospace;
- @include gl-line-height-20;
- }
-}
-
-/**
-* Styling below ensures that YouTube videos are displayed in the editor the same as they would in about.gitlab.com
-* https://gitlab.com/gitlab-com/www-gitlab-com/-/blob/main/source/stylesheets/_base.scss#L977
-*/
-.video_container {
- padding-bottom: 56.25%;
-}