Browse Source

Fix #2258

pull/2269/head
Leandro Roberto 6 years ago
parent
commit
f80df1ec10
  1. 20
      sapl/compilacao/migrations/0009_auto_20180926_1015.py
  2. 2
      sapl/compilacao/models.py
  3. 3
      sapl/static/styles/compilacao.scss

20
sapl/compilacao/migrations/0009_auto_20180926_1015.py

@ -0,0 +1,20 @@
# -*- coding: utf-8 -*-
# Generated by Django 1.9.13 on 2018-09-26 13:15
from __future__ import unicode_literals
from django.db import migrations, models
class Migration(migrations.Migration):
dependencies = [
('compilacao', '0008_auto_20180924_1724'),
]
operations = [
migrations.AlterField(
model_name='tipodispositivo',
name='class_css',
field=models.CharField(blank=True, max_length=256, verbose_name='Classe CSS'),
),
]

2
sapl/compilacao/models.py

@ -602,7 +602,7 @@ class TipoDispositivo(BaseModel):
max_length=50, unique=True, verbose_name=_('Nome'))
class_css = models.CharField(
blank=True,
max_length=20,
max_length=256,
verbose_name=_('Classe CSS'))
rotulo_prefixo_html = models.TextField(
blank=True,

3
sapl/static/styles/compilacao.scss

@ -290,6 +290,7 @@ a:link:after, a:visited:after {
margin-top: 0.6em;
font-size: 1.15em;
}
.page-break { page-break-before: always; }
.bloco_alteracao {
padding-left: 10%;
@ -303,9 +304,9 @@ a:link:after, a:visited:after {
a, table, table td {
color: #018 !important;
}
}
.dn { /* Notas de Dispositivo*/
font-weight: normal;
position: relative;

Loading…
Cancel
Save