Files
Archetype/app/less/archetype.less
T

563 lines
12 KiB
Plaintext
Raw Normal View History

2015-10-07 17:11:26 -04:00
{{VERSION}}
2014-08-13 11:28:57 -04:00
.archetypeEditor {
2014-01-31 12:39:02 -05:00
width: 98%;
2015-08-25 12:59:26 -04:00
.usky-grid {
.cell-tools-menu {
height: 385px;
}
2015-10-04 21:39:50 +02:00
&.withGroups {
.cell-tools-menu {
height: 415px;
}
}
2015-08-25 12:59:26 -04:00
}
2014-10-02 14:46:26 +02:00
.open {
position: relative;
}
2014-05-08 13:32:04 -04:00
.dropdown-menu {
top: auto;
2014-10-02 14:46:26 +02:00
> li > a {
border-radius: 6px;
}
2014-05-08 13:32:04 -04:00
}
2014-06-25 08:34:54 -04:00
.controls-no-label {
padding: 10px;
}
2014-07-11 10:17:49 -04:00
a+ul.dropdown-menu {
2014-10-02 14:46:26 +02:00
margin-left: 0;
2014-07-11 10:17:49 -04:00
}
2014-08-13 11:28:57 -04:00
.fieldsetIcon {
float: left;
2015-08-18 15:10:37 +02:00
padding: 0 4px 0 0;
color: #333;
vertical-align: text-bottom;
}
.caret {
margin: 8px 1px 0 2px;
&.caret-right {
border-bottom: 4px solid transparent;
border-top: 4px solid transparent;
border-left: 4px solid #ddd;
content: "";
margin-top: 6px;
}
}
2014-08-26 10:05:02 -04:00
fieldset {
2015-08-18 15:10:37 +02:00
border-bottom: 1px dashed #dddddd;
2014-08-26 10:05:02 -04:00
padding: 0;
margin-bottom: 5px;
clear: both;
display: inline-block;
2014-08-26 10:05:02 -04:00
width: 100%;
.archetypeProperty {
clear: both;
overflow: visible;
margin-top: 3px;
label {
padding-left: 5px !important;
span {
color: #343434;
}
&.dimmed span {
color: #d9d9d9;
}
}
2016-03-20 12:02:21 +01:00
.publishOptions {
.publishDate {
display: inline-block;
vertical-align: top;
margin-right: 20px;
label {
padding: 0 !important;
margin: 0 !important;
}
}
}
2014-08-26 10:05:02 -04:00
}
.archetypeFieldsetLabel {
position: relative;
2014-03-14 17:34:16 -06:00
width: 100%;
min-height: 42px;
2014-08-26 10:05:02 -04:00
.label-sub {
padding: 8px 0 8px 0;
2014-08-26 10:05:02 -04:00
display: inline-block;
min-height: 20px; /* this makes the header clickable when there's no icon and no text */
2014-08-26 10:05:02 -04:00
&.module-label {
width: 100%;
}
&:hover {
cursor: pointer;
label {
span {
text-decoration: underline;
}
&:hover {
cursor: pointer;
}
}
.caret-right {
border-left-color: #333;
}
}
2014-08-26 10:05:02 -04:00
}
2014-05-04 16:21:19 -06:00
2014-08-26 10:05:02 -04:00
.dropdown-menu {
position: relative;
padding: 0;
border-radius: 0;
box-shadow: none;
margin-top: -10px;
}
2014-05-04 16:21:19 -06:00
span {
2014-08-26 10:05:02 -04:00
font-weight: bold;
&.menu-label { font-weight: normal; }
}
2014-08-26 10:05:02 -04:00
label:hover {
cursor: default;
}
.caret {
position: absolute;
2014-08-26 10:05:02 -04:00
}
label {
margin-bottom: 0;
margin-left: 18px;
white-space: nowrap;
2014-08-26 10:05:02 -04:00
padding: 0;
width: ~"calc(100% - 144px)";
position: absolute;
2014-08-26 10:05:02 -04:00
span {
display: block;
overflow: hidden;
text-overflow: ellipsis;
2014-08-26 10:05:02 -04:00
}
&.dimmed {
2015-08-18 17:59:20 +02:00
i, span {
color: #d9d9d9 !important;
}
2014-08-26 10:05:02 -04:00
}
}
2014-08-26 10:43:13 -04:00
.archetypeEditorControls {
float: none;
position: absolute;
right: 15px;
top: 0;
2016-03-31 08:17:43 +02:00
.icon {
color: #ddd;
padding: 2px;
font-size: 16px;
&:hover {
color: #333;
}
&.icon-delete:hover {
color: #b94a48;
}
&.icon-disabled {
cursor: default;
&:hover {
color: #ddd;
}
}
&.icon-active {
color: #333;
&:hover {
color: #333;
}
}
2016-03-31 08:17:43 +02:00
}
2014-08-26 10:43:13 -04:00
}
2015-08-18 15:10:37 +02:00
&:hover {
}
2014-08-26 10:05:02 -04:00
}
2014-08-26 10:43:13 -04:00
.archetypePropertyError {
margin-bottom: 5px;
padding-top: 3px;
padding-bottom: 3px;
label {
span {
color: #b94a48;
font-weight: bold;
}
}
2014-08-26 10:05:02 -04:00
}
2014-08-26 10:43:13 -04:00
.archetypeCollapser {
clear: both;
height: 100%;
2015-08-18 15:10:37 +02:00
padding: 12px 0 0 20px;
2014-08-26 10:43:13 -04:00
background-color: #fff;
border-radius: 0 0 0 5px;
2014-08-26 10:05:02 -04:00
2014-08-26 10:43:13 -04:00
form {
margin-left:20px;
.control-label {
padding-top: 0 !important;
}
}
.archetypeFieldsetHelpText {
clear:both;
margin-bottom: 3px;
font-size: 12px;
}
2014-08-26 10:05:02 -04:00
}
}
.archetypeDeveloperModel
{
font-family: monospace;
width: 98%;
min-height: 100px;
margin-bottom: 10px;
border: 1px solid red;
}
.archetypeFieldsetError {
border: 1px solid #b94a48;
}
2014-01-27 00:31:44 -07:00
2015-08-19 11:57:39 +02:00
.archetypeAddButton {
color: #ddd;
.icon {
vertical-align: text-top;
2014-01-27 00:31:44 -07:00
}
2015-08-19 11:57:39 +02:00
&:hover {
color: #333;
text-decoration: none;
cursor: pointer;
.archetypeAddButtonText {
text-decoration: underline;
}
.icon {
color: #333;
}
}
2014-01-27 00:31:44 -07:00
}
2014-08-26 10:43:13 -04:00
.multiPropertyTextbox {
2014-08-26 10:05:02 -04:00
margin-bottom: 3px;
}
2014-08-26 10:43:13 -04:00
ul {
2014-08-26 10:05:02 -04:00
list-style: none;
margin-left: 0;
}
.show-validation.ng-invalid .control-group.error .control-label {
2014-01-31 17:37:48 -07:00
span {
2014-08-26 10:05:02 -04:00
color: #343434;
2014-06-28 12:42:36 +02:00
}
2014-01-27 00:31:44 -07:00
}
2015-08-18 17:59:20 +02:00
2015-08-19 15:22:53 +02:00
.fieldsetPicker {
.icon {
color: #333;
}
ul.elements li {
overflow: visible;
2015-08-25 12:59:26 -04:00
vertical-align: top;
height: 90px;
2015-08-19 15:22:53 +02:00
}
2015-10-04 21:39:50 +02:00
ul.groups {
display: block;
margin: 0;
padding: 4px;
li {
width: auto;
margin: 0;
padding: 0 20px;
font-weight: bold;
a {
color: #d9d9d9;
cursor: pointer;
}
&.active a, a:hover {
color: #999;
text-decoration: none;
}
}
}
2015-08-18 17:59:20 +02:00
}
.settingsWrapper {
&:hover {
caret {
background-color: #333;
}
}
.settingsHeader {
&:hover {
cursor: pointer;
label {
text-decoration: underline;
}
.caret-right {
border-left-color: #333;
}
}
}
.settings {
padding: 14px;
background-color: #f8f8f8;
2016-04-04 12:47:39 -04:00
overflow: hidden;
2016-03-23 15:08:07 +01:00
.allowedGroups {
.umb-membergrouppicker a {
i {
padding-right: 0;
font-size: inherit;
}
&:hover i {
color: #333;
}
}
}
}
}
2014-01-10 17:20:35 -07:00
}
2014-08-26 10:05:02 -04:00
.archetypeEditor, .archetypeConfig {
2014-03-14 17:34:16 -06:00
.archetypeEditorControls {
float: right;
2015-10-04 21:39:50 +02:00
}
.archetypeEditorControls, .archetypeFieldsetGroups {
2014-02-01 23:38:24 -07:00
i {
cursor: pointer;
&.handle {
cursor: move;
}
2014-06-28 12:42:36 +02:00
&.dimmed {
color: #d9d9d9;
}
2014-02-01 23:38:24 -07:00
}
2014-01-27 00:31:44 -07:00
}
}
2014-01-14 13:51:23 -05:00
.archetypeConfig {
margin-bottom: 20px;
2014-01-14 13:51:23 -05:00
2015-10-07 16:11:15 -04:00
.archetype-headline {
img {
margin-right: 5px;
}
2015-10-07 16:28:00 -04:00
small {
margin-left: 5px;
}
2015-10-08 08:49:22 -04:00
a {
float: right;
img {
width: 35px;
}
}
2015-10-07 16:28:00 -04:00
}
.manual-link {
color: blue;
2015-10-07 16:11:15 -04:00
}
2014-02-01 23:48:16 +00:00
ul {
2014-08-26 10:05:02 -04:00
list-style: none;
2014-02-01 23:48:16 +00:00
}
2014-01-14 13:51:23 -05:00
2014-02-01 23:48:16 +00:00
li {
2014-08-26 10:05:02 -04:00
background-color: #fff;
}
label {
width: 120px;
}
.archetypeEditorControls {
float: right;
}
.archetypeFieldsets {
margin-left: 0;
}
.archetypeFieldsetWrapper {
border: 1px solid #ccc;
2014-02-01 23:48:16 +00:00
padding: 10px;
margin-bottom: 10px;
2014-08-26 10:05:02 -04:00
}
2014-08-26 10:05:02 -04:00
.archetypeFieldsetTitle {
cursor: pointer;
overflow: hidden;
}
2014-08-26 10:05:02 -04:00
.archetypeFieldsetOption {
margin-bottom: 15px;
2016-03-15 10:04:59 -04:00
margin-right: 15px;
2014-08-26 10:05:02 -04:00
input[type=text]{
2016-03-15 10:04:59 -04:00
max-width: 100%;
width: 100%;
}
2014-02-01 23:48:16 +00:00
}
2014-01-14 13:51:23 -05:00
2014-08-26 10:05:02 -04:00
.archetypeDeveloperModel {
font-family: monospace;
width: 88%;
margin: 5px 10px 10px;
height: 130px;
2014-02-01 23:48:16 +00:00
}
2014-01-14 15:41:40 -05:00
2016-03-15 10:04:59 -04:00
.archetypeOptions {
.btn {
margin-bottom: 5px;
}
label{
width: 400px;
}
2014-02-01 23:48:16 +00:00
}
2014-08-26 10:05:02 -04:00
.archetypePropertiesWrapper {
border: 1px solid #ddd;
padding: 8px;
margin: -40px 10px 10px 140px;
2014-01-15 15:31:52 -05:00
2014-08-26 10:05:02 -04:00
ul {
padding: 0;
margin: 0;
2014-06-28 12:42:36 +02:00
}
2014-08-26 10:05:02 -04:00
li {
padding: 10px;
margin-bottom: 10px;
background-color: #eee;
2014-02-02 22:58:04 -05:00
2014-08-26 10:05:02 -04:00
input[type=text] {
2016-03-15 10:04:59 -04:00
max-width: 100%;
width: 100%;
2014-08-26 10:05:02 -04:00
}
2014-02-02 22:58:04 -05:00
2014-08-26 10:05:02 -04:00
select {
2016-03-15 10:04:59 -04:00
max-width: 100%;
width: 100%;
2014-08-26 10:05:02 -04:00
}
}
li:last-child {
margin-bottom: 0;
2014-02-02 22:58:04 -05:00
}
}
2014-01-27 00:31:44 -07:00
2014-08-26 10:05:02 -04:00
.archetypeAdvancedOptions {
label {
2015-10-07 12:20:09 -04:00
width: 100%;
2014-08-26 10:05:02 -04:00
}
2016-03-15 10:04:59 -04:00
input[type=text] {
width: 100%;
}
2015-10-07 12:20:09 -04:00
input[type=checkbox] {
margin-top: 0;
margin-right: 2px;
}
small {
color: #b3b3b3;
}
.archetypeFieldsetGroups {
padding: 0 10px;
margin-bottom: 20px;
2015-10-07 12:20:09 -04:00
ul {
padding: 0;
margin: 0;
margin-top: 15px;
li {
label {
width: 120px;
}
input {
vertical-align: middle;
width: 240px;
}
}
}
}
2014-08-26 10:05:02 -04:00
}
2014-08-26 10:05:02 -04:00
.archetypeMaxFieldsets{
border: 1px solid #ddd;
width: 40px;
text-align: right;
}
.archetypePropertyTitle {
cursor: pointer;
overflow: hidden;
}
.archetypePropertyCollapser {
margin-top: 10px;
2016-03-15 10:04:59 -04:00
2014-08-26 10:05:02 -04:00
div {
margin-bottom: 10px;
2016-03-15 10:04:59 -04:00
margin-right: 15px;
2014-08-26 10:05:02 -04:00
}
}
.archetypeFieldsetCollapser {
margin-top: 15px;
}
.fieldsetIcon {
margin-right: 10px;
}
}
2014-01-27 00:31:44 -07:00
.ui-sortable-placeholder {
visibility: visible !important;
background-color: #d0e7f1 !important;
2014-01-31 10:40:01 -05:00
}
2015-10-07 12:20:09 -04:00
.archetype-dialog {
margin: 10px;
}