completato fix accettazione x smallest devices!

This commit is contained in:
Samuele E. Locatelli
2017-09-06 14:44:15 +02:00
parent 86870052d4
commit cfcc87bdf9
5 changed files with 28 additions and 25 deletions
Binary file not shown.
+16 -19
View File
@@ -38,10 +38,10 @@
<asp:GridView ID="grView" runat="server" DataSourceID="ods" AutoGenerateColumns="False" DataKeyNames="IdxPaziente" CellPadding="4" ForeColor="#333333" GridLines="None" Width="100%" AllowPaging="True" OnSelectedIndexChanged="grView_SelectedIndexChanged" OnRowCommand="grView_RowCommand" PageSize="20" AllowSorting="false" CssClass="table table-striped table-condensed">
<EditRowStyle CssClass="editRowStyle" />
<FooterStyle CssClass="footerRowStyle" />
<HeaderStyle CssClass="headerRowStyle" />
<%--<HeaderStyle CssClass="headerRowStyle" />--%>
<%--<RowStyle CssClass="rowStyle" />--%>
<%--<AlternatingRowStyle CssClass="alternatingRowStyle" />--%>
<PagerStyle CssClass="active GridPager" />
<RowStyle CssClass="rowStyle" />
<AlternatingRowStyle CssClass="alternatingRowStyle" />
<SelectedRowStyle CssClass="selectedRowStyle" />
<SortedAscendingCellStyle CssClass="stortAscCellStyle" />
<SortedAscendingHeaderStyle CssClass="stortAscHeadStyle" />
@@ -70,10 +70,10 @@
</asp:TemplateField>
<asp:TemplateField HeaderText="Indirizzo" SortExpression="Indirizzo" ItemStyle-HorizontalAlign="Left" HeaderStyle-HorizontalAlign="Left">
<ItemTemplate>
<div style="font-size: 0.8em;">
<div class="smaller">
<asp:Label ID="lblIndirizzo" runat="server" Text='<%# Eval("Indirizzo") %>' />
</div>
<div style="font-size: 0.7em; white-space: nowrap;">
<div class="smaller" style="font-size: 0.7em; white-space: nowrap;">
<i class="fa fa-phone"></i>
<asp:Label ID="lblRecTel" runat="server" Text='<%# Eval("RecTel") %>' />
</div>
@@ -81,28 +81,25 @@
</asp:TemplateField>
<asp:TemplateField HeaderText="Nato" SortExpression="DataNasc" ItemStyle-HorizontalAlign="Left" HeaderStyle-HorizontalAlign="Left">
<ItemTemplate>
<div style="font-size: 0.8em;">
<asp:Label ID="lblData" runat="server" Text='<%# Eval("DataNasc","{0:dd/MM/yyyy}") %>' />
<br />
<div class="smaller">
<asp:Label ID="lblLuogo" runat="server" Text='<%# Eval("LuogoNascita") %>' />
</div>
</ItemTemplate>
</asp:TemplateField>
<asp:TemplateField HeaderText="Medico/Note" SortExpression="Medico" ItemStyle-HorizontalAlign="Left" HeaderStyle-HorizontalAlign="Left">
<ItemTemplate>
<div style="font-size: 0.8em;">
<asp:Label ID="lblMedico" runat="server" Text='<%# Eval("Medico") %>' />
<div style="font-size: 0.8em;">
<asp:Label ID="lblNote" runat="server" Text='<%# stringTrim(Eval("Note"), 40) %>' ToolTip='<%# Eval("Note") %>' />
<div class="smaller">
<asp:Label ID="lblData" runat="server" Text='<%# Eval("DataNasc","{0:dd/MM/yyyy}") %>' />
</div>
</div>
</ItemTemplate>
</asp:TemplateField>
<asp:TemplateField HeaderText="C.F." SortExpression="CodF" ItemStyle-HorizontalAlign="Right" HeaderStyle-HorizontalAlign="Right">
<asp:TemplateField HeaderText="C.F. / Note" SortExpression="CodF" ItemStyle-HorizontalAlign="Right" HeaderStyle-HorizontalAlign="Right">
<ItemTemplate>
<div style="font-size: 0.8em;">
<div class="smallest">
<asp:Label ID="lblCF" runat="server" Text='<%# Eval("CodF") %>' />
</div>
<div class="smallest">
<asp:Label ID="lblMedico" runat="server" Text='<%# Eval("Medico") %>' />
</div>
<div class="smallest">
<asp:Label ID="lblNote" runat="server" Text='<%# stringTrim(Eval("Note"), 40) %>' ToolTip='<%# Eval("Note") %>' />
</div>
</ItemTemplate>
</asp:TemplateField>
<asp:TemplateField ShowHeader="False" ItemStyle-HorizontalAlign="Center" HeaderStyle-HorizontalAlign="Center">
+5 -2
View File
@@ -10,6 +10,9 @@
.smaller {
font-size: 0.7em;
}
.smallest {
font-size: 0.6em;
}
.fullWidth > .navbar-nav {
display: table;
width: 100%;
@@ -312,7 +315,7 @@
}
@media all and (max-width: 480px) {
#textWrapper {
font-size: 0.6em;
font-size: 0.7em;
}
#headData {
margin-top: 14px;
@@ -320,7 +323,7 @@
}
@media all and (max-width: 320px) {
#textWrapper {
font-size: 0.5em;
font-size: 0.6em;
}
#headData {
margin-top: 18px;
+6 -3
View File
@@ -23,9 +23,12 @@
font-size: 1.2em;
}
.smaller{
.smaller {
font-size: 0.7em;
}
.smallest {
font-size: 0.6em;
}
.fullWidth > .navbar-nav {
display: table;
@@ -372,7 +375,7 @@
@media all and (max-width: 480px) {
#textWrapper {
font-size: 0.6em;
font-size: 0.7em;
}
#headData {
@@ -382,7 +385,7 @@
@media all and (max-width: 320px) {
#textWrapper {
font-size: 0.5em;
font-size: 0.6em;
}
#headData {
+1 -1
View File
@@ -1 +1 @@
.uppercase{text-transform:uppercase}.bigBtn{min-height:2.2em;font-size:1.2em}.smaller{font-size:.7em}.fullWidth>.navbar-nav{display:table;width:100%;margin:0}.fullWidth>.navbar-nav>li{float:none;display:table-cell;text-align:center}.VVF-CL-01{color:#060;background-color:#fff}.VVF-CL-02{color:#ff3;background-color:#22f}.VVF-CL-03{color:#ff3;background-color:#181}.VVF-CL-04{background-color:#ff1}.VVF-CL-05{color:#ff3;background-color:#e62}.VVF-CL-06{color:#ff1;background-color:#ff0c0c}.headerRow{background-color:#eee;color:#000}.text-center{text-align:center;margin:auto}.tStrong{font-weight:bold;font-size:1.3em}.flRight{float:right}.errore{color:#f00}.headLine{background-color:#38c;color:#fff}.hBlock{background-color:#d7d7d7;color:#000}.hBlockDrk{background-color:#585858;color:#fff}.fBlock{background-color:#f2f2f2;color:#000}.btn.btn-square{border-radius:0}.btn-circle{width:2.2em;height:2.2em;text-align:center;padding:.3em 0;font-size:1em;line-height:1.6;border-radius:1em}.btn-circle.btn-lg{width:3.5em;height:3.5em;padding:.6em 1em;font-size:1.5em;line-height:1.5;border-radius:1.8em}.btn-circle.btn-xl{width:5em;height:5em;padding:.6em 1em;font-size:2em;line-height:1.5;border-radius:3em}.btn-selected,.navbar-nav>li>.btn-selected{background-color:#38c;font-weight:600;color:#fff}.btn-selected:hover,.navbar-nav>li .btn-selected:hover{background-color:#d1ddf1;font-weight:600;color:#333}.btn-unselected,.navbar-nav>li .btn-unselected{background-color:#efefef;font-weight:600;color:#333}.btn-unselected:hover,.navbar-nav>li>.btn-unselected:hover{background-color:#333;font-weight:600;color:#efefef}.RowStyle{background-color:#eff3fb;text-align:left}.rowStyle{background-color:#eff3fb}.editRowStyle{background-color:#2461bf}.selectedRowStyle{background-color:#c1ccf1;font-weight:bold;Color:#36f}.alternatingRowStyle{background-color:#fff}.footerRowStyle{background-color:#5d7b9d;font-weight:bold;color:#fff}.headerRowStyle{background-color:#5d7b9d;font-weight:bold;color:#fff}.spacedRow{line-height:3em}.baseRow{background-color:#eff3fb}.altRow{background-color:#fff}.editRow{background-color:#2461bf}.selectedRow{background-color:#d1ddf1;font-weight:600;color:#333}.headerHighlight{font-weight:600;color:#38c;font-size:1.2em}.footerRow{background-color:#38c;font-weight:600;color:#fff}.pagerRow{background-color:#2461bf;color:#fff;text-align:center;margin:auto}.stortAscCellStyle{background-color:#f5f7fb}.stortAscHeadStyle{background-color:#6d95e1}.stortDescCellStyle{background-color:#e9ebef}.stortDescHeadStyle{background-color:#4870be}.GridPager{background-color:#ff7c50}.GridPager a,.GridPager span{display:block;height:2em;width:2em;text-align:center;vertical-align:baseline;text-decoration:none;background-color:#2461bf}.GridPager a{background-color:#f5f5f5;color:#969696}.GridPager span{background-color:#f2dca1;color:#000;font-weight:bold}.imgNoPad{margin-top:-3px;margin-bottom:-7px}@media all and (min-width:768px){#textWrapper{font-size:1em}#headData{margin-top:0}}@media all and (min-width:1024px){#textWrapper{font-size:1.2em}#headData{margin-top:0}}@media all and (min-width:1440px){#textWrapper{font-size:1.4em}#headData{margin-top:0}}@media all and (min-width:1600px){#textWrapper{font-size:1.6em}#headData{margin-top:0}}@media all and (min-width:1900px){#textWrapper{font-size:1.8em}#headData{margin-top:0}}@media all and (min-width:2200px){#textWrapper{font-size:2em}#headData{margin-top:0}}@media all and (max-width:767px){#textWrapper{font-size:.8em}#headData{margin-top:6px}}@media all and (max-width:480px){#textWrapper{font-size:.6em}#headData{margin-top:14px}}@media all and (max-width:320px){#textWrapper{font-size:.5em}#headData{margin-top:18px}}
.uppercase{text-transform:uppercase}.bigBtn{min-height:2.2em;font-size:1.2em}.smaller{font-size:.7em}.smallest{font-size:.6em}.fullWidth>.navbar-nav{display:table;width:100%;margin:0}.fullWidth>.navbar-nav>li{float:none;display:table-cell;text-align:center}.VVF-CL-01{color:#060;background-color:#fff}.VVF-CL-02{color:#ff3;background-color:#22f}.VVF-CL-03{color:#ff3;background-color:#181}.VVF-CL-04{background-color:#ff1}.VVF-CL-05{color:#ff3;background-color:#e62}.VVF-CL-06{color:#ff1;background-color:#ff0c0c}.headerRow{background-color:#eee;color:#000}.text-center{text-align:center;margin:auto}.tStrong{font-weight:bold;font-size:1.3em}.flRight{float:right}.errore{color:#f00}.headLine{background-color:#38c;color:#fff}.hBlock{background-color:#d7d7d7;color:#000}.hBlockDrk{background-color:#585858;color:#fff}.fBlock{background-color:#f2f2f2;color:#000}.btn.btn-square{border-radius:0}.btn-circle{width:2.2em;height:2.2em;text-align:center;padding:.3em 0;font-size:1em;line-height:1.6;border-radius:1em}.btn-circle.btn-lg{width:3.5em;height:3.5em;padding:.6em 1em;font-size:1.5em;line-height:1.5;border-radius:1.8em}.btn-circle.btn-xl{width:5em;height:5em;padding:.6em 1em;font-size:2em;line-height:1.5;border-radius:3em}.btn-selected,.navbar-nav>li>.btn-selected{background-color:#38c;font-weight:600;color:#fff}.btn-selected:hover,.navbar-nav>li .btn-selected:hover{background-color:#d1ddf1;font-weight:600;color:#333}.btn-unselected,.navbar-nav>li .btn-unselected{background-color:#efefef;font-weight:600;color:#333}.btn-unselected:hover,.navbar-nav>li>.btn-unselected:hover{background-color:#333;font-weight:600;color:#efefef}.RowStyle{background-color:#eff3fb;text-align:left}.rowStyle{background-color:#eff3fb}.editRowStyle{background-color:#2461bf}.selectedRowStyle{background-color:#c1ccf1;font-weight:bold;Color:#36f}.alternatingRowStyle{background-color:#fff}.footerRowStyle{background-color:#5d7b9d;font-weight:bold;color:#fff}.headerRowStyle{background-color:#5d7b9d;font-weight:bold;color:#fff}.spacedRow{line-height:3em}.baseRow{background-color:#eff3fb}.altRow{background-color:#fff}.editRow{background-color:#2461bf}.selectedRow{background-color:#d1ddf1;font-weight:600;color:#333}.headerHighlight{font-weight:600;color:#38c;font-size:1.2em}.footerRow{background-color:#38c;font-weight:600;color:#fff}.pagerRow{background-color:#2461bf;color:#fff;text-align:center;margin:auto}.stortAscCellStyle{background-color:#f5f7fb}.stortAscHeadStyle{background-color:#6d95e1}.stortDescCellStyle{background-color:#e9ebef}.stortDescHeadStyle{background-color:#4870be}.GridPager{background-color:#ff7c50}.GridPager a,.GridPager span{display:block;height:2em;width:2em;text-align:center;vertical-align:baseline;text-decoration:none;background-color:#2461bf}.GridPager a{background-color:#f5f5f5;color:#969696}.GridPager span{background-color:#f2dca1;color:#000;font-weight:bold}.imgNoPad{margin-top:-3px;margin-bottom:-7px}@media all and (min-width:768px){#textWrapper{font-size:1em}#headData{margin-top:0}}@media all and (min-width:1024px){#textWrapper{font-size:1.2em}#headData{margin-top:0}}@media all and (min-width:1440px){#textWrapper{font-size:1.4em}#headData{margin-top:0}}@media all and (min-width:1600px){#textWrapper{font-size:1.6em}#headData{margin-top:0}}@media all and (min-width:1900px){#textWrapper{font-size:1.8em}#headData{margin-top:0}}@media all and (min-width:2200px){#textWrapper{font-size:2em}#headData{margin-top:0}}@media all and (max-width:767px){#textWrapper{font-size:.8em}#headData{margin-top:6px}}@media all and (max-width:480px){#textWrapper{font-size:.7em}#headData{margin-top:14px}}@media all and (max-width:320px){#textWrapper{font-size:.6em}#headData{margin-top:18px}}