Remove fixed table on dashboard and improve input placeholders
This commit is contained in:
@@ -4,7 +4,7 @@
|
|||||||
<?php if ($paginator->isEmpty()): ?>
|
<?php if ($paginator->isEmpty()): ?>
|
||||||
<p class="alert"><?= t('Your are not member of any project.') ?></p>
|
<p class="alert"><?= t('Your are not member of any project.') ?></p>
|
||||||
<?php else: ?>
|
<?php else: ?>
|
||||||
<table class="table-fixed table-small">
|
<table class="table-small">
|
||||||
<tr>
|
<tr>
|
||||||
<th class="column-5"><?= $paginator->order('Id', \Kanboard\Model\ProjectModel::TABLE.'.id') ?></th>
|
<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>
|
<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>
|
||||||
|
|||||||
@@ -4,7 +4,7 @@
|
|||||||
<?php if ($paginator->isEmpty()): ?>
|
<?php if ($paginator->isEmpty()): ?>
|
||||||
<p class="alert"><?= t('There is nothing assigned to you.') ?></p>
|
<p class="alert"><?= t('There is nothing assigned to you.') ?></p>
|
||||||
<?php else: ?>
|
<?php else: ?>
|
||||||
<table class="table-fixed table-small">
|
<table class="table-small">
|
||||||
<tr>
|
<tr>
|
||||||
<th class="column-5"><?= $paginator->order('Id', \Kanboard\Model\TaskModel::TABLE.'.id') ?></th>
|
<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 class="column-20"><?= $paginator->order(t('Project'), 'project_name') ?></th>
|
||||||
|
|||||||
@@ -4,12 +4,12 @@
|
|||||||
<?php if ($paginator->isEmpty()): ?>
|
<?php if ($paginator->isEmpty()): ?>
|
||||||
<p class="alert"><?= t('There is nothing assigned to you.') ?></p>
|
<p class="alert"><?= t('There is nothing assigned to you.') ?></p>
|
||||||
<?php else: ?>
|
<?php else: ?>
|
||||||
<table class="table-fixed table-small">
|
<table class="table-small">
|
||||||
<tr>
|
<tr>
|
||||||
<th class="column-5"><?= $paginator->order('Id', \Kanboard\Model\TaskModel::TABLE.'.id') ?></th>
|
<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 class="column-20"><?= $paginator->order(t('Project'), 'project_name') ?></th>
|
||||||
<th><?= $paginator->order(t('Task'), \Kanboard\Model\TaskModel::TABLE.'.title') ?></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-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('Due date'), \Kanboard\Model\TaskModel::TABLE.'.date_due') ?></th>
|
||||||
<th class="column-10"><?= $paginator->order(t('Column'), 'column_title') ?></th>
|
<th class="column-10"><?= $paginator->order(t('Column'), 'column_title') ?></th>
|
||||||
|
|||||||
2
assets/css/app.min.css
vendored
2
assets/css/app.min.css
vendored
File diff suppressed because one or more lines are too long
@@ -1,4 +1,5 @@
|
|||||||
@import variables
|
@import variables
|
||||||
|
@import mixins
|
||||||
|
|
||||||
form
|
form
|
||||||
margin-bottom: 20px
|
margin-bottom: 20px
|
||||||
@@ -20,6 +21,8 @@ input
|
|||||||
font-family: sans-serif
|
font-family: sans-serif
|
||||||
margin-top: 10px
|
margin-top: 10px
|
||||||
+appearance
|
+appearance
|
||||||
|
@include placeholder
|
||||||
|
color: color('lighter')
|
||||||
&[type="number"]:focus, &[type="date"]:focus, &[type="email"]:focus, &[type="password"]:focus, &[type="text"]:focus
|
&[type="number"]:focus, &[type="date"]:focus, &[type="email"]:focus, &[type="password"]:focus, &[type="text"]:focus
|
||||||
color: color('dark')
|
color: color('dark')
|
||||||
border-color: rgba(82, 168, 236, 0.8)
|
border-color: rgba(82, 168, 236, 0.8)
|
||||||
@@ -63,11 +66,6 @@ select
|
|||||||
span.select2-container
|
span.select2-container
|
||||||
margin-top: 2px
|
margin-top: 2px
|
||||||
|
|
||||||
\::-webkit-input-placeholder, ::-ms-input-placeholder, ::-moz-placeholder
|
|
||||||
color: color('light')
|
|
||||||
opacity: 0.2
|
|
||||||
padding-top: 2px
|
|
||||||
|
|
||||||
.form-actions
|
.form-actions
|
||||||
padding-top: 20px
|
padding-top: 20px
|
||||||
clear: both
|
clear: both
|
||||||
|
|||||||
@@ -27,3 +27,13 @@
|
|||||||
|
|
||||||
@mixin grid_width($width)
|
@mixin grid_width($width)
|
||||||
width: $width * 100%
|
width: $width * 100%
|
||||||
|
|
||||||
|
@mixin placeholder
|
||||||
|
&::-webkit-input-placeholder
|
||||||
|
@content
|
||||||
|
&:-moz-placeholder
|
||||||
|
@content
|
||||||
|
&::-moz-placeholder
|
||||||
|
@content
|
||||||
|
&:-ms-input-placeholder
|
||||||
|
@content
|
||||||
|
|||||||
@@ -2,7 +2,7 @@ $xs-device-width: 480px
|
|||||||
$sm-device-width: 768px
|
$sm-device-width: 768px
|
||||||
$md-device-width: 1150px
|
$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)
|
$link-colors: ('primary': #3366CC, 'focus': #DF5353, 'hover': #333)
|
||||||
$background-colors: ('primary': #fbfbfb, 'light': #fcfcfc)
|
$background-colors: ('primary': #fbfbfb, 'light': #fcfcfc)
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user