diff options
author | Grigorii K. Shartsev <me@shgk.me> | 2024-03-13 16:01:46 +0100 |
---|---|---|
committer | Grigorii K. Shartsev <me@shgk.me> | 2024-03-19 15:38:51 +0100 |
commit | eac928af84a7c46bccd30087d33fd5bd20c5b4bf (patch) | |
tree | 21635b8b049d4514ea95914dba02da845fbbab5e /apps | |
parent | 31baf8d469fac250944b2d76f82336d83a1568c3 (diff) | |
download | nextcloud-server-eac928af84a7c46bccd30087d33fd5bd20c5b4bf.tar.gz nextcloud-server-eac928af84a7c46bccd30087d33fd5bd20c5b4bf.zip |
refactor(settings): remove unused styles from apps settings
Signed-off-by: Grigorii K. Shartsev <me@shgk.me>
Diffstat (limited to 'apps')
-rw-r--r-- | apps/settings/css/settings.scss | 215 | ||||
-rw-r--r-- | apps/settings/src/components/AppList.vue | 6 |
2 files changed, 2 insertions, 219 deletions
diff --git a/apps/settings/css/settings.scss b/apps/settings/css/settings.scss index c77a420e8d4..57cb508212c 100644 --- a/apps/settings/css/settings.scss +++ b/apps/settings/css/settings.scss @@ -539,20 +539,6 @@ span.usersLastLoginTooltip { } /* APPS */ -#app-content > svg.app-filter { - float: left; - height: 0; - width: 0; -} - -#app-category-app-bundles { - margin-bottom: 20px; -} - -.appinfo { - margin: 1em 40px; -} - #app-navigation { /* Navigation icons */ img { @@ -570,37 +556,12 @@ span.usersLastLoginTooltip { display: block; } } - - .appwarning { - background: #fcc; - } - - &.appwarning:hover { - background: #fbb; - } - - .app-external { - color: var(--color-text-maxcontrast); - } -} - -span.version { - margin-left: 1em; - margin-right: 1em; - color: var(--color-text-maxcontrast); } .app-version { color: var(--color-text-maxcontrast); } -.app-settings-content { - #searchresults { - display: none; - } - -} - #apps-list.store { .section { border: 0; @@ -618,10 +579,6 @@ span.version { opacity: 0.5; } - .app-score-image { - height: 14px; - } - .actions { margin-top: 10px; @@ -631,64 +588,6 @@ span.version { } } -#app-sidebar #app-details-view { - h2 { - .icon-settings-dark, - svg { - display: inline-block; - width: 16px; - height: 16px; - margin-right: 10px; - opacity: .7; - } - } - - .app-author, .app-licence { - color: var(--color-text-maxcontrast); - } - - .app-dependencies { - margin: 10px 0; - } - - .app-description p { - margin: 10px 0; - } - - .close { - position: absolute; - top: 0; - right: 0; - padding: 14px; - opacity: 0.5; - z-index: 1; - width: 44px; - height: 44px; - } - - .actions { - display: flex; - align-items: center; - - .app-groups { - padding: 5px; - } - } - - .appslink { - text-decoration: underline; - margin-right: 5px; - } - - .app-level, - .actions, - .documentation, - .app-dependencies, - .app-description { - margin: 20px 0; - } -} - @media only screen and (min-width: 1601px) { .store .section { width: 25%; @@ -746,12 +645,6 @@ span.version { } } -@media only screen and (max-width: 500px) { - .apps-list.installed .app-groups { - display: none !important; - } -} - .section { margin-bottom: 0; /* section divider lines, none needed for last one */ @@ -771,11 +664,6 @@ span.version { } } -.followupsection { - display: block; - padding: 0 30px 30px 30px; -} - .app-image { position: relative; height: 150px; @@ -783,37 +671,6 @@ span.version { overflow: hidden; } -.app-description-toggle-show, .app-description-toggle-hide { - clear: both; - padding: 7px 0; - cursor: pointer; - opacity: .5; -} - -.app-description-container { - clear: both; - position: relative; - top: 7px; -} - -.app-description { - clear: both; -} - -#app-category-1 { - margin-bottom: 18px; -} - -/* capitalize 'Other' category */ - -#app-category-925 { - text-transform: capitalize; -} - -.app-dependencies { - color: #ce3702; -} - .missing-dependencies { list-style: initial; list-style-type: initial; @@ -884,14 +741,6 @@ span.version { } - .groups-enable { - margin-top: 0; - - label { - margin-right: 3px; - } - } - .app-image { width: 44px; height: auto; @@ -932,78 +781,14 @@ span.version { flex-wrap: wrap; align-content: flex-start; - &.hidden { - display: none; - } - .section { position: relative; flex: 0 0 auto; - h2.app-name { - display: block; - margin: 8px 0; - } - &:hover { background-color: var(--color-background-dark); } } - - .app-description { - p { - margin: 10px 0; - } - - ul { - list-style: disc; - } - - ol { - list-style: decimal; - - ol, ul { - padding-left: 15px; - } - } - - > { - ul, ol { - margin-left: 19px; - } - } - - ul { - ol, ul { - padding-left: 15px; - } - } - } - - /* Bundle header */ - .apps-header { - position: relative; - - div { - display: table-cell; - height: 70px; - } - - h2 { - padding-left: 6px; - padding-top: 15px; - margin-bottom: 12px; - .enable { - position: relative; - top: -1px; - margin-left: 12px; - } - - + .section { - margin-top: 50px; - } - } - } } // Display buttons above each other on mobile diff --git a/apps/settings/src/components/AppList.vue b/apps/settings/src/components/AppList.vue index be5e6bd03e6..d27e466f4d8 100644 --- a/apps/settings/src/components/AppList.vue +++ b/apps/settings/src/components/AppList.vue @@ -39,7 +39,7 @@ </div> <transition-group name="app-list" tag="table" class="apps-list-container"> - <tr key="app-list-view-header" class="apps-header"> + <tr key="app-list-view-header"> <th> <span class="hidden-visually">{{ t('settings', 'Icon') }}</span> </th> @@ -65,7 +65,7 @@ <table v-if="useBundleView" class="apps-list-container"> - <tr key="app-list-view-header" class="apps-header"> + <tr key="app-list-view-header"> <th id="app-table-col-icon"> <span class="hidden-visually">{{ t('settings', 'Icon') }}</span> </th> @@ -133,8 +133,6 @@ <div id="app-list-empty-icon" class="icon-settings-dark" /> <h2>{{ t('settings', 'No apps found for your version') }}</h2> </div> - - <div id="searchresults" /> </div> </template> |