~c-lobrano/ubuntu-themes/bug-1721102

« back to all changes in this revision

Viewing changes to Ambiance/gtk-3.20/gtk-widgets.css

  • Committer: Bileto Bot
  • Author(s): Carlo Lobrano
  • Date: 2017-09-18 18:24:38 UTC
  • mfrom: (553.4.1 bug-1708141)
  • Revision ID: ci-train-bot@canonical.com-20170918182438-keewsjzsyjy3ax7r
Added support for vertically linked buttons

Currently both Ambiance and Radiance themes use horizontal
linked button style for even for the vertically linked buttons.

This patch fixes this introducing css styling for verical
linked button first, last and only child. (LP: #1708141)

Approved by: Marco Trevisan (Treviño)

Show diffs side-by-side

added added

removed removed

Lines of Context:
312
312
    box-shadow: none;
313
313
}
314
314
 
 
315
.linked.vertical button:first-child {
 
316
    border-image-width: 10px 10px 0 10px;
 
317
    border-width: 1px;
 
318
    border-radius: 0;
 
319
}
 
320
 
 
321
.linked.vertical button:only-child {
 
322
    border-image-width: 10px;
 
323
    border-width: 1px;
 
324
    border-radius: 0;
 
325
}
 
326
 
 
327
.linked.vertical button:last-child {
 
328
    border-image-width: 0 10px 10px 10px;
 
329
    border-width: 1px;
 
330
    border-radius: 0;
 
331
}
 
332
 
315
333
*:link,
316
334
*:visited {
317
335
  color: @link_color;