Author: dsetrakyan Date: Thu Jul 23 02:32:18 2015 New Revision: 1692343 URL: http://svn.apache.org/r1692343 Log: mobile-friendly patch.
Modified: incubator/ignite/site/trunk/css/all.css incubator/ignite/site/trunk/features/computegrid.html incubator/ignite/site/trunk/features/datagrid.html incubator/ignite/site/trunk/features/deploy.html incubator/ignite/site/trunk/features/igfs.html incubator/ignite/site/trunk/features/igniterdd.html incubator/ignite/site/trunk/features/mapreduce.html incubator/ignite/site/trunk/features/servicegrid.html incubator/ignite/site/trunk/features/streaming.html incubator/ignite/site/trunk/includes/header.html incubator/ignite/site/trunk/scss/all.scss incubator/ignite/site/trunk/scss/ignite.scss Modified: incubator/ignite/site/trunk/css/all.css URL: http://svn.apache.org/viewvc/incubator/ignite/site/trunk/css/all.css?rev=1692343&r1=1692342&r2=1692343&view=diff ============================================================================== --- incubator/ignite/site/trunk/css/all.css (original) +++ incubator/ignite/site/trunk/css/all.css Thu Jul 23 02:32:18 2015 @@ -6903,7 +6903,7 @@ p { @media (max-width: 992px) { #header.affix { position: absolute; - background: none; + /*background: none;*/ } } #header .container { @@ -8160,7 +8160,6 @@ table.overview > tbody > tr .border-righ table.formatted { border: 1px solid #ddd !important; width: 98% !important; - /*margin: auto !important;*/ } table.formatted > thead > tr { background: #3c3c3c; @@ -8184,10 +8183,51 @@ table.formatted > tbody > tr > td > p { margin-top: 8px; margin-bottom: 8px; } +@media (max-width: 767px) { + table.formatted > tbody > tr > td > p { + margin-top: 0px; + margin-right: 5px; + padding-right: 5px; + } +} +@media (max-width: 767px) { + table.formatted > tbody > tr > td { + white-space: normal !important; + } +} table.formatted > tbody > tr .left { font-weight: bold; padding-left: 20px !important; } +@media (max-width: 767px) { + table.formatted > tbody { + border: none !important; + } +} + +@media (max-width: 767px) { + #main table td { + margin: 10px 0 0 -110px !important; + white-space: normal !important; + } +} +@media (max-width: 767px) { + #main table td ul { + padding: 0 0 0 20px !important; + margin-right: 5px; + } +} +@media (max-width: 767px) { + #main table tr:nth-child(odd) td { + background-color: white; + } +} +@media (max-width: 767px) { + #main table { + margin: 0 0 20px 0 !important; + border: 1px solid #ddd !important; + } +} section.usecase-page-section { padding: 90px 0 10px 0; Modified: incubator/ignite/site/trunk/features/computegrid.html URL: http://svn.apache.org/viewvc/incubator/ignite/site/trunk/features/computegrid.html?rev=1692343&r1=1692342&r2=1692343&view=diff ============================================================================== Binary files - no diff available. Modified: incubator/ignite/site/trunk/features/datagrid.html URL: http://svn.apache.org/viewvc/incubator/ignite/site/trunk/features/datagrid.html?rev=1692343&r1=1692342&r2=1692343&view=diff ============================================================================== Binary files - no diff available. Modified: incubator/ignite/site/trunk/features/deploy.html URL: http://svn.apache.org/viewvc/incubator/ignite/site/trunk/features/deploy.html?rev=1692343&r1=1692342&r2=1692343&view=diff ============================================================================== Binary files - no diff available. Modified: incubator/ignite/site/trunk/features/igfs.html URL: http://svn.apache.org/viewvc/incubator/ignite/site/trunk/features/igfs.html?rev=1692343&r1=1692342&r2=1692343&view=diff ============================================================================== Binary files - no diff available. Modified: incubator/ignite/site/trunk/features/igniterdd.html URL: http://svn.apache.org/viewvc/incubator/ignite/site/trunk/features/igniterdd.html?rev=1692343&r1=1692342&r2=1692343&view=diff ============================================================================== Binary files - no diff available. Modified: incubator/ignite/site/trunk/features/mapreduce.html URL: http://svn.apache.org/viewvc/incubator/ignite/site/trunk/features/mapreduce.html?rev=1692343&r1=1692342&r2=1692343&view=diff ============================================================================== Binary files - no diff available. Modified: incubator/ignite/site/trunk/features/servicegrid.html URL: http://svn.apache.org/viewvc/incubator/ignite/site/trunk/features/servicegrid.html?rev=1692343&r1=1692342&r2=1692343&view=diff ============================================================================== Binary files - no diff available. Modified: incubator/ignite/site/trunk/features/streaming.html URL: http://svn.apache.org/viewvc/incubator/ignite/site/trunk/features/streaming.html?rev=1692343&r1=1692342&r2=1692343&view=diff ============================================================================== Binary files - no diff available. Modified: incubator/ignite/site/trunk/includes/header.html URL: http://svn.apache.org/viewvc/incubator/ignite/site/trunk/includes/header.html?rev=1692343&r1=1692342&r2=1692343&view=diff ============================================================================== --- incubator/ignite/site/trunk/includes/header.html (original) +++ incubator/ignite/site/trunk/includes/header.html Thu Jul 23 02:32:18 2015 @@ -33,7 +33,7 @@ <li><a href="/features/igfs.html">In-Memory File System</a></li> <li><a href="/features/mapreduce.html">In-Memory MapReduce</a></li> <li class="divider"></li> - <li role="presentation" class="submenu-header">Run Everywhere</li> + <li role="presentation" class="submenu-header">Runs Everywhere</li> <li><a href="/features/clientprotos.html">Client Protocols</a></li> <li><a href="/features/deploy.html">Deployment Options</a></li> </ul> Modified: incubator/ignite/site/trunk/scss/all.scss URL: http://svn.apache.org/viewvc/incubator/ignite/site/trunk/scss/all.scss?rev=1692343&r1=1692342&r2=1692343&view=diff ============================================================================== --- incubator/ignite/site/trunk/scss/all.scss (original) +++ incubator/ignite/site/trunk/scss/all.scss Thu Jul 23 02:32:18 2015 @@ -120,7 +120,7 @@ p { @media (max-width: $tablet) { position: absolute; - background: none; + /*background: none;*/ } } .container { Modified: incubator/ignite/site/trunk/scss/ignite.scss URL: http://svn.apache.org/viewvc/incubator/ignite/site/trunk/scss/ignite.scss?rev=1692343&r1=1692342&r2=1692343&view=diff ============================================================================== --- incubator/ignite/site/trunk/scss/ignite.scss (original) +++ incubator/ignite/site/trunk/scss/ignite.scss Thu Jul 23 02:32:18 2015 @@ -647,7 +647,6 @@ table.overview { table.formatted { border: 1px solid #ddd !important; width: 98% !important; - /*margin: auto !important;*/ & > thead > tr { background: #3c3c3c; @@ -676,15 +675,55 @@ table.formatted { & > p { margin-top :8px; - margin-bottom :8px + margin-bottom :8px; + @media (max-width: $mobile) { + margin-top :0px; + margin-right :5px; + padding-right: 5px; + } } + @media (max-width: $mobile) { + white-space: normal !important; + } } + & .left { font-weight: bold; padding-left: 20px !important; } } + + @media (max-width: $mobile) { + border: none !important; + } + } +} + +#main table { + & td { + @media (max-width: $mobile) { + margin: 10px 0 0 -110px !important; + white-space: normal !important; + } + + & ul { + @media (max-width: $mobile) { + padding:0 0 0 20px ! important; + margin-right: 5px; + } + } + } + + & tr:nth-child(odd) td { + @media (max-width: $mobile) { + background-color: white; + } + } + + @media (max-width: $mobile) { + margin: 0 0 20px 0 !important; + border: 1px solid #ddd !important; } }