minor #16628 [WebProfilerBundle] Added a top left border radius to the minified to… (Jelle Kapitein)

This PR was squashed before being merged into the 2.8 branch (closes #16628).

Discussion
----------

[WebProfilerBundle] Added a top left border radius to the minified to…

| Q             | A
| ------------- | ---
| Bug fix?      | no
| New feature?  | no
| BC breaks?    | no
| Deprecations? | no
| Tests pass?   | yes
| Fixed tickets | N/A
| License       | MIT
| Doc PR        | N/A

The minified toolbar (to us at least) looked very out of place in all of our projects. Adding a border radius to the top left fixes that.

Chrome 46
![schermafbeelding 2015-11-23 om 09 29 06](https://cloud.githubusercontent.com/assets/6209772/11332470/41240b96-91c6-11e5-9d03-4738ff213295.png)

Firefox 42
![schermafbeelding 2015-11-23 om 09 29 53](https://cloud.githubusercontent.com/assets/6209772/11332476/55fbf574-91c6-11e5-898b-1ba2590a813b.png)

Safari 9
![schermafbeelding 2015-11-23 om 09 30 33](https://cloud.githubusercontent.com/assets/6209772/11332485/6351525a-91c6-11e5-8cbc-14b7efd82ce0.png)

Cannot test on IE/Edge at the moment, will be able to later today.

(The screenshots do not have commit 0459912523)

Commits
-------

ca9f446 [WebProfilerBundle] Added a top left border radius to the minified to…
This commit is contained in:
Fabien Potencier 2015-11-23 10:30:31 +01:00
commit 43d82e7845
1 changed files with 4 additions and 0 deletions

View File

@ -1,5 +1,6 @@
.sf-minitoolbar {
background-color: #222;
border-top-left-radius: 4px;
bottom: 0;
display: none;
height: 30px;
@ -8,6 +9,7 @@
right: 0;
z-index: 99999;
}
.sf-minitoolbar a {
display: block;
}
@ -357,6 +359,8 @@
/* Override the setting when the toolbar is on the top */
{% if position == 'top' %}
.sf-minitoolbar {
border-bottom-left-radius: 4px;
border-top-left-radius: 0;
bottom: auto;
right: 0;
top: 0;