Merge branch 'interface' of github.com:martini/zammad into interface

This commit is contained in:
Martin Edenhofer 2014-09-29 13:14:56 +02:00
commit 2f19b27ecf
6 changed files with 119 additions and 71 deletions

View file

@ -1,3 +1,4 @@
<div class="tabsSidebar-holder">
<div class="main no-padding flex tabsSidebarSpace"> <div class="main no-padding flex tabsSidebarSpace">
<div class="newTicket"> <div class="newTicket">
<div class="box"> <div class="box">
@ -44,6 +45,7 @@
</div> </div>
<div class="tabsSidebar vertical"></div> <div class="tabsSidebar vertical"></div>
</div>
<!-- <!--
<div class="sidebar"> <div class="sidebar">
<div class="widgets"> <div class="widgets">

View file

@ -1,3 +1,4 @@
<div class="tabsSidebar-holder flex horizontal">
<div class="main flex tabsSidebarSpace"> <div class="main flex tabsSidebarSpace">
<h1>content</h1> <h1>content</h1>
@ -15,3 +16,4 @@ Maecenas sed diam eget risus varius blandit sit amet non magna. Donec id elit no
</div> </div>
<div class="tabsSidebar vertical"></div> <div class="tabsSidebar vertical"></div>
</div>

View file

@ -1,4 +1,4 @@
<div class="flex vertical"> <div class="tabsSidebar-holder flex vertical">
<div class="flex u-positionOrigin horizontal"> <div class="flex u-positionOrigin horizontal">
<div class="main no-padding flex tabsSidebarSpace"> <div class="main no-padding flex tabsSidebarSpace">
<div class="ticketZoom"> <div class="ticketZoom">

View file

@ -12,7 +12,7 @@
</div> </div>
<div class="userSearch horizontal center"> <div class="userSearch horizontal center">
<input type="text" class="js-search flex" name="search" placeholder="<%- @T('Search for users') %>"> <input type="text" class="js-search form-control flex" name="search" placeholder="<%- @T('Search for users') %>">
<div class="userSearch-label"><%- @T('Filter') %>:</div> <div class="userSearch-label"><%- @T('Filter') %>:</div>
<div class="tabs tabs-wide horizontal"> <div class="tabs tabs-wide horizontal">
<% for role in @roles: %> <% for role in @roles: %>

View file

@ -1,4 +1,4 @@
<div class="flex vertical"> <div class="tabsSidebar-holder flex vertical">
<div class="flex u-positionOrigin horizontal"> <div class="flex u-positionOrigin horizontal">
<div class="main flex tabsSidebarSpace"> <div class="main flex tabsSidebarSpace">
<div class="userZoom"> <div class="userZoom">

View file

@ -441,15 +441,11 @@ textarea,
outline: none; outline: none;
} }
input[type=text]:focus, .form-control:focus {
input[type=password]:focus,
input[type=email]:focus,
textarea:focus {
border-color: hsl(200,71%,59%); border-color: hsl(200,71%,59%);
box-shadow: 0 0 0 3px hsl(201,62%,90%); box-shadow: 0 0 0 3px hsl(201,62%,90%);
} }
.form-control:focus,
.tokenfield.focus { .tokenfield.focus {
box-shadow: none; box-shadow: none;
border-color: hsl(0,0%,90%); border-color: hsl(0,0%,90%);
@ -1619,7 +1615,6 @@ footer {
right: 0; right: 0;
top: 0; top: 0;
width: 50px; width: 50px;
padding-left: 12px;
height: 100%; height: 100%;
visibility: hidden; visibility: hidden;
} }
@ -2380,6 +2375,7 @@ footer {
} }
.ticket-title h1 { .ticket-title h1 {
max-width: 350px;
margin-top: 15px; margin-top: 15px;
margin-bottom: 8px; margin-bottom: 8px;
text-align: center; text-align: center;
@ -2844,6 +2840,11 @@ footer {
margin-right: 0; margin-right: 0;
} }
.tabsSidebar-holder {
overflow: hidden;
position: relative;
}
.tabsSidebar .sidebar { .tabsSidebar .sidebar {
width: 280px; width: 280px;
border-left: 1px solid #e6e6e6; border-left: 1px solid #e6e6e6;
@ -3439,19 +3440,19 @@ footer {
} }
[contenteditable] { [contenteditable] {
margin: -1px;
display: block; display: block;
white-space: pre-wrap; white-space: pre-wrap;
outline-style: none; outline-style: none;
} border: 1px solid transparent;
[contenteditable]:hover, [contenteditable]:focus {
margin: -1px;
border: 1px dotted hsl(145,51%,45%);
border-radius: 3px; border-radius: 3px;
} }
[contenteditable]:hover,
[contenteditable]:focus {
border-color: hsl(145,51%,45%);
}
[contenteditable].invalid { [contenteditable].invalid {
margin: -1px; border-color: #F92;
border: 1px dotted #F92;
border-radius: 3px;
} }
[contenteditable] > .placeholder { [contenteditable] > .placeholder {
color: #999; color: #999;
@ -3473,6 +3474,49 @@ footer {
margin: 0; margin: 0;
} }
.nav-tabs {
border-bottom: none;
}
.nav-tabs li {
margin: 0;
}
.nav-tabs > li > a,
.nav-tabs > li > a:hover,
.nav-tabs > li > a:focus {
background: white;
border-radius: 0;
border: 1px solid hsl(0,0%,90%);
color: hsl(0,0%,70%);
height: 40px;
margin: 0;
}
.nav-tabs > li:not(:last-child):not(:only-child) > a {
border-right: none;
}
.nav-tabs > li:first-child > a {
border-radius: 5px 0 0 5px;
}
.nav-tabs > li:last-child > a {
border-radius: 0 5px 5px 0;
}
.nav-tabs > li:only-child > a {
border-radius: 5px;
}
.nav-tabs > li.active > a,
.nav-tabs > li.active > a:hover,
.nav-tabs > li.active > a:focus {
background: hsl(206,7%,28%);
color: white;
border-color: hsl(0,0%,90%);
}
/* /*
---------------- ----------------