Skip to content
Snippets Groups Projects
Commit d8671798 authored by Elmar Ludwig's avatar Elmar Ludwig
Browse files

drop special CSS for document tables, remove extra spacing, fixes #1728

Closes #1728

Merge request studip/studip!1126
parent f3caade7
No related branches found
No related tags found
No related merge requests found
...@@ -55,6 +55,10 @@ if (Request::get('to_folder_id')) { ...@@ -55,6 +55,10 @@ if (Request::get('to_folder_id')) {
<? if ($top_folder): ?> <? if ($top_folder): ?>
<table class="default"> <table class="default">
<colgroup>
<col style="width: 36px;">
<col>
</colgroup>
<thead> <thead>
<tr> <tr>
<th><?= _('Typ') ?></th> <th><?= _('Typ') ?></th>
......
...@@ -68,9 +68,13 @@ $buttonLabels = [ ...@@ -68,9 +68,13 @@ $buttonLabels = [
<? if ($top_folder) : ?> <? if ($top_folder) : ?>
<table class="default"> <table class="default">
<colgroup>
<col style="width: 36px;">
<col>
</colgroup>
<thead> <thead>
<tr> <tr>
<th width="25px"><?= _('Typ') ?></th> <th><?= _('Typ') ?></th>
<th><?= _('Name') ?></th> <th><?= _('Name') ?></th>
</tr> </tr>
</thead> </thead>
......
...@@ -429,31 +429,9 @@ form.default fieldset.select_terms_of_use { ...@@ -429,31 +429,9 @@ form.default fieldset.select_terms_of_use {
} }
table.documents { table.documents {
td, th {
vertical-align: top;
&:first-child {
padding-left: 8px;
}
}
tr:target { tr:target {
background-color: @activity-color-20; background-color: @activity-color-20;
} }
tbody.subfolders tr, tbody.files tr {
height: 43px;
}
}
/*
For the file and folder table in the selection dialogs
when adding a file or copying/moving things:
*/
td.document-icon {
max-width: 40px;
width: 40px;
} }
......
...@@ -28,7 +28,7 @@ ...@@ -28,7 +28,7 @@
<colgroup> <colgroup>
<col v-if="show_bulk_actions" style="width: 30px"> <col v-if="show_bulk_actions" style="width: 30px">
<col style="width: 60px"> <col style="width: 36px">
<col> <col>
<col style="width: 100px" class="responsive-hidden"> <col style="width: 100px" class="responsive-hidden">
<col v-if="showdownloads" style="width: 100px" class="responsive-hidden"> <col v-if="showdownloads" style="width: 100px" class="responsive-hidden">
...@@ -38,7 +38,7 @@ ...@@ -38,7 +38,7 @@
:key="index" :key="index"
data-filter-ignore data-filter-ignore
class="responsive-hidden"> class="responsive-hidden">
<col style="width: 80px"> <col style="width: 64px">
</colgroup> </colgroup>
<thead> <thead>
<tr class="sortable"> <tr class="sortable">
...@@ -88,7 +88,7 @@ ...@@ -88,7 +88,7 @@
</a> </a>
</th> </th>
<th data-sort="false">{{ $gettext('Aktionen') }}</th> <th class="actions" data-sort="false">{{ $gettext('Aktionen') }}</th>
</tr> </tr>
</thead> </thead>
<tbody v-if="!hasData"> <tbody v-if="!hasData">
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment