mirror of
https://github.com/viq/NewsBlur.git
synced 2025-09-18 21:43:31 +00:00
Modified CSS to include max-width for divs, overriding inline styles and reduce max-width.
This commit is contained in:
parent
1ec1c2fdc8
commit
c42ab7b9b9
2 changed files with 52 additions and 41 deletions
|
@ -6,9 +6,9 @@ p {
|
||||||
line-height: 1.4em;
|
line-height: 1.4em;
|
||||||
}
|
}
|
||||||
|
|
||||||
img, video, embed, object, iframe {
|
img, video, embed, object, iframe, div {
|
||||||
max-width: 100%;
|
max-width: 95% !important;
|
||||||
height: auto;
|
height: auto !important;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
|
|
@ -6,6 +6,7 @@
|
||||||
android:inAnimation="@android:anim/fade_in"
|
android:inAnimation="@android:anim/fade_in"
|
||||||
android:outAnimation="@android:anim/fade_out" >
|
android:outAnimation="@android:anim/fade_out" >
|
||||||
|
|
||||||
|
|
||||||
<RelativeLayout
|
<RelativeLayout
|
||||||
android:id="@+id/login_form"
|
android:id="@+id/login_form"
|
||||||
android:layout_width="match_parent"
|
android:layout_width="match_parent"
|
||||||
|
@ -70,8 +71,8 @@
|
||||||
android:textSize="22dp" />
|
android:textSize="22dp" />
|
||||||
</LinearLayout>
|
</LinearLayout>
|
||||||
</RelativeLayout>
|
</RelativeLayout>
|
||||||
|
|
||||||
<RelativeLayout
|
<RelativeLayout
|
||||||
android:id="@+id/registration_form"
|
android:id="@+id/registration_form"
|
||||||
android:layout_width="match_parent"
|
android:layout_width="match_parent"
|
||||||
android:layout_height="match_parent" >
|
android:layout_height="match_parent" >
|
||||||
|
@ -87,8 +88,8 @@
|
||||||
android:id="@+id/login_change_to_login"
|
android:id="@+id/login_change_to_login"
|
||||||
android:layout_width="0dp"
|
android:layout_width="0dp"
|
||||||
android:layout_height="match_parent"
|
android:layout_height="match_parent"
|
||||||
android:gravity="center_vertical"
|
|
||||||
android:layout_weight="1"
|
android:layout_weight="1"
|
||||||
|
android:gravity="center_vertical"
|
||||||
android:text="@string/need_to_login"
|
android:text="@string/need_to_login"
|
||||||
android:textColor="@color/lightorange"
|
android:textColor="@color/lightorange"
|
||||||
android:textSize="15sp" />
|
android:textSize="15sp" />
|
||||||
|
@ -102,48 +103,58 @@
|
||||||
android:text="@string/login_registration_register" />
|
android:text="@string/login_registration_register" />
|
||||||
</LinearLayout>
|
</LinearLayout>
|
||||||
|
|
||||||
<LinearLayout
|
<ScrollView
|
||||||
android:layout_width="match_parent"
|
android:layout_width="match_parent"
|
||||||
android:layout_height="match_parent"
|
android:layout_height="match_parent"
|
||||||
android:layout_above="@id/registration_button_container"
|
android:layout_above="@id/registration_button_container" >
|
||||||
android:gravity="center_vertical"
|
|
||||||
android:orientation="vertical">
|
|
||||||
|
|
||||||
<EditText
|
<LinearLayout
|
||||||
android:id="@+id/registration_username"
|
|
||||||
android:layout_width="match_parent"
|
android:layout_width="match_parent"
|
||||||
android:layout_height="wrap_content"
|
android:layout_height="wrap_content"
|
||||||
android:hint="@string/login_username_hint"
|
android:layout_gravity="center_vertical"
|
||||||
android:inputType="textEmailAddress"
|
android:gravity="center_vertical"
|
||||||
android:textColor="@color/white"
|
android:orientation="vertical" >
|
||||||
android:textColorHint="@color/lightorange"
|
|
||||||
android:textSize="22dp" />
|
|
||||||
|
|
||||||
<EditText
|
<EditText
|
||||||
android:id="@+id/registration_password"
|
android:id="@+id/registration_username"
|
||||||
android:layout_width="match_parent"
|
android:layout_width="match_parent"
|
||||||
android:layout_height="wrap_content"
|
android:layout_height="wrap_content"
|
||||||
android:layout_marginTop="40dp"
|
android:hint="@string/login_username_hint"
|
||||||
android:hint="@string/login_password_hint"
|
android:inputType="textEmailAddress"
|
||||||
android:inputType="textPassword"
|
android:textColor="@color/white"
|
||||||
android:nextFocusDown="@+id/registration_email"
|
android:textColorHint="@color/lightorange"
|
||||||
android:textColor="@color/white"
|
android:textSize="22dp" >
|
||||||
android:textColorHint="@color/lightorange"
|
|
||||||
android:textSize="22dp" />
|
|
||||||
|
|
||||||
<EditText
|
<requestFocus />
|
||||||
android:id="@+id/registration_email"
|
</EditText>
|
||||||
android:layout_width="match_parent"
|
|
||||||
android:layout_height="wrap_content"
|
<EditText
|
||||||
android:layout_marginTop="40dp"
|
android:id="@+id/registration_password"
|
||||||
android:hint="@string/login_registration_email_hint"
|
android:layout_width="match_parent"
|
||||||
android:imeOptions="actionDone"
|
android:layout_height="wrap_content"
|
||||||
android:inputType="textEmailAddress"
|
android:layout_marginTop="40dp"
|
||||||
android:nextFocusDown="@+id/registration_button"
|
android:hint="@string/login_password_hint"
|
||||||
android:textColor="@color/white"
|
android:inputType="textPassword"
|
||||||
android:textColorHint="@color/lightorange"
|
android:nextFocusDown="@+id/registration_email"
|
||||||
android:textSize="22dp" />
|
android:textColor="@color/white"
|
||||||
</LinearLayout>
|
android:textColorHint="@color/lightorange"
|
||||||
|
android:textSize="22dp" />
|
||||||
|
|
||||||
|
<EditText
|
||||||
|
android:id="@+id/registration_email"
|
||||||
|
android:layout_width="match_parent"
|
||||||
|
android:layout_height="wrap_content"
|
||||||
|
android:layout_marginTop="40dp"
|
||||||
|
android:hint="@string/login_registration_email_hint"
|
||||||
|
android:imeOptions="actionDone"
|
||||||
|
android:inputType="textEmailAddress"
|
||||||
|
android:nextFocusDown="@+id/registration_button"
|
||||||
|
android:textColor="@color/white"
|
||||||
|
android:textColorHint="@color/lightorange"
|
||||||
|
android:textSize="22dp" />
|
||||||
|
</LinearLayout>
|
||||||
|
</ScrollView>
|
||||||
</RelativeLayout>
|
</RelativeLayout>
|
||||||
|
|
||||||
|
|
||||||
</ViewSwitcher>
|
</ViewSwitcher>
|
Loading…
Add table
Reference in a new issue