diff --git a/css/main.css b/css/main.css index 7b0fcb9..5fb99f4 100644 --- a/css/main.css +++ b/css/main.css @@ -30,17 +30,20 @@ a { #list { padding: 0; } -#list li { + +.box{ list-style-type: none; float: left; -} -#list a { + margin: 0 15px 15px 0; - padding: 25px 0 0 0; + /*padding: 25px;*/ + padding: 0 0 25px 0; display: block; + position: relative; - width: 200px; - height: 175px; + min-width: 200px; /*175px;*/ + min-height: 175px; /*175px;*/ + /*height: 275px;*/ border: 2px solid #333; border-radius: 25px; @@ -49,28 +52,118 @@ a { -webkit-box-shadow: 0px 2px 7px 0px rgba(16, 16, 16, 0.60); box-shadow: 0px 2px 7px 0px rgba(16, 16, 16, 0.60); - text-align: center; - vertical-align: middle; - cursor: pointer; - transition:background-color 0.1s, color 0.1s; } -#list a:hover { +.box:hover { background-color: #5491D2; +} +.box:hover a{ color: #fff; } +.box.complex { + width: 375px; /*320px;*/ + /*border: 2px solid #00f;*/ +} +box.connecting { + border: 2px solid #ff0; +} +.box a{ + display:block; + padding: 25px 25px 12px 25px; + text-align: center; + + position: absolute; + top: 0; + right: 0; + bottom: 0; + left: 0; +} +.box.complex a { + position: relative; + top: auto; + right: auto; + bottom: auto; + left: auto; +} #hint { display:none; position: absolute; bottom: 1em; + line-height: 1.5; } -/*.vertImage {*/ - /*margin: 0;*/ - /*padding: 0;*/ - /*border: 2px solid #f0f;*/ - /*max-width: 100%;*/ - /*height: auto;*/ - /*width: auto; *//* for ie9 */ -/*}*/ +#networkForm { + display: none; +} +.box .networkForm { + display: none; +} +.box.complex .networkForm { + display: block; +} + + +/* NETWORK PANEL */ +.networkForm { + background-color: #fff; + /*border-radius: 0 0 25px 25px;*/ + padding: 12px 25px 12px 25px; +} + +form p { + margin: 0 0 10px 0; +} +form label { + min-width: 110px; + display: block; + float: left; + margin: 1px 0 10px 0; + clear: left; +} +form label.inline { + display: inline; + float: none; +} +form div { + float: left; +} +form input[type="text"], form input[type="number"], form input[type="password"] { + border: 1px solid rgb(144, 192, 255); + margin-right: 5px; + -webkit-border-radius: 4px; + -moz-border-radius: 4px; + border-radius: 4px; + + width: 130px; +} +form .button { + display: inline-block; +} + +.networkForm #network { + margin-right: 5px; + width: 130px; +} + +.networkForm #ssid, +.networkForm #listNetworks, +.networkForm #passwordSettings { + display: none; +} + +.networkForm.customNetwork #passwordSettings { + display: block; +} +.networkForm.customNetwork #ssid, +.networkForm.customNetwork #listNetworks{ + display: inline-block; +} +.networkForm.customNetwork #network, +.networkForm.customNetwork #refreshNetworks { + display: none; +} +.networkForm #btnConnect { + display: block; + clear:left; +} \ No newline at end of file diff --git a/index.html b/index.html index fae52d8..cd6d2a4 100644 --- a/index.html +++ b/index.html @@ -18,7 +18,11 @@ - + + + + +
@@ -38,7 +42,7 @@