From 09329c5fc94ffe156457e1725caf090890266963 Mon Sep 17 00:00:00 2001 From: Felix Niklas Date: Mon, 29 Jun 2015 17:30:08 +0200 Subject: [PATCH] add btn--dropdown that turns the button into a dropdown has to contain a select element for that. its for inline text buttons, so no arrow for now --- app/assets/stylesheets/zammad.css.scss | 15 +++++++++++++++ 1 file changed, 15 insertions(+) diff --git a/app/assets/stylesheets/zammad.css.scss b/app/assets/stylesheets/zammad.css.scss index d89ec03e8..4b9106237 100644 --- a/app/assets/stylesheets/zammad.css.scss +++ b/app/assets/stylesheets/zammad.css.scss @@ -445,6 +445,20 @@ span[data-tooltip]:hover:before { &.btn--split--last { border-radius: 0 3px 3px 0; } + + &.btn--dropdown { + position: relative; + + select { + opacity: 0; + width: 100%; + height: 100%; + left: 0; + top: 0; + position: absolute; + cursor: pointer; + } + } } .btn + .btn { @@ -722,6 +736,7 @@ h3 { letter-spacing: 0.07em; .subtitle { + display: inline; font-size: 12px; text-transform: none; color: hsl(0,0%,60%);