-
Notifications
You must be signed in to change notification settings - Fork 8
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Resolves #10. Co-authored-by: Krishnan Shankar <krishnans2006@gmail.com>
- Loading branch information
1 parent
f294778
commit 72d0153
Showing
3 changed files
with
248 additions
and
28 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,122 @@ | ||
button.collapsible { | ||
background-color: #777; | ||
color: white; | ||
cursor: pointer; | ||
padding: 18px; | ||
max-width: 90%; | ||
width: 90%; | ||
border-radius: 10px; | ||
text-align: center; | ||
outline: none; | ||
font-size: 15px; | ||
border: none; | ||
} | ||
|
||
button.collapsible:hover { | ||
background-color: #555; | ||
} | ||
|
||
button.collapsible.active { | ||
border-radius: 10px 10px 0px 0px; | ||
box-shadow: 6px 0 12px #777, | ||
-6px -6px 12px #ffffff; | ||
} | ||
|
||
button.collapsible:not(.active) { | ||
border-radius: 10px; | ||
box-shadow: 6px 6px 12px #777, | ||
-6px -6px 12px #ffffff; | ||
} | ||
|
||
.content { | ||
display: none; | ||
max-width: 90%; | ||
width: 90%; | ||
padding-top: 18px; | ||
overflow: hidden; | ||
background-color: #F2F2F4; | ||
border-radius: 0px 0px 10px 10px; | ||
box-shadow: 6px 6px 12px #777, | ||
-6px 0 12px #ffffff; | ||
} | ||
|
||
.block { | ||
display: block; | ||
} | ||
|
||
.collapsible:after { | ||
content: '+'; /* Unicode character for "plus" sign (+) */ | ||
font-size: 20px; | ||
float: left; | ||
margin-right: 5px; | ||
color: white; | ||
} | ||
|
||
button.collapsible.active:after { | ||
content: "-"; /* Unicode character for "minus" sign (-) */ | ||
color: white; | ||
font-size: 20px; | ||
} | ||
|
||
.padding-div { | ||
background: transparent; | ||
height: 20px; | ||
width: auto; | ||
} | ||
|
||
/* This should be aligned to the right vertically stacked */ | ||
.right-col { | ||
width: 50%; | ||
float: right; | ||
} | ||
|
||
/* This is the text that's not in a collapsible */ | ||
#required { | ||
width: 50%; | ||
float: left; | ||
padding-bottom: 50px; | ||
} | ||
|
||
/* Style the description box */ | ||
textarea { | ||
width: 90%; | ||
height: 300px; | ||
resize: vertical; | ||
/* For legacy browsers without CSS 3 support */ | ||
min-width: 90%; | ||
max-width: 90%; | ||
} | ||
|
||
@media (max-width: 900.02px) { | ||
|
||
.right-col { | ||
width: 90%; | ||
float: left; | ||
} | ||
|
||
#required { | ||
width: 90%; | ||
float: left; | ||
padding-bottom: 20px; | ||
} | ||
} | ||
|
||
.field { | ||
display: flex; | ||
flex-direction: row; | ||
width: 90%; | ||
padding-bottom: 15px; | ||
} | ||
|
||
.tag { | ||
width: 30%; | ||
padding-left: 18px; | ||
} | ||
|
||
.field-input { | ||
width: 70%; | ||
} | ||
|
||
#id_description { | ||
font-family: inherit; | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters