Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
E
edx-platform
Overview
Overview
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
edx
edx-platform
Commits
93246db6
Commit
93246db6
authored
Oct 21, 2014
by
AlasdairSwan
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
ECOM-408 Added grid-settings to override the default global box-sizing style
parent
e5386907
Hide whitespace changes
Inline
Side-by-side
Showing
5 changed files
with
159 additions
and
4 deletions
+159
-4
lms/static/sass/application-extend1.scss.mako
+1
-0
lms/static/sass/application-extend2.scss.mako
+1
-0
lms/static/sass/application.scss.mako
+1
-0
lms/static/sass/base/_grid-settings.scss
+3
-0
lms/static/sass/views/_login-register.scss
+153
-4
No files found.
lms/static/sass/application-extend1.scss.mako
View file @
93246db6
...
...
@@ -5,6 +5,7 @@
// libs and resets *do not edit*
@import 'bourbon/bourbon'; // lib - bourbon
@import 'base/grid-settings';
@import "neat/neat"; // lib - Neat
@import 'vendor/bi-app/bi-app-ltr'; // set the layout for left to right languages
...
...
lms/static/sass/application-extend2.scss.mako
View file @
93246db6
...
...
@@ -5,6 +5,7 @@
// libs and resets *do not edit*
@import 'bourbon/bourbon'; // lib - bourbon
@import 'base/grid-settings';
@import "neat/neat"; // lib - Neat
@import 'vendor/bi-app/bi-app-ltr'; // set the layout for left to right languages
...
...
lms/static/sass/application.scss.mako
View file @
93246db6
...
...
@@ -5,6 +5,7 @@
// libs and resets *do not edit*
@import 'bourbon/bourbon'; // lib - bourbon
@import 'base/grid-settings';
@import "neat/neat"; // lib - Neat
@import 'vendor/bi-app/bi-app-ltr'; // set the layout for left to right languages
...
...
lms/static/sass/base/_grid-settings.scss
0 → 100644
View file @
93246db6
/* Override the default global box-sizing */
$border-box-sizing
:
false
;
\ No newline at end of file
lms/static/sass/views/_login-register.scss
View file @
93246db6
// lms - views - login/register view
// ====================
.login-register
{
.login-register
{
@include
box-sizing
(
border-box
);
@include
span-columns
(
6
);
@include
shift
(
3
);
/* Temp. fix until applied globally */
&
>
{
@include
box-sizing
(
border-box
);
}
input
:
-
webkit-autofill
{
-webkit-box-shadow
:
0
0
0
50px
white
inset
;
-webkit-text-fill-color
:
#333
;
...
...
@@ -17,15 +23,159 @@
.form-field
{
width
:
100%
;
margin
:
0
0
$baseline
0
;
/** FROM _accounts.scss - start **/
label
,
input
,
textarea
{
border-radius
:
0
;
display
:
block
;
height
:
auto
;
font-family
:
$sans-serif
;
font-style
:
normal
;
font-weight
:
500
;
color
:
$base-font-color
;
}
label
{
@include
transition
(
color
0
.15s
ease-in-out
0s
);
margin
:
0
0
(
$baseline
/
4
)
0
;
color
:
tint
(
$black
,
20%
);
}
input
,
textarea
{
width
:
100%
;
margin
:
0
;
padding
:
(
$baseline
/
2
)
(
$baseline
*.
75
);
&
.long
{
width
:
100%
;
}
&
.short
{
width
:
25%
;
}
}
textarea
.long
{
height
:
(
$baseline
*
5
);
}
select
{
width
:
100%
;
}
/** FROM _accounts.scss - end **/
}
.input-block
{
width
:
100%
;
}
.input-block
,
.desc
{
display
:
block
;
/*@extend %body-text-emphasized;*/
margin-bottom
:
$baseline
;
}
.input-inline
{
display
:
inline
;
}
}
\ No newline at end of file
}
/*// individual fields
.field {
&:last-child {
margin-bottom: 0;
}
// types - password
// types - select
// types - checkboxes/radio buttons
&.checkbox {
input[type="checkbox"] {
display: inline-block;
width: auto;
@include margin-right($baseline/4);
}
label {
display: inline-block;
}
}
// states - all
&.disabled,
&.submitted {
color: rgba(0,0,0,.25);
label {
cursor: text;
&:after {
margin-left: ($baseline/4);
}
}
textarea, input {
background: $container-bg;
color: rgba(0,0,0,.25);
}
}
// states - focused
&.is-focused {
label {
color: saturate($link-color-d1,15%);
}
.tip {
color: saturate($link-color-d1,15%);
}
}
// states - disabled
&.disabled {
label:after {
color: rgba(0,0,0,.35);
content: "(Disabled Currently)";
}
}
&.error {
label {
color: $red;
}
input, textarea {
border-color: tint($red,50%);
}
}
&.required {
label {
font-weight: 600;
a {
font-weight: 600 !important;
}
}
label:after {
margin-left: ($baseline/4);
content: "*";
}
}
}*/
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment