Sha256: d5a66db819859b19a1a0bbcacc992ddf79f3f336cafc8ec03e530ca03ea301ba

Contents?: true

Size: 1.9 KB

Versions: 3

Compression:

Stored size: 1.9 KB

Contents

$font-size-base: 0.9rem;

@import 'bootstrap_pre';
@import 'bootstrap_overrides';
@import 'bootstrap_post';
@import 'border_radius';

@import './../../pg_engine/app/assets/stylesheets/pg_rails_b5';
@import './../../pg_associable/app/assets/stylesheets/pg_associable';
@import './../../pg_layout/app/assets/stylesheets/sidebar';
@import './../../pg_layout/app/assets/stylesheets/animations';

@import 'bootstrap-icons/font/bootstrap-icons';

@import 'trix/dist/trix';
@import 'tom-select/dist/scss/tom-select.bootstrap5';

// Tom Select
.ts-control {
  padding-top: 2px!important;
  padding-bottom: 2px!important;
  display: flex;
  gap: 4px;
}
.input-group-sm > .ts-wrapper.multi.has-items .ts-control, .ts-wrapper.form-select-sm.multi.has-items .ts-control, .ts-wrapper.form-control-sm.multi.has-items .ts-control {
	padding-top: 2px!important;
}
.ts-wrapper.multi .ts-control > div {
	margin: 0!important;
}
.ts-control:not(.rtl) {
	padding-right: 0.75rem !important;
}

// Column truncate
$values: 0, 10, 20, 30, 40, 50, 60, 70, 80, 90, 100;

@for $i from 1 through length($values) {
  $value: nth($values, $i);
  $perc: #{percenage($value)};

  .column-truncate-#{$value} {
    max-width: 0;
    width: percentage($value * 0.01);
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    min-width: 30em * $value * 0.01;

    // TODO: con css grid esto se debería poder hacer mejor
    // además, el pg_asociable directamente se rompe
    &:has(form) {
      min-width: 28em;
      overflow: initial;
    }
  }
}

// Buttons border in nav toolbar
$warning-border-emphasis:   shade-color($yellow, 60%);
.btn-toolbar .btn-warning {
  border: 1px solid $warning-border-emphasis;
}

$light-border-emphasis:   shade-color($light, 60%);
.btn-toolbar .btn-light {
  border: 1px solid $light-border-emphasis;
}

// .listado tr:has(td:hover):has(.bi-eye-fill) td {
// 	background-color: #f2f2f2;
// 	cursor: pointer;
// }

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
pg_rails-7.6.24.pre.5 pg_rails/scss/pg_rails.scss
pg_rails-7.6.24.pre.4 pg_rails/scss/pg_rails.scss
pg_rails-7.6.24.pre.3 pg_rails/scss/pg_rails.scss