Remove fixed table on dashboard and improve input placeholders

This commit is contained in:
Frederic Guillot 2016-08-13 19:34:21 -04:00
parent 4520026e91
commit a631b76175
No known key found for this signature in database
GPG Key ID: 92D77191BA7FBC99
7 changed files with 19 additions and 11 deletions

View File

@ -4,7 +4,7 @@
<?php if ($paginator->isEmpty()): ?>
<p class="alert"><?= t('Your are not member of any project.') ?></p>
<?php else: ?>
<table class="table-fixed table-small">
<table class="table-small">
<tr>
<th class="column-5"><?= $paginator->order('Id', \Kanboard\Model\ProjectModel::TABLE.'.id') ?></th>
<th class="column-3"><?= $paginator->order('<i class="fa fa-lock fa-fw" title="'.t('Private project').'"></i>', \Kanboard\Model\ProjectModel::TABLE.'.is_private') ?></th>

View File

@ -4,7 +4,7 @@
<?php if ($paginator->isEmpty()): ?>
<p class="alert"><?= t('There is nothing assigned to you.') ?></p>
<?php else: ?>
<table class="table-fixed table-small">
<table class="table-small">
<tr>
<th class="column-5"><?= $paginator->order('Id', \Kanboard\Model\TaskModel::TABLE.'.id') ?></th>
<th class="column-20"><?= $paginator->order(t('Project'), 'project_name') ?></th>

View File

@ -4,12 +4,12 @@
<?php if ($paginator->isEmpty()): ?>
<p class="alert"><?= t('There is nothing assigned to you.') ?></p>
<?php else: ?>
<table class="table-fixed table-small">
<table class="table-small">
<tr>
<th class="column-5"><?= $paginator->order('Id', \Kanboard\Model\TaskModel::TABLE.'.id') ?></th>
<th class="column-20"><?= $paginator->order(t('Project'), 'project_name') ?></th>
<th><?= $paginator->order(t('Task'), \Kanboard\Model\TaskModel::TABLE.'.title') ?></th>
<th class="column-5"><?= $paginator->order(t('Priority'), \Kanboard\Model\TaskModel::TABLE.'.priority') ?></th>
<th class="column-8"><?= $paginator->order(t('Priority'), \Kanboard\Model\TaskModel::TABLE.'.priority') ?></th>
<th class="column-20"><?= t('Time tracking') ?></th>
<th class="column-10"><?= $paginator->order(t('Due date'), \Kanboard\Model\TaskModel::TABLE.'.date_due') ?></th>
<th class="column-10"><?= $paginator->order(t('Column'), 'column_title') ?></th>

File diff suppressed because one or more lines are too long

View File

@ -1,4 +1,5 @@
@import variables
@import mixins
form
margin-bottom: 20px
@ -20,6 +21,8 @@ input
font-family: sans-serif
margin-top: 10px
+appearance
@include placeholder
color: color('lighter')
&[type="number"]:focus, &[type="date"]:focus, &[type="email"]:focus, &[type="password"]:focus, &[type="text"]:focus
color: color('dark')
border-color: rgba(82, 168, 236, 0.8)
@ -63,11 +66,6 @@ select
span.select2-container
margin-top: 2px
\::-webkit-input-placeholder, ::-ms-input-placeholder, ::-moz-placeholder
color: color('light')
opacity: 0.2
padding-top: 2px
.form-actions
padding-top: 20px
clear: both

View File

@ -27,3 +27,13 @@
@mixin grid_width($width)
width: $width * 100%
@mixin placeholder
&::-webkit-input-placeholder
@content
&:-moz-placeholder
@content
&::-moz-placeholder
@content
&:-ms-input-placeholder
@content

View File

@ -2,7 +2,7 @@ $xs-device-width: 480px
$sm-device-width: 768px
$md-device-width: 1150px
$colors: ('primary': #333, 'light': #999, 'dark': #000, 'medium': #555, 'error': #b94a48)
$colors: ('primary': #333, 'light': #999, 'lighter': #dedede, 'dark': #000, 'medium': #555, 'error': #b94a48)
$link-colors: ('primary': #3366CC, 'focus': #DF5353, 'hover': #333)
$background-colors: ('primary': #fbfbfb, 'light': #fcfcfc)