- //bootstrap
- .clearfix {
- zoom: 1;
- &:after
- {
- display: block;
- visibility: hidden;
- height: 0;
- clear: both;
- content: ".";
- }
- }
- // Border Radius
- .border-radius(@radius: 5px) {
- -moz-border-radius: @radius;
- border-radius: @radius;
- }
- // Drop shadows
- .box-shadow(@shadow: 0 1px 3px rgba(0,0,0,.25)) {
- -webkit-box-shadow: @shadow;
- -moz-box-shadow: @shadow;
- box-shadow: @shadow;
- }
- #gradient {
- .horizontal(@startColor: #555, @endColor: #333) {
- background-color: @endColor;
- background-repeat: no-repeat;
- background-image: -webkit-gradient(linear, left top, right top, from(@startColor), to(@endColor));
- background-image: -webkit-linear-gradient(right center, @startColor, @endColor);
- background-image: -moz-linear-gradient(right center, @startColor, @endColor);
- background-image: -o-linear-gradient(left, @startColor, @endColor);
- background-image: -khtml-gradient(linear, left top, right top, from(@startColor), to(@endColor));
- filter: e(%("progid:DXImageTransform.Microsoft.Gradient(StartColorStr='%d', EndColorStr='%d', GradientType=1)",@startColor,@endColor));
- -ms-filter: %("progid:DXImageTransform.Microsoft.gradient(startColorStr='%d', EndColorStr='%d', GradientType=1))",@startColor,@endColor);
- }
- .vertical(@startColor: #555, @endColor: #333) {
- background-color: @endColor;
- background-repeat: no-repeat;
- background-image: -webkit-gradient(linear, left top, left bottom, from(@startColor), to(@endColor));
- background-image: -webkit-linear-gradient(@startColor, @endColor);
- background-image: -moz-linear-gradient(@startColor, @endColor);
- background-image: -o-linear-gradient(top, @startColor, @endColor);
- background-image: -khtml-gradient(linear, left top, left bottom, from(@startColor), to(@endColor));
- filter: e(%("progid:DXImageTransform.Microsoft.Gradient(StartColorStr='%d', EndColorStr='%d', GradientType=0)",@startColor,@endColor));
- -ms-filter: %("progid:DXImageTransform.Microsoft.gradient(startColorStr='%d', EndColorStr='%d', GradientType=0))",@startColor,@endColor);
- }
- .vertical-three-colors(@startColor: #00b3ee, @midColor: #7a43b6, @colorStop: 0.5, @endColor: #c3325f) {
- background-color: @endColor;
- background-repeat: no-repeat;
- background-image: -webkit-gradient(linear, 0 0, 0 100%, from(@startColor), color-stop(@colorStop, @midColor), to(@endColor));
- background-image: -webkit-linear-gradient(@startColor, color-stop(@colorStop, @midColor), @endColor);
- background-image: -moz-linear-gradient(@startColor, color-stop(@midColor, @colorStop), @endColor);
- }
- }
- //variables
- @light-gray: #f2f2f2;
- @link-color: #00b3ee;
- @header-size: 36px;
- //@base-color: #68B7D8;
- //@base-color: #ef4444;
- @base-color: #394ba0;
- //@base-color: #82c341;
- //@base-color: #009f75;
- body {
- background-color: @light-gray;
- font-family: Verdana, Helvetica, Arial, Sans-Serif;
- margin:0;
- padding:0;
- color:#666;
- font-size: 75%;
- line-height: 1.5;
- position:relative;
- }
- a {
- color: textcontrast(@base-color, @base-color, lighten(@base-color, 10%));
- text-decoration:underline;
- &:visited {
- color: darken(@base-color, 5%);
- }
- &:hover {
- color: darken(@base-color, 10%);
- }
- }
- /* Headings
- ------------------------------------*/
- h1 { font-size:@header-size; }
- h2 { font-size:@header-size - 8px; }
- h3 { font-size:@header-size - 14px; }
- h4 { font-size:@header-size - 18px; }
- h5 { font-size:@header-size - 21px; }
- h6 { font-size:@header-size - 23px; }
- h1, h2, h3, h4, h5, h6 { position: relative; }
- h1, h2 { line-height: 36px; margin-bottom: 18px; }
- h1, h2, h3, h4 { margin-top: 18px; }
- h3, h4, h5, h6 { line-height: 18px; }
- p { font-size: 13px; line-height: 18px; position: relative; }
- /* Page Elements
- --------------------------------------------*/
- .ribbon
- {
- position:absolute;
- height:10px;
- width:100%;
- background-color:fadeout(@base-color,90%);
- top:0;
- }
- .wrapper
- {
- width:1000px;
- margin:0 auto;
- background-color:#fff;
- .box-shadow(0 0 10px rgba(0,0,0,0.25));
- }
- #header
- {
- .clearfix;
- padding:20px 30px;
- }
- #title
- {
- float:left;
- }
- #logindisplay
- {
- float:right;
- }
- #navigation
- {
- #gradient > .vertical(@base-color, darken(@base-color, 5%));
- .box-shadow(0 1px 2px rgba(0,0,0,0.25));
- .clearfix;
- padding:0 20px;
- border: solid 1px darken(@base-color, 10%);
- border-bottom:solid 1px darken(@base-color, 35%);
- a
- {
- color:textcontrast(@base-color, darken(@base-color, 30%), #f2f2f2);
- text-shadow: 1px 1px textcontrast(@base-color, lighten(@base-color, 15%), darken(@base-color, 20%));
- text-decoration:none;
- font-size:20px;
- float:left;
- padding:10px;
- font-weight:normal;
- }
- }
- #footer
- {
- background-color:#f3f3f3;
- padding:10px;
- text-align:center;
- margin-top:20px;
- }
- /* FORM LAYOUT ELEMENTS
- ----------------------------------------------------------*/
- fieldset
- {
- border:1px solid #ddd;
- padding:0 1.4em 1.4em 1.4em;
- margin:0 0 1.5em 0;
- }
- legend
- {
- font-size:1.2em;
- font-weight: bold;
- }
- textarea
- {
- min-height: 75px;
- }
- input[type="text"]
- {
- width: 200px;
- border: 1px solid #CCC;
- margin-right: 5px;
- }
- input[type="password"]
- {
- width: 200px;
- border: 1px solid #CCC;
- }
- /* Table
- -------------------------------------*/
- table
- {
- border-collapse: collapse;
- td {
- padding: 5px;
- border: solid 1px #e8eef4;
- }
- th {
- #gradient > .vertical(@base-color, lighten(@base-color, 5%));
- color:textcontrast(@base-color, darken(@base-color, 30%), #f2f2f2);
- font-weight:bold;
- padding: 6px 5px;
- text-align: left;
- }
- }
- /* Widget
- -------------------------------*/
- #layoutContainer, #widgetContainer
- {
- ul
- {
- li
- {
- float:left;
- cursor:pointer;
- list-style-type:none;
- width:150px;
- text-align:center;
- padding:5px 0;
- }
- &.chosen
- {
- background-color:#e2e2e2;
- }
- }
- h3
- {
- span
- {
- font-weight:normal;
- font-size:12px;
- }
- &.inactive
- {
- color:#999;
- }
- }
- &.active
- {
- background-color:#f2f2f2;
- padding:10px;
- }
- .layoutName, .widgetName
- {
- text-align:center;
- font-size:12px;
- color:#999;
- }
- }
- .active, .preview
- {
- h3
- {
- margin-bottom:0px;
- color:#666;
- }
- &.active
- {
- background-color:#f2f2f2;
- padding:10px;
- }
- }
- #template
- {
- .widget_container
- {
- position:relative;
- }
- .dragNotice
- {
- position:absolute;
- top:44%;
- width:100%;
- text-align:center;
- font-size:20px;
- font-weight:bold;
- color:#999;
- }
- .widget_container
- {
- min-height: 400px;
- background:#ddd url('images/grid_transparent.png') repeat;
- box-shadow:inset 0px 0px 0px 1px #ccc;
- -moz-box-shadow:inset 0px 0px 0px 1px #ccc;
- -webkit-box-shadow:inset 0px 0px 0px 1px #ccc;
- }
- .grid_1, .grid_2, .grid_3,
- .grid_4, .grid_5, .grid_6,
- .grid_7, .grid_8, .grid_9,
- .grid_10, .grid_11, .grid_12,
- .grid_13, .grid_14, .grid_15,
- .grid_16
- {
- margin-top:10px;
- margin-bottom:10px;
- }
- }
- .widget_drop
- {
- height:100px;
- background:#FFFFCC url('images/drop.png') center center no-repeat;
- border:3px dashed #D4D581;
- }
- .widget_toolbar
- {
- text-align:center;
- position:relative;
- background-color:#ccc;
- cursor:move;
- padding:10px;
- }
- .widget_toolbar .close
- {
- position:absolute;
- left:10px;
- color:Red;
- cursor:pointer;
- }
- .widget_container .editWidget, .widget_container .editContent
- {
- text-align:right;
- display:block;
- }
- .field
- {
- margin-bottom:10px;
- padding:10px;
- background-color:#f2f2f2;
- display:inline-block;
- .label
- {
- float:left;
- font-weight:bold;
- color:#666;
- margin-right:20px;
- font-size:15px;
- }
- .input
- {
- float:left;
- }
- .description
- {
- clear:both;
- padding-top:5px;
- color:#999;
- }
- }
- /* Styles for validation helpers
- -----------------------------------------------------------*/
- .field-validation-error
- {
- display:block;
- color: #ff0000;
- }
- .field-validation-valid
- {
- display: none;
- }
- .input-validation-error
- {
- border: 1px solid #ff0000;
- background-color: #ffeeee;
- }
- .validation-summary-errors
- {
- font-weight: bold;
- color: #ff0000;
- }
- .validation-summary-valid
- {
- display: none;
- }
- /* DISPLAY & EDITOR
- ----------------------------------------------------------*/
- .display-label,
- .editor-label
- {
- margin: 1em 0 0 0;
- font-weight:bold;
- }
- .display-field,
- .editor-field
- {
- margin:0.5em 0 0 0;
- }
- .editor-label:after
- {
- content:":";
- }
- .display-label:after
- {
- content:":";
- }
- .editor-field .info
- {
- font-size: smaller;
- font-style: italic;
- color: #999999;
- }
- .editor-field ul li
- {
- list-style-type:none;
- }
- .text-box
- {
- width: 25em;
- }
- .text-box.multi-line
- {
- height: 6.5em;
- }
- .tri-state
- {
- width: 6em;
- }
- /* MISC
- ----------------------------------------------------------*/
- .modal
- {
- display:none;
- }
- .topLevelMessage
- {
- margin-bottom:20px;
- }
- .help-description {
- font-size: smaller;
- font-style: italic;
- color: #999999;
- }
- /* MENUS
- ----------------------------------------------------------*/
- .submenu ul
- {
- margin-bottom:20px;
- li {
- display: inline;
- list-style: none;
- padding-right:10px;
- }
- }
- .actionmenu {
- text-align:right;
- ul {
- margin-bottom:0px;
- }
- li {
- display: inline;
- }
- }
- /* TOAST
- ----------------------------------------------------------*/
- .toast-container {
- width: 280px;
- z-index: 9999;
- }
- * html .toast-container {
- position: absolute;
- }
- .toast-item {
- height: auto;
- background: #333;
- opacity: 0.9;
- -moz-border-radius: 10px;
- -webkit-border-radius: 10px;
- color: #eee;
- padding-top: 20px;
- padding-bottom: 20px;
- padding-left: 6px;
- padding-right: 6px;
- font-size: 14px;
- border: 2px solid #999;
- display: block;
- position: relative;
- margin: 0 0 12px 0;
- }
- .toast-item p {
- text-align: left;
- margin-left: 50px;
- }
- .toast-item-close {
- background:url(images/close.gif);
- width:22px;
- height:22px;
- position: absolute;
- top:7px;
- right:7px;
- }
- .toast-item-image {
- width:32px;
- height: 32px;
- margin-left: 5px;
- margin-right: 10px;
- float:left;
- }
- .toast-item-image-notice {
- background:url(images/notice.png);
- }
- .toast-item-image-success {
- background:url(images/success.png);
- }
- .toast-item-image-warning {
- background:url(images/warning.png);
- }
- .toast-item-image-error {
- background:url(images/error.png);
- }
- /**
- * toast types
- *
- * pattern: toast-type-[value]
- * where 'value' is the real value of the plugin option 'type'
- *
- */
- .toast-type-notice {
- color: white;
- }
- .toast-type-success {
- color: white;
- }
- .toast-type-warning {
- color: white;
- border-color: #FCBD57;
- }
- .toast-type-error {
- color: white;
- border-color: #B32B2B;
- }
- /**
- * positions
- *
- * pattern: toast-position-[value]
- * where 'value' is the real value of the plugin option 'position'
- *
- */
- .toast-position-top-right {
- position: fixed;
- top: 20px;
- right: 20px;
- }
- .toast-position-center {
- position: absolute;
- left: 50%;
- margin-left: -140px;
- margin-top: -40px;
- top: 50%;
- }
- .toast-position-middle-bottom {
- position: absolute;
- left: 50%;
- margin-left: -140px;
- margin-top: -40px;
- top: 75%;
- }
- /* LOAD MASK
- ----------------------------------------------------------*/
- .loadmask {
- z-index: 100;
- position: absolute;
- top:0;
- left:0;
- -moz-opacity: 0.5;
- opacity: .50;
- filter: alpha(opacity=50);
- background-color: #CCC;
- width: 100%;
- height: 100%;
- zoom: 1;
- }
- .loadmask-msg {
- z-index: 20001;
- position: absolute;
- top: 0;
- left: 0;
- border:1px solid #6593cf;
- background: #c3daf9;
- padding:2px;
- }
- .loadmask-msg div {
- padding:5px 10px 5px 25px;
- background: #fbfbfb url('images/loading.gif') no-repeat 5px 5px;
- line-height: 16px;
- border:1px solid #a3bad9;
- color:#222;
- font:normal 11px tahoma, arial, helvetica, sans-serif;
- cursor:wait;
- }
- .masked {
- overflow: hidden !important;
- }
- .masked-relative {
- position: relative !important;
- }
- .masked-hidden {
- visibility: hidden !important;
- }
- /* USER SEARCH
- ----------------------------------------------------------*/
- #userSearch_ResultsWrapper table tr th{
- white-space:nowrap;
- }
- #userSearch_ResultsWrapper table tr.highlight {
- background-color: #eee;
- }
- #userSearch_ResultsWrapper table tr.selected {
- background-color: #CCCCCC;
- }