cancel
Showing results for 
Search instead for 
Did you mean: 

CSS media quries in WEB IDE

Former Member
0 Kudos

i am trying to set different media quries for an application but when i run application it just pick one media qurey for 320 width & 768 and 480 it dosent work.

........................................................
.sapMPage {
width: 100%;
}
.sapUiBody {
height: 100%!important;
background-color: rgb(250, 250, 250);
background-image: none;
background-size: cover;
background-repeat: no-repeat;
background-position: center center;
}
.sapMBtn {

background-color: transparent;
padding-left: 78%;
margin: -4.2%;
padding-top: 3.8%;
}

.sapMBtnInner{
background-image: none;
background-color: cornflowerblue;
border-color: white;
color: white;
text-shadow: 0 0 1.125rem #000000;
}
.sapMInputBaseInner {

background: #ffffff;
border-color: #2196F3;
padding: 0.25rem 0;
width: 100%;
}
.sapMInputBase {
width:95%;
padding-left: 24.2%;
padding-top: 7.5%;

}

.sapMFlexBox {
color: white;
padding-bottom: 5%;
width: 58%;
height: 92px;
flex-grow: 0;
flex-shrink: 1;
padding-left: -5%;
background-color: white;
}

.sapSuiteUiCommonsTimelineScroll
{
overflow-x: hidden;
overflow-y: auto;
height: 279px;
background-color: white;
}

.sapUiFixFlexFlexibleContainer {
position: absolute;
top: -91px;
right: 0;
bottom: auto;
left: -13px;
}

.sapSuiteUiCommonsTimelineItemShell

{
padding: 0.5rem 0.5rem 0.5rem 0.5rem;
color: white;
}
.sapMFlexBox
{
color: white;
padding-bottom: 5%;
width: 100%;
height: 92px;
flex-grow: 0;
flex-shrink: 1;

}
.sapUiFixFlexFixed
{
position: relative;
overflow: hidden;
width: 100%;
height: 460px!important;
}
.sapSuiteUiCommonsTimeline {
max-width: 680px;
margin-left: auto;
margin-right: auto;
position: relative;
}
.sapSuiteUiCommonsTimelineScroll {
overflow-x: hidden;
overflow-y: auto;
height: 439px;
background-color: white;
}
.sapMInputDivWrapper {
position: relative;
display: inline-block;
border-radius: 0;
vertical-align: top;
margin: 0;
height: 2.5rem;
width: 65%;
}
@media screen and (max-width: 320px)
{
.sapSuiteUiCommonsTimelineContents
{
overflow-x: hidden;
overflow-y: auto;
height: 420px!important;
}
.sapUiFixFlexFlexible
{
overflow: visible !important;
}
.sapMFlexBox {
color: white;
padding-bottom: 5%;
width: 116%;
height: 92px;
flex-grow: 0;
flex-shrink: 1;
padding-right: 87%;
}
.sapMInput {
width: 444%!important;
}
.sapMBtn {
background-color: transparent;
padding-left: 371%;
margin: -69.2%;
padding-top: 26.8%;
}
.sapMNavItem, .sapMNavItem.sapMPage {
position: absolute;
top: 0;
left: 0;
display: block;
height: 109%;
}

.sapSuiteUiCommonsTimeline
{
width: 100%;
opacity: 1;
}
.sapSuiteUiCommonsTimeline {
max-width: 680px;
margin-left: auto;
margin-right: auto;
position: relative;
}
.sapSuiteUiCommonsTimelineScroll {
overflow-x: hidden;
overflow-y: auto;
height: 452px!important;
background-color: white;
}
}

Accepted Solutions (0)

Answers (0)