##// END OF EJS Templates
fix(db-models): fixed sqlalchemy warnings in DB models.
fix(db-models): fixed sqlalchemy warnings in DB models.

File last commit:

r4511:c6ccda60 stable
r5293:64e9d258 default
Show More
tables.less
575 lines | 9.8 KiB | text/x-less | LessCssLexer
project: added all source files and assets
r1
// tables.less
// For use in RhodeCode application tables;
// see style guide documentation for guidelines.
// TABLES
tables: unified tables for main pages of rhodecode repo pages.
r4511 table.rctable.table-bordered {
border: 1px solid #eaeaea;
border-radius: 2px;
border-collapse: inherit;
border-bottom: 0;
th {
background: @grey7;
border-bottom: 0;
}
td {
border-color: #eaeaea;
}
td.td-status {
padding: 0 0 0 10px;
}
}
project: added all source files and assets
r1
.rctable,
table.rctable,
table.dataTable {
clear:both;
width: 100%;
margin: 0 auto @padding;
padding: 0;
vertical-align: baseline;
line-height:1.5em;
border: none;
outline: none;
border-collapse: collapse;
border-spacing: 0;
color: @grey2;
b {
font-weight: normal;
}
em {
font-weight: bold;
font-style: normal;
}
ui: make the admin grids display nicer withour wrapping users/emails.
r4093 .td-user {
.rc-user {
white-space: nowrap;
}
dan
permissions: explain better what is inactive duplicate in permissions, sort them to last positions, and make them less visible.
r4417 .user-perm-duplicate {
color: @grey4;
a {
color: @grey4;
}
}
ui: make the admin grids display nicer withour wrapping users/emails.
r4093 }
.td-email {
white-space: nowrap;
}
project: added all source files and assets
r1 th,
td {
height: auto;
max-width: 20%;
Liviu
files view changes: moved add file, download and search to the right, added paddings and margins
r3695 padding: .65em 0 .65em 1em;
project: added all source files and assets
r1 vertical-align: middle;
border-bottom: @border-thickness solid @grey5;
white-space: normal;
&.td-radio,
&.td-checkbox {
padding-right: 0;
text-align: center;
input {
margin: 0 1em;
}
}
&.truncate-wrap {
white-space: nowrap !important;
}
pre {
margin: 0;
}
.show_more {
height: inherit;
}
}
.expired td {
background-color: @grey7;
}
auth-plugins: indicate activate and not-enabled plugin with gre6;
r3285 .inactive td {
background-color: @grey6;
}
project: added all source files and assets
r1 th {
text-align: left;
style: bring back bold font style.
r3186 font-weight: @text-semibold-weight;
project: added all source files and assets
r1 font-family: @text-semibold;
}
.hl {
td {
background-color: lighten(@alert4,25%);
}
}
// Special Data Cell Types
// See style guide for desciptions and examples.
td {
&.user {
padding-left: 1em;
}
&.td-rss {
width: 20px;
min-width: 0;
margin: 0;
}
&.quick_repo_menu {
width: 15px;
text-align: center;
&:hover {
background-color: @grey5;
}
}
artifacts: updated CE code for this EE feature.
r3675 &.td-icon {
min-width: 20px;
width: 20px;
}
project: added all source files and assets
r1 &.td-hash {
min-width: 80px;
width: 200px;
mercurial-evolve: enable evolve setting on repositories.
r1738
.obsolete {
text-decoration: line-through;
color: lighten(@grey2,25%);
}
project: added all source files and assets
r1 }
comments: added support for adding comment attachments using the artifacts logic....
r3973 &.td-sha {
white-space: nowrap;
}
dan
commits: new commits page based on new UI
r3758 &.td-graphbox {
ui: fixed commits page details
r3771 width: 100px;
max-width: 100px;
min-width: 100px;
dan
commits: new commits page based on new UI
r3758 }
project: added all source files and assets
r1 &.td-time {
width: 160px;
white-space: nowrap;
}
&.annotate{
padding-right: 0;
dan
ux: show multiple tags/branches in changelog/summary instead of truncating
r786
project: added all source files and assets
r1 div.annotatediv{
margin: 0 0.7em;
}
}
&.tags-col {
padding-right: 0;
}
&.td-description {
min-width: 350px;
meta-tags: fixes #4305, metatags are not taken into account when truncating output....
r1102
&.truncate, .truncate-wrap {
white-space: nowrap;
overflow: hidden;
text-overflow: ellipsis;
datagrids: don't expand over the site width.
r3166 max-width: 350px;
meta-tags: fixes #4305, metatags are not taken into account when truncating output....
r1102 }
project: added all source files and assets
r1 }
ui: normalize main grid sizes and columns
r3557 &.td-grid-name {
white-space: nowrap;
min-width: 300px;
}
project: added all source files and assets
r1 &.td-componentname {
white-space: nowrap;
}
perms-summary: fix long names overflow....
r2008 &.td-name {
}
project: added all source files and assets
r1 &.td-journalaction {
min-width: 300px;
dan
ux: show multiple tags/branches in changelog/summary instead of truncating
r786 .journal_action_params {
project: added all source files and assets
r1 // waiting for feedback
}
}
&.td-active {
padding-left: .65em;
}
dan
issue-tracker: moved example to the input box...
r4111 &.td-issue-tracker-name {
width: 180px;
input {
width: 180px;
}
}
&.td-issue-tracker-regex {
white-space: nowrap;
min-width: 300px;
input {
min-width: 300px;
}
}
project: added all source files and assets
r1 &.td-url {
white-space: nowrap;
}
&.td-comments {
min-width: 3em;
}
&.td-buttons {
padding: .3em 0;
}
dan
ui: introduce user-bookmarks for creation of quick shortcuts
r3424 &.td-align-top {
vertical-align: text-top
}
project: added all source files and assets
r1 &.td-action {
// this is for the remove/delete/edit buttons
padding-right: 0;
min-width: 95px;
text-transform: capitalize;
i {
display: none;
}
}
// TODO: lisa: this needs to be cleaned up with the buttons
.grid_edit,
.grid_delete {
display: inline-block;
margin: 0 @padding/3 0 0;
font-family: @text-light;
i {
display: none;
}
}
.grid_edit + .grid_delete {
border-left: @border-thickness solid @grey5;
padding-left: @padding/2;
}
&.td-compare {
input {
margin-right: 1em;
}
.compare-radio-button {
margin: 0 1em 0 0;
}
}
&.td-tags {
padding: .5em 1em .5em 0;
dan
ux: show multiple tags/branches in changelog/summary instead of truncating
r786 width: 140px;
project: added all source files and assets
r1
.tag {
margin: 1px;
dan
ux: show multiple tags/branches in changelog/summary instead of truncating
r786 float: left;
project: added all source files and assets
r1 }
}
.icon-svn, .icon-hg, .icon-git {
font-size: 1.4em;
}
&.collapse_commit,
&.expand_commit {
padding-right: 0;
padding-left: 1em;
commits: unified expand commit logic and UI....
r3187 cursor: pointer;
width: 20px;
project: added all source files and assets
r1 }
}
.perm_admin_row {
color: @grey4;
background-color: @grey6;
}
.noborder {
border: none;
td {
border: none;
}
}
}
tables: unified tables for main pages of rhodecode repo pages.
r4511
audit-logs: allow showing individual entries for audit log.
r2110 .rctable.audit-log {
td {
vertical-align: top;
}
}
project: added all source files and assets
r1
tables: unified tables for main pages of rhodecode repo pages.
r4511
project: added all source files and assets
r1 // TRUNCATING
// TODO: lisaq: should this possibly be moved out of tables.less?
// for truncated text
// used inside of table cells and in code block headers
.truncate-wrap {
white-space: nowrap !important;
//truncated text
.truncate {
max-width: 450px;
width: 300px;
overflow: hidden;
text-overflow: ellipsis;
-o-text-overflow: ellipsis;
-ms-text-overflow: ellipsis;
&.autoexpand {
width: 120px;
margin-right: 200px;
}
}
&:hover .truncate.autoexpand {
overflow: visible;
}
.tags-truncate {
width: 150px;
height: 22px;
overflow: hidden;
dan
ux: show multiple tags/branches in changelog/summary instead of truncating
r786
project: added all source files and assets
r1 .tag {
display: inline-block;
}
dan
ux: show multiple tags/branches in changelog/summary instead of truncating
r786
project: added all source files and assets
r1 &.truncate {
height: 22px;
max-height:2em;
width: 140px;
}
}
}
.apikeys_wrap {
margin-bottom: @padding;
table.rctable td:first-child {
users: added more secure way for fetching authentication tokens....
r4316 width: 120px;
project: added all source files and assets
r1 }
}
// SPECIAL CASES
// Repository Followers
table.rctable.followers_data {
width: 75%;
margin: 0;
}
// Repository List
// Group Members List
table.rctable.group_members,
table#repo_list_table {
min-width: 600px;
}
dan
main-page: fixed jumping of text in grid loading....
r4185 #no_grid_data {
text-align: center;
}
#grid_data_loading {
text-align: center;
font-weight: 600;
font-size: 16px;
padding: 80px 20px;
}
project: added all source files and assets
r1 // Keyboard mappings
table.keyboard-mappings {
th {
text-align: left;
style: bring back bold font style.
r3186 font-weight: @text-semibold-weight;
project: added all source files and assets
r1 font-family: @text-semibold;
}
}
// Branches, Tags, and Bookmarks
#obj_list_table.dataTable {
td.td-time {
padding-right: 1em;
}
}
// User Admin
.rctable.useremails,
.rctable.account_emails {
.tag,
.btn {
float: right;
}
.btn { //to line up with tags
margin-right: 1.65em;
}
}
// User List
#user_list_table {
td.td-user {
min-width: 100px;
}
}
// Settings (no border)
table.rctable.dl-settings {
td {
border: none;
license: update license metadata and generation code
r3073 vertical-align: baseline;
project: added all source files and assets
r1 }
}
// Statistics
table.trending_language_tbl {
width: 100%;
line-height: 1em;
td div {
overflow: visible;
}
}
.trending_language_tbl, .trending_language_tbl td {
border: 0;
margin: 0;
padding: 0;
background: transparent;
}
.trending_language_tbl, .trending_language_tbl tr {
border-spacing: 0 3px;
}
.trending_language {
position: relative;
overflow: hidden;
summary: re-organize order of summary expanded area...
r3657 color: @text-color;
width: 400px;
project: added all source files and assets
r1
summary: re-organize order of summary expanded area...
r3657 .lang-bar {
project: added all source files and assets
r1 z-index: 1;
overflow: hidden;
background-color: @rcblue;
color: #FFF;
text-decoration: none;
}
}
// Changesets
#changesets.rctable {
// td must be fixed height for graph
td {
height: 32px;
padding: 0 1em 0 0;
vertical-align: middle;
white-space: nowrap;
&.td-description {
white-space: normal;
}
&.expand_commit {
padding-right: 0;
commits: unified expand commit logic and UI....
r3187 cursor: pointer;
width: 20px;
project: added all source files and assets
r1 }
}
}
dan
ux: show multiple tags/branches in changelog/summary instead of truncating
r786 // Compare
project: added all source files and assets
r1 table.compare_view_commits {
margin-top: @space;
td.td-time {
padding-left: .5em;
}
pull-requests: updated versioning support....
r1268 // special case to not show hover actions on hidden indicator
tr.compare_select_hidden:hover {
cursor: inherit;
td {
background-color: inherit;
}
}
project: added all source files and assets
r1 tr:hover {
cursor: pointer;
td {
background-color: lighten(@alert4,25%);
}
}
pull-requests: updated versioning support....
r1268
project: added all source files and assets
r1 }
.file_history {
td.td-actions {
text-align: right;
}
}
// Gist List
#gist_list_table {
td {
vertical-align: middle;
div{
display: inline-block;
vertical-align: middle;
}
img{
vertical-align: middle;
}
dan
gists: cleanup UI and make the gist access id use monospace
r4193
&.td-expire {
width: 200px;
}
&.td-gist-type {
width: 100px;
}
project: added all source files and assets
r1 }
}