Commit graph

16 commits

Author SHA1 Message Date
Fatih Acet
709c7009e5 Merge branch 'full-width-new-snippet-button' into 'master'
Added full-width new snippet button on mobile and corrected capitalization

## What does this MR do?

Adds full-width `New snippet` button to snippet mobile views and corrects `New Snippet` to `New snippet` throughout.

## Are there points in the code the reviewer needs to double check?

## Why was this MR needed?

@connorshea Spotted that I missed this in !6210 :)

## Screenshots (if relevant)

![Screen_Shot_2016-09-16_at_10.40.21](/uploads/ddca2da3a5ef787298bfc87e129db820/Screen_Shot_2016-09-16_at_10.40.21.png)

## Does this MR meet the acceptance criteria?

- [ ] [CHANGELOG](https://gitlab.com/gitlab-org/gitlab-ce/blob/master/CHANGELOG) entry added
- [ ] [Documentation created/updated](https://gitlab.com/gitlab-org/gitlab-ce/blob/master/doc/development/doc_styleguide.md)
- [ ] API support added
- Tests
  - [ ] Added for this feature/bug
  - [ ] All builds are passing
- [ ] Conform by the [merge request performance guides](http://docs.gitlab.com/ce/development/merge_request_performance_guidelines.html)
- [ ] Conform by the [style guides](https://gitlab.com/gitlab-org/gitlab-ce/blob/master/CONTRIBUTING.md#style-guides)
- [ ] Branch has no merge conflicts with `master` (if you do - rebase it please)
- [ ] [Squashed related commits together](https://git-scm.com/book/en/Git-Tools-Rewriting-History#Squashing-Commits)

## What are the relevant issue numbers?

See merge request !6380
2016-09-26 21:09:19 +00:00
Fatih Acet
a6e91b1669 Fix styling of award emoji block for snippets after upstream design changes. 2016-09-19 20:15:01 +03:00
Luke Bennett
9abd871a03
Added full-width new snippet button on mobile and corrected capitalization
Altered specs that click capitalised New Snippet button

Applied review feedback missed in  Changes `.no-comment` `opactiy: 0.5` to `opacity: .5`

Added `.btn-wide-on-xs` and applied to snippet buttons
2016-09-18 16:33:33 +01:00
Luke Bennett
56461e0c16
Reordered dropdown options
Rearranged datetime created line

Added `avatar_class` option to `link_to_member` so it can be hidden

Made snippet title font heavier

Added file title  bar

Hidden unneeded info from xs screens

Added visibility icon

Reveal file-actions on xs screens

Added comments icon to snippets list items

Refactored no-comments declaration into framework stylesheet

Final touch ups

Fixed snippets_spec
2016-09-07 15:12:03 +01:00
Phil Hughes
da5f0b9119 Updated snippets UI
Closes #14328
2016-05-18 14:11:06 +01:00
Phil Hughes
704f468376 Replaced hidden div for textarea off-the screen
Element with the content being copied cant be hidden so instead i\'ve moved it off the screen
2016-03-10 13:34:31 +00:00
Phil Hughes
5b621e1bb5 Snippet visibility badge spacing
Closes #14074
2016-03-08 08:41:01 +00:00
Dmitriy Zaporozhets
82064a7c1a Refactor css for snippets list
Signed-off-by: Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com>
2016-02-26 14:44:39 +01:00
Robert Speicher
cbac31d923 Add copy-to-clipboard button to Snippets#show
Closes #3701
2015-12-09 14:54:54 -05:00
Douwe Maan
d5fd9b26b1 Remove style duplication between snippet and issue detail pages 2015-12-02 14:50:12 +01:00
Douwe Maan
946f00ed7f Update style of snippets pages 2015-10-18 13:03:26 +02:00
Douwe Maan
b371b6d139 Update style of snippet detail page 2015-10-18 12:54:02 +02:00
Han Loong Liauw
1f92c22fec New snippet design for projects
Split out header into shared partial
Used action partials to have unique actions for shared and personal
snippets
changed back to created date in list view
Switched to using existing color classes
2015-10-14 23:53:52 +11:00
Han Loong Liauw
de026375fc Updated the style of the snippets header in #show
It should now more closly match the styles used in
issues and merge requests with some small tweaks
to be more relevant to snippets
2015-10-14 19:41:12 +11:00
Dmitriy Zaporozhets
4ac7f5c949
Restyle snippets rendering
Signed-off-by: Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com>
2015-08-27 00:00:06 +02:00
Dmitriy Zaporozhets
887cf5c710 Better name for pages css dir 2015-03-06 21:40:23 -08:00
Renamed from app/assets/stylesheets/sections/snippets.scss (Browse further)