0
0
mirror of https://github.com/Doodle3D/doodle3d-connect.git synced 2024-11-05 07:03:24 +01:00
doodle3d-connect/less/styles.less

213 lines
4.9 KiB
Plaintext
Raw Normal View History

2014-05-01 11:37:25 +02:00
body.ui-mobile-viewport {
margin: 0 auto;
max-width: 1024px;
2017-04-13 12:08:08 +02:00
/*font-family: 'Abel', sans-serif;*/
2014-04-24 12:46:26 +02:00
}
#logo {
2014-04-29 00:43:10 +02:00
text-align: center;
display: block;
}
#logo img{
2014-04-24 12:46:26 +02:00
margin: 10px 5px 5px 5px;
max-width: 200px;
}
2014-05-01 11:37:25 +02:00
#slogan {
text-align: center;
2014-04-24 12:46:26 +02:00
}
2014-05-01 11:37:25 +02:00
.ui-content {
ul {
padding: 0 0 0 1em;
}
ul.ui-listview {
padding: 0;
}
.intro {
margin: 0 0 2em 0;
}
img {
max-width: 100%;
}
}
2014-04-24 12:46:26 +02:00
2014-05-13 17:18:43 +02:00
.ui-mobile-viewport, .ui-page {
background-color: #fefefe;
}
2014-05-13 15:47:31 +02:00
.ui-page .ui-header {
background-color: #93CAF4;
border-color: #fff;
border-width: 2px 0px 2px 0;
.ui-title {
color: #fff;
2014-05-14 10:56:39 +02:00
text-shadow: 0px 1px 0px rgb(92, 152, 198);
2014-05-14 12:13:06 +02:00
margin: 0px 15%;
2014-05-13 15:47:31 +02:00
}
.ui-btn-left.ui-btn-icon-notext {
background-color: rgba(0, 0, 0, 0.3);
border-width: 0;
top: 0.45em;
left: 0.45em;
}
}
2014-05-14 10:56:39 +02:00
.ui-content {
.ui-link, .ui-link:visited {
color: #60ACF0;
text-shadow: none;
}
.ui-link:hover, .ui-link:active {
color: rgba(76, 133, 177, 1);
2014-05-13 15:47:31 +02:00
}
2014-05-13 17:18:43 +02:00
.ui-btn {
background-color: #f3f3f3;
&:hover {
background-color: rgb(228, 227, 227);
}
}
2014-05-14 10:56:39 +02:00
.ui-listview {
> li.ui-first-child .ui-btn {
border-top-width: 0;
}
.ui-btn {
border-color: #fefefe;
border-width: 1px 0;
}
}
2014-05-26 17:27:51 +02:00
form {
.ui-input-btn {
background-color: #60ACF0;
color: #fff;
text-shadow: 0px 1px 0px rgb(92, 152, 198);
&:hover {
background-color: #3F87D9;
color: #fff;
text-shadow: 0px 1px 0px rgb(92, 152, 198);
}
}
.warning {
dispay: none;
display: none;
font-weight: normal;
&.off {
display: block;
}
}
.ui-checkbox-on .warning {
display: block;
&.off {
display: none;
}
2014-05-23 19:09:46 +02:00
}
}
2014-05-13 15:47:31 +02:00
}
/* Active button */
.ui-page-theme-a .ui-btn.ui-btn-active,
html .ui-bar-a .ui-btn.ui-btn-active,
html .ui-body-a .ui-btn.ui-btn-active,
html body .ui-group-theme-a .ui-btn.ui-btn-active,
html head + body .ui-btn.ui-btn-a.ui-btn-active,
/* Active checkbox icon */
.ui-page-theme-a .ui-checkbox-on:after,
html .ui-bar-a .ui-checkbox-on:after,
html .ui-body-a .ui-checkbox-on:after,
html body .ui-group-theme-a .ui-checkbox-on:after,
.ui-btn.ui-checkbox-on.ui-btn-a:after,
/* Active flipswitch background */
.ui-page-theme-a .ui-flipswitch-active,
html .ui-bar-a .ui-flipswitch-active,
html .ui-body-a .ui-flipswitch-active,
html body .ui-group-theme-a .ui-flipswitch-active,
html body .ui-flipswitch.ui-bar-a.ui-flipswitch-active,
/* Active slider track */
.ui-page-theme-a .ui-slider-track .ui-btn-active,
html .ui-bar-a .ui-slider-track .ui-btn-active,
html .ui-body-a .ui-slider-track .ui-btn-active,
html body .ui-group-theme-a .ui-slider-track .ui-btn-active,
html body div.ui-slider-track.ui-body-a .ui-btn-active {
background-color: #93CAF4 /*{a-active-background-color}*/;
border-color: #93CAF4 /*{a-active-border}*/;
color: #ffffff /*{a-active-color}*/;
2014-05-14 10:56:39 +02:00
text-shadow: 0px 1px 0px rgb(92, 152, 198);
2014-05-13 15:47:31 +02:00
}
/* Active radio button icon */
.ui-page-theme-a .ui-radio-on:after,
html .ui-bar-a .ui-radio-on:after,
html .ui-body-a .ui-radio-on:after,
html body .ui-group-theme-a .ui-radio-on:after,
.ui-btn.ui-radio-on.ui-btn-a:after {
border-color: #93CAF4 /*{a-active-background-color}*/;
}
/* Focus */
.ui-page-theme-a .ui-btn:focus,
html .ui-bar-a .ui-btn:focus,
html .ui-body-a .ui-btn:focus,
html body .ui-group-theme-a .ui-btn:focus,
html head + body .ui-btn.ui-btn-a:focus,
/* Focus buttons and text inputs with div wrap */
.ui-page-theme-a .ui-focus,
html .ui-bar-a .ui-focus,
html .ui-body-a .ui-focus,
html body .ui-group-theme-a .ui-focus,
html head + body .ui-btn-a.ui-focus,
html head + body .ui-body-a.ui-focus {
box-shadow: 0 0 12px #93CAF4 /*{a-active-background-color}*/;
}
2014-04-25 16:24:16 +02:00
#action {
margin: 0 -1em;
padding: 1em;
color: #fff;
text-shadow: 0px 1px 0px #999;
2014-05-01 11:37:25 +02:00
&.error {
2014-04-25 16:24:16 +02:00
background: #EB313C;
text-shadow: 0px 1px 0px #333;
2014-05-01 11:37:25 +02:00
}
&.warning {
2014-04-25 16:24:16 +02:00
background: #E9A86E;
}
2014-05-01 11:37:25 +02:00
&.notice {
background: #93CAF4;
2014-04-24 12:46:26 +02:00
}
2014-05-01 11:37:25 +02:00
&.info {
background: #97DD8A;
}
2014-05-07 15:18:27 +02:00
}
2014-05-14 10:56:39 +02:00
/* hack to fade-in loader widget (will break normal loader usage) */
2014-05-07 15:18:27 +02:00
.ui-loader {
display: block;
opacity: 0;
transition: opacity 0.5s linear;
}
.ui-loading .ui-loader.fadeIn {
opacity: 0.18;
}
2014-05-14 10:56:39 +02:00
/*//// Add to home ////*/
.ath-viewport {
.ath-container {
box-shadow: 0 0 0 0.2em #D1D1D1;
background-color: #fff;
}
.ath-ios.ath-phone:after,
.ath-ios.ath-tablet:after,
.ath-android:after {
background-color: #fff;
}
.ath-android:after {
background: -webkit-linear-gradient(-45deg, rgba(255,255,255,0) 0,
rgba(255,255,255,0) 50%,
rgba(255,255,255,1) 50%,
rgba(255,255,255,1) 100%);
}
// add shadow around up arrow
.ath-ios.ath-tablet:after {
box-shadow: -.2em -.2em 0 #d1d1d1;
}
// close cross color
.ath-container:before {
color: #F18DB1;
}
2014-05-01 11:37:25 +02:00
}