From ea36f7e21888cf859c9b62cd4deea8071ff25060 Mon Sep 17 00:00:00 2001 From: Andreas Nedbal Date: Wed, 29 Apr 2020 14:48:35 +0200 Subject: [PATCH] Remove mobile specific profile styles --- app/assets/stylesheets/scss/mobile.scss | 4 - .../stylesheets/scss/mobile/profile.scss | 76 ------------------- .../stylesheets/scss/mobile/settings.scss | 11 --- 3 files changed, 91 deletions(-) delete mode 100644 app/assets/stylesheets/scss/mobile.scss delete mode 100644 app/assets/stylesheets/scss/mobile/profile.scss delete mode 100644 app/assets/stylesheets/scss/mobile/settings.scss diff --git a/app/assets/stylesheets/scss/mobile.scss b/app/assets/stylesheets/scss/mobile.scss deleted file mode 100644 index 8279eb21..00000000 --- a/app/assets/stylesheets/scss/mobile.scss +++ /dev/null @@ -1,4 +0,0 @@ -@media (max-width: 768px) { - @import "mobile/settings"; - @import "mobile/profile"; -} diff --git a/app/assets/stylesheets/scss/mobile/profile.scss b/app/assets/stylesheets/scss/mobile/profile.scss deleted file mode 100644 index 3799ba3b..00000000 --- a/app/assets/stylesheets/scss/mobile/profile.scss +++ /dev/null @@ -1,76 +0,0 @@ -.container.headerable:not(.profile--no-header) { - margin-top: 0; - padding-top: 0; -} - -#profile--header:not(.profile--no-header) { - min-width: 0px; - * { - min-width: 0px; - } -} - - -.container.headerable { - #profile-info { - box-shadow: 0px 0px 20px rgba(0, 0, 0, 0.1); - margin-bottom: 15px; - - #profile.panel, #profile-stats.panel { - box-shadow: none; - margin-bottom: 0; - } - - #profile.panel { - font-size: 0; - - .profile--avatar { - width: 64px; - position: relative; - top: -15px; - left: 5px; - display: inline; - } - - .profile--panel-badge { - display: inline-block; - padding: 0 5px; - vertical-align: top; - width: auto; - margin-top: -15px; - &:nth-child(2) { - margin-left: 5px; - } - .fa { - font-size: 15px; - } - } - - .panel-body { - font-size: 15px; - .profile--panel-name { - margin-top: -75px; - margin-left: 60px - } - } - } - - #profile-stats { - border: none; - .panel-heading { - display: none; - } - - .panel-body { - font-size: 0px; - padding: 0; - .row { - width: 50%; - display: inline-block; - font-size: 12px; - margin: 0; - } - } - } - } -} diff --git a/app/assets/stylesheets/scss/mobile/settings.scss b/app/assets/stylesheets/scss/mobile/settings.scss deleted file mode 100644 index a9b4f2cf..00000000 --- a/app/assets/stylesheets/scss/mobile/settings.scss +++ /dev/null @@ -1,11 +0,0 @@ -#profile-header-media { - clear: both; - display: block; - .pull-left { - float: none !important; - clear: both; - img { - width: 100% - } - } -}