[PR #3065] [MERGED] Remove box-shadow from UI, fix dashboard issue #16742

Closed
opened 2025-11-02 12:18:00 -06:00 by GiteaMirror · 0 comments
Owner

📋 Pull Request Information

Original PR: https://github.com/go-gitea/gitea/pull/3065
Author: @silverwind
Created: 12/2/2017
Status: Merged
Merged: 12/2/2017
Merged by: @lafriks

Base: masterHead: css-tweaks


📝 Commits (2)

  • 9e81629 Remove box-shadow from UI, fix dashboard issue
  • 10297f2 Merge branch 'master' into css-tweaks

📊 Changes

4 files changed (+13 additions, -2 deletions)

View changed files

📝 public/css/index.css (+1 -1)
📝 public/less/_base.less (+6 -0)
📝 public/less/_dashboard.less (+5 -0)
📝 templates/user/dashboard/dashboard.tmpl (+1 -1)

📄 Description

Two tweaks here:

  1. Remove box-shadow from menus and segments. I think it generally looks better this way because most of the UI elements are already flat, and the box-shadowed elements look out-of-place.

Before

screen shot 2017-12-02 at 18 41 40

After

screen shot 2017-12-02 at 18 41 58
  1. Fix a issue where the repo list in the dashboard sidebar was 2px wider than the pill menu above it. The cause of the issue looks to be some hacks in Semantic UI and that added artificial width to that repo box.

Before

screen shot 2017-12-02 at 18 41 04

After

screen shot 2017-12-02 at 18 39 42

🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.

## 📋 Pull Request Information **Original PR:** https://github.com/go-gitea/gitea/pull/3065 **Author:** [@silverwind](https://github.com/silverwind) **Created:** 12/2/2017 **Status:** ✅ Merged **Merged:** 12/2/2017 **Merged by:** [@lafriks](https://github.com/lafriks) **Base:** `master` ← **Head:** `css-tweaks` --- ### 📝 Commits (2) - [`9e81629`](https://github.com/go-gitea/gitea/commit/9e81629d05c310cf72d9d914fe2a739456bd4d5a) Remove box-shadow from UI, fix dashboard issue - [`10297f2`](https://github.com/go-gitea/gitea/commit/10297f2c8ee95f3363012fe7446955522073f32e) Merge branch 'master' into css-tweaks ### 📊 Changes **4 files changed** (+13 additions, -2 deletions) <details> <summary>View changed files</summary> 📝 `public/css/index.css` (+1 -1) 📝 `public/less/_base.less` (+6 -0) 📝 `public/less/_dashboard.less` (+5 -0) 📝 `templates/user/dashboard/dashboard.tmpl` (+1 -1) </details> ### 📄 Description Two tweaks here: 1. Remove box-shadow from menus and segments. I think it generally looks better this way because most of the UI elements are already flat, and the box-shadowed elements look out-of-place. #### Before <img width="1146" alt="screen shot 2017-12-02 at 18 41 40" src="https://user-images.githubusercontent.com/115237/33518250-2675ded2-d792-11e7-8957-9184cbf0eebd.png"> #### After <img width="1139" alt="screen shot 2017-12-02 at 18 41 58" src="https://user-images.githubusercontent.com/115237/33518251-2d88ffa6-d792-11e7-975e-19575048a997.png"> 2. Fix a issue where the repo list in the dashboard sidebar was 2px wider than the pill menu above it. The cause of the issue looks to be some hacks in Semantic UI and that added artificial width to that repo box. #### Before <img width="418" alt="screen shot 2017-12-02 at 18 41 04" src="https://user-images.githubusercontent.com/115237/33518252-35e1d920-d792-11e7-935a-35f6cf99839e.png"> #### After <img width="427" alt="screen shot 2017-12-02 at 18 39 42" src="https://user-images.githubusercontent.com/115237/33518255-3ccb41c2-d792-11e7-90ce-a531b59e3059.png"> --- <sub>🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.</sub>
GiteaMirror added the pull-request label 2025-11-02 12:18:00 -06:00
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: github-starred/gitea#16742