fix menù bottom su cellulare...

This commit is contained in:
Samuele E. Locatelli
2017-09-06 14:24:20 +02:00
parent 6b4abb4cce
commit 47204da85e
8 changed files with 41 additions and 7 deletions
Binary file not shown.
+2 -2
View File
@@ -27,10 +27,10 @@
</div>
</div>
<div class="row">
<div class="col-sm-8 col-xs-9">
<div class="col-md-9 col-sm-8 col-xs-7">
<asp:TextBox runat="server" CssClass="form-control" type="search" name="password" ID="txtSearch" value="" placeholder="[R]icerca Nominativo" AutoPostBack="true" AccessKey="r" />
</div>
<div class="col-sm-4 col-xs-3">
<div class="col-md-3 col-sm-4 col-xs-5">
<asp:LinkButton runat="server" ID="lbtnNew" CssClass="btn btn-info form-control" OnClick="btnNew_Click"><i class="fa fa-plus" aria-hidden="true"></i> Nuovo</asp:LinkButton>
</div>
</div>
+3
View File
@@ -79,6 +79,9 @@
color: black;
}
/*Buttons...*/
.btn.btn-square {
border-radius: 0;
}
.btn-circle {
width: 2.2em;
/*30px*/
+4
View File
@@ -113,6 +113,10 @@
}
/*Buttons...*/
.btn.btn-square {
border-radius: 0;
}
.btn-circle {
width: 2.2em; /*30px*/
height: 2.2em;
+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-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}.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}}
+30 -3
View File
@@ -5,13 +5,40 @@
<div class="fullWidth">
<ul class="nav navbar-nav" id="divFooterMenu" runat="server">
<li class="nav-item">
<a href="Accettazione" class='<%: liClass("Accettazione") %>'><i class="fa fa-users fa-lg" aria-hidden="true"></i>&nbsp;Accettazione</a>
<a href="Accettazione" class='btn btn-square <%: liClass("Accettazione") %>'>
<div class="row">
<div class="col-xs-12 col-sm-2">
<i class="fa fa-users fa-lg" aria-hidden="true"></i>
</div>
<div class="col-xs-12 col-sm-8 text-center">
Accettazione
</div>
</div>
</a>
</li>
<li class="nav-item">
<a href="Valutazioni" class='<%: liClass("Valutazioni") %>'><i class="fa fa-universal-access fa-lg" aria-hidden="true"></i>&nbsp;Valutazioni</a>
<a href="Valutazioni" class='btn btn-square <%: liClass("Valutazioni") %>'>
<div class="row">
<div class="col-xs-12 col-sm-2">
<i class="fa fa-universal-access fa-lg" aria-hidden="true"></i>
</div>
<div class="col-xs-12 col-sm-8 text-center">
Valutazioni
</div>
</div>
</a>
</li>
<li class="nav-item">
<a href="Attivita" class='<%: liClass("Attivita") %>'><i class="fa fa-files-o fa-lg" aria-hidden="true"></i>&nbsp;Files</a>
<a href="Attivita" class='btn btn-square <%: liClass("Attivita") %>'>
<div class="row">
<div class="col-xs-12 col-sm-2">
<i class="fa fa-files-o fa-lg" aria-hidden="true"></i>
</div>
<div class="col-xs-12 col-sm-8 text-center">
Files
</div>
</div>
</a>
</li>
</ul>
</div>
+1 -1
View File
@@ -27,7 +27,7 @@ namespace ScheMe.WebUserControls
string answ = "";
string nome = nomeElem.ToString();
//if (Request.Url.ToString().Contains(nome)) answ = " btn-selected";
answ = (Request.Url.ToString().Contains(nome)) ? " btn-selected" : "btn-unselected";
answ = (Request.Url.ToString().Contains(nome)) ? " btn-selected" : " btn-unselected";
// se NON E' accettazione e non c'è paziente metto disabled...
if (!nome.Contains("Accettazione"))
{
Binary file not shown.