/* EVERY DAY I LOVE YOU LESS AND LESS CSS ! */ @red: #842210; @brightRed: #DA353A; @green: #7DA447; @beige: #FFE771; @blue: #104b87; @lightBlue: #16a8d1; .green { color: @green; } .red { color: @red; } .beige { color: @beige; } /* Layout */ html { background: @lightBlue url('/images/bg-top.jpg') bottom left repeat-x; } body { margin: 0; color: #EEE; } #outerContainer { } #outerContainer2 { } #container { width: 860px; margin: 5px auto 0; min-height: 650px; height: 100%; position: relative; border: 1px solid transparent; } #content { min-height: 566px; } /* Site-wide base styles */ h1 { font-size: 30px; margin-bottom: 10px; color: white; } h2 { font-size: 16px; margin-bottom: 10px; color: white; } a, a:active, a:visited { color: white; text-decoration: none; } a:hover { text-decoration: underline; } .floatLeft { float: left; } .floatRight { float: right; } .whiteBg { background: white !important; } .pad60 { padding: 60px; } .pad40 { padding: 40px; } .pad20 { padding: 20px; } .pad10 { padding: 10px; } .textAlignCenter { text-align: center !important; } .noWrap { white-space: nowrap; } .displayNone { display: none; } .int { min-width: 75px; width: 75px; } .boolean { min-width: 80px; width: 80px; } .opaqueBg { background: url('/images/opaque-black-pixel.png'); a:hover { color: white; } input[type=file] { color: black !important; } } .roundCorners { border-radius: 5px; } .dropShadow { -webkit-box-shadow: 3px 3px 3px #787878; -moz-box-shadow: 3px 3px 3px #787878; box-shadow: 3px 3px 3px #787878; } .noDropShadow { -webkit-box-shadow: 0px 0px 0px !important; -moz-box-shadow: 0px 0px 0px !important; box-shadow: 0px 0px 0px !important; } /* Standard "List" Table Note Child Selectors are necessary to stop styles from flowing down to sub tables */ .crudListPane { overflow-x: auto; } .crudList { border-collapse: collapse; border: 1px solid #BABABA; width: 100%; th { padding: 5px 10px; font-weight: bold; color: #333; } thead th { background: #DA353A; color: white; font-weight: bold; text-align: left; vertical-align: middle; font-weight: normal; } tbody > tr > td { padding: 8px 10px; background: white; color: #333; } tbody > tr:nth-child(even) > td { background: #F2F2F2; } .arrowRightLink img, .arrowDownLink img { top: 2px; } a { color: black; &:hover { color: @red !important; } } } .crudFilters { display: none; td { background: #D7DEE8; } } .controlCell { width: 20px; text-align: center; white-space: nowrap; } .actionsColumn { width: 100px; } .actionsColumn.right { text-align: right; } /* Standard Form */ .tablelessForm { label { float: left; width: 200px; font-weight: bold; } label.ignoreStyles { float: none; width: auto; font-weight: normal; } select, input[type=text], input[type=password], textarea, .field { min-width: 240px; margin-bottom: 10px; float: left; margin-right: 5px; } .field { display: block; padding-bottom: 10px; } .field.smallLabel { color: #888; font-size: 10px; border-bottom: none; padding-bottom: 2px; margin-top: -2px; } textarea { min-width: 340px; min-height: 180px; } .boolean { min-width: 80px; width: 80px; } br { clear: left; } .column { float: left; margin-right: 60px; } .column.right { margin-right: 0; } } .noBold label { font-weight: normal !important; } /* Top Menu */ .topMenu { position: absolute; top: -10px; right: 0; opacity: 0.3; padding: 10px 20px; border: 1px solid #555; background: #3173af; border-radius: 5px; &:hover { opacity: 1; } ul { display: none; margin: 0; padding-top: 10px; li { margin: 10px 0 10px 10px; list-style-type: none; } } a { color: white; margin-left: 10px; &:first-child { margin-left: 0; } } } .settingsForm { border: 1px solid #CCC; background: #F5F5F5; padding: 10px; margin-bottom: 30px; width: 680px !important; min-height: 310px; label { width: 110px; } input[type=text], select { width: 135px; min-width: 135px; } } .infoStats div { margin: 10px 10px; } .playStats { margin: 20px 0; width: 100%; th { text-align: left; } th, td { padding: 3px 10px 4px; } } .card { .dropShadow; font-size: 13px; width: 420px; border: 1px solid #555; .top { text-align: right; padding: 20px 20px 10px; background: white; h2.slogan { color: @blue; } } .flag { float: left; max-width: 160px; max-height: 80px; border: 1px solid #DDD; } .divider { clear: both; background: #CCC; height: 1px; margin: 20px 0; } .country { color: #0062ab; font-size: 28px; } .collectionName { color: #0062ab; font-size: 24px; } .cardName { color: #da353a; font-size: 26px; margin-top: 10px; font-family: Arial; } .main { padding: 15px 10px 1px; background: #003f90; /* url('../images/batsman.png') bottom center no-repeat; */ color: white; } a { color: white; font-weight: bold; } .playStats tr:hover { background: #00367b; } .fullCardName { color: #ffe771; font-size: 22px; margin-bottom: 10px; text-transform: uppercase; margin-left: 8px; } .trumpFlag { width: 160px; float: left; border: 1px solid black; background: #008149; color: white; text-align: center; font-size: 20px; font-weight: bold; line-height: 90px; } .anti.trumpFlag { background: #da353a; } .bigText { font-size: 22px; p { margin: 20px 10px 10px; font-weight: bold; } } } /* For Dealing */ .cardSelects { width: 260px; margin-right: 40px; .sortable { width: 100%; min-height: 190px; border: 1px solid #EEE; padding: 10px; background: #3173af; a { display: block; padding: 4px; color: white; } } h2 { padding: 10px 0 5px; } } #nextRoundLink, #nextSuperRoundLink { font-weight: bold; font-size: 20px; color: #DA353A; } #nextRoundLink:hover, #nextSuperRoundLink:hover { color: #222; text-decoration: none; opacity: 0.8; } .gameplayArea { margin-top: 20px; margin-bottom: 10px; font-size: 17px; color: white; .label{ width: 100px; } } .gameplayArea.multiplayer { .opaqueBg; .roundCorners; .pad20; margin-top: 0; } .gameMessage { font-weight: bold; font-size: 16px; line-height: 1.6; } .discards { padding: 10px; margin: 30px 0; } .discards h2 { font-size: 18px; padding-bottom: 16px; } .discards a { display: block; } .scoreboard { width: 420px; display: none; top: 5% !important; } .dialog .crudList { border: none; } .dialog .crudList th, .dialog .crudList td { border: none; } .dialog .crudList th { background: #DA353A; color: white; font-weight: bold; } #blackOverlay { display: none; background: url('/images/opaque-black-pixel.png'); position: fixed; z-index: 1; width: 100%; height: 100%; top: 0; left: 0; } .dialog { display: none; position: fixed; z-index: 2; left: 50%; top: 10%; width: 600px; min-height: 310px; margin-left: -300px; padding: 20px; border: 1px solid #555; background: #3173af; border-radius: 5px; color: #EEE; h1 { color: white; font-size: 30px; border-bottom: 1px solid #DDD; padding-bottom: 10px; margin-bottom: 20px; } label { width: 150px; } .field { border-bottom: none; } } .dialog.small { width: 300px; min-height: 100px; margin-left: -150px; font-size: 18px; } .cursorPointer { cursor: pointer; } .rightPane { width: 400px; float: right; height: 600px; position: relative; padding-top: 5px; } .st_sharethis span span { color: white; } .stButton .chicklets { background: none !important; font-size: 12px !important; padding: 0 !important; position: relative; right: 4px; } #footer { padding: 20px 0; width: 880px; clear: both; .footerMenu { a { margin-right: 20px; &:last-child { margin-right: 0; } } } } .showHands { width: 100%; margin: 20px 0; td { padding: 5px 20px 5px 0; } } .viewScoreboard { font-weight: bold; text-decoration: none !important; } #gameSettings { width: 680px !important; min-height: 310px; /* padding-bottom: 50px; */ } #gameSettings label { width: 110px; } #gameSettings input[type=text], #gameSettings select { width: 135px; min-width: 135px; } .collectionSelect, .superCollectionSelect { margin: 2px 5px; } .credits p { margin: 10px 0 20px; } .loginMessage { font-weight: bold; padding: 20px 0; } #currentCard { min-height: 600px; margin-top: -10px; width: 420px; } .selectedStatistic td, .selectedStatistic th { background:#da353a } .start { float: right; padding-top: 20px; p { font-size: 17px; margin-left: 30px; margin-top: 30px; width: 405px; line-height: 1.4; } a { text-decoration: underline; } } .mainButtons { float: left; font-size: 30px; margin: 40px 0 0 120px; } .mainButtons img:hover { opacity: 0.8; } .mainMenuLogo { width: 420px; margin-top: 40px; } .soundNotice { position: relative; top: 2px; left: 6px; font-weight: bold; } #tooltip{ position: absolute; background: #FFF2A9; padding: 5px 25px; font-weight:normal; color: #333; display:none; max-width: 200px; line-height: 1.6; border: 1px solid #AAA; z-index: 2000; /* jQuery UI dialogs start at 1000 */ } .ajaxLoader { visibility: hidden; position: relative; } .placeholder { color: #888; } .clearGameLink { font-size: 10px; position: relative; top: 10px; } .browseCards { min-height: 630px; ul { margin: 20px 20px; li { list-style-type: none; padding: 5px; } } } .browseHeading { margin: 10px 0 30px; } .browseCards .selected { font-weight: bold; text-decoration: underline; /*color: #DA353A;*/ } .bold { font-weight: bold; } .assignCardToCollection, .removeCardFromCollection { padding: 10px 20px; } .nudgeFlag { position: relative; top: 2px; right: 2px; } .centerPane, .leftPane { .pad20; .roundCorners; .opaqueBg; width: 360px; border-radius: 10px; h1 { margin: 0 0 20px; padding: 0; } label { width: 100px !important; } .loginMessage { margin-top: 0; padding-top: 0; } input { padding: 2px; font-size: 16px; } input[type=submit],input[type=button] { padding: 5px 12px; font-size: 16px; } .flashMessage { margin-top: 0; padding-top: 0; padding-bottom: 20px; } select { font-size: 16px; } select, input[type=text], input[type=password], textarea, .field { min-width: 205px; } p { font-size: 14px; padding: 15px 0 0; a { font-weight: bold; } } } .centerPane { margin: 60px auto 0; } .leftPane { .floatLeft; } .discardsTable td { width: 260px; &:first-child { padding-right: 50px; } } .addRemoveTeamLinks { margin-bottom: 10px; a { margin-bottom: 10px; text-decoration: none; } } .gameMessage.singlePlayer { .roundCorners; .pad10; font-size: 18px; } .gameMessage.winner { color: #7DA447; } .gameMessage.loser { color: #e04245; } .flag.collectionImage { border: none; } #highScores { width: 400px; margin-bottom: 40px; .crudList { margin-left: 0; width: 100%; } } .quickSearchPane { text-align: center; padding: 5px; } /* Mostly for testing */ .blockLinks { a { display: block; margin: 8px 0; clear: left; padding-top: 10px; img { margin-right: 10px; } &:hover { color: white; } } } .error_list { margin-left: 0; padding-left: 0; li { list-style-type: none; padding: 5px 8px; background:#fbe3e4; border:1px solid #fbc2c4; color:#d12f19; margin-bottom: 10px; font-weight: bold; } } .tablelessForm .error_list li { float: right; } .tableForm { th { width: 200px; font-weight: bold; text-align: left; } label { width: 200px; font-weight: bold; } label.ignoreStyles { width: auto; font-weight: normal; } select, input[type=text], input[type=password], textarea, .field { min-width: 240px; margin-bottom: 10px; margin-right: 5px; } .field { display: block; border-bottom: 1px solid #EEE; padding-bottom: 10px; } .field.smallLabel { color: #888; font-size: 10px; border-bottom: none; padding-bottom: 2px; margin-top: -2px; } textarea { min-width: 340px; min-height: 180px; } } #noResultsInfo { display: none; } td.noResults { padding: 40px 0; text-align: center; font-size: 18px; p { padding: 10px 0; } } .textButton { width: 180px; background: #E04245; border: 4px solid #006DB5; border-radius: 10px; display: block; text-align: center; font-weight: 900; font-size: 20px; padding: 5px; margin-bottom: 8px; -webkit-text-stroke: 1px #006DB5; letter-spacing: -2px; margin: 0 auto 8px; text-shadow: 1px 1px 2px #3d3d3d; text-decoration: none; &:hover { text-decoration: none; opacity: 0.9; /*text-shadow: 2px 2px 2px #3d3d3d; filter: dropshadow(color=#3d3d3d, offx=2, offy=2);*/ } } .textButtons { margin-top: 50px; a { .textButton; } } .playStatsPane { display: none; h2 { margin: 20px 10px -10px; font-size: 20px; } } .tabLinks { margin-right: 20px; margin-top: -15px; margin-bottom: 10px; a { margin-right: 20px; &:last-child { margin-right: 0; } } } .toggleSound { margin-right: 20px; } h1.bottomBorder { padding-bottom: 10px; border-bottom: 1px solid #049DC9; margin-bottom: 20px; padding-top: 10px; font-size: 22px; } .facebookRedirect { text-align: center; padding: 40px 0 0; h1 { border: none !important; margin: 40px 0; } } .lobbyPane { width: 480px; margin-top: 20px; padding: 10px; } .multiplayerLobby { .opaqueBg { h1 { font-size: 24px; } } } #highScores { tr.thatIsMe { td { font-weight: bold; } } } #facebookFriends { div { padding: 10px; font-size: 18px; img { margin-right: 10px; width: 30px; } } } #startGameButtonPane { clear: both; padding-top: 20px; } .smallCard { .noDropShadow; width: 220px !important; border: 1px solid #555; font-size: 11px; .top { padding: 5px 5px 2px; } .flag { float: left; height: 40px; } a { color: white; font-weight: bold; } .main { display: none; padding: 2px; background: #003f90; background-image: none !important; color: white; } .country { font-size: 16px; margin-top: 0; padding-top: 0; margin-bottom: 5px; } .cardName { font-size: 12px; margin-top: 0; padding-top: 0; } .fullCardName { font-size: 14px; margin-top: 5px; } .playStats { margin: 5px; } .playStats th { padding: 2px 4px; } .playStats td { padding: 2px 4px; } } #gameNotStartedYetPane { width: 320px; p { margin-bottom: 20px; } p:last-child { margin-bottom: 0; } } .lobbyPane.tablelessForm { label { min-width: 120px; width: 120px; } input[type="text"], select { width: 135px; min-width: 135px; } } #playerList { a { width: 150px; clear: none !important; float: left; } } .menuContextHelp { .roundCorners; .opaqueBg; .pad20; width: 300px !important; } .customCardScreen { .helpPane { width: 340px; } .submitAllForms { width: 240px; padding: 10px 0; } .editPlayStats { input { width: 40px !important; min-width: 40px !important; text-align: center; } } } #playerListPane { .opaqueBg; .roundCorners; .floatRight; .pad20; .displayNone; width: 300px; } .playerPane { padding-bottom: 5px; &:last-child { padding-bottom: 0; } } .multiplayerScoreboard { .pad20; .opaqueBg; .roundCorners; .floatRight; clear: right; width: 300px; margin-top: 10px; } .callToAction { border: 1px solid black; padding: 20px; margin: 20px; color: white; display: none; p { margin-left: 220px; font-size: 19px; margin-bottom: 10px; } } .lastUpdatedAt { margin-top: 10px; clear: right; padding-top: 20px } .facebookFriendPane { .pad20; .opaqueBg; .roundCorners; .floatRight; .lobbyPane; width: 300px; margin-top: 0; h1 { font-size: 24px; } .sendRequest { font-size: 18px; padding-left: 4px; } } .gameOverPane { text-align: center; h1 { font-size: 35px; margin: 30px 0; } p { font-size: 25px; } } .highScoreModeLinks { text-align: right; width: 400px; margin: 20px auto 10px; a { margin-right: 20px; &:last-child { margin-right: 0; } &.selected { text-decoration: underline; } } } .backToCurrentCardLinkPane { .textButton; font-size: 16px; margin: -17px auto 20px; letter-spacing: 0; clear: left; a:hover { text-decoration: none !important; color: white !important; } } .helpDialog { font-size: 14px; ol { margin: 20px; li { margin: 10px 5px; } } p { margin-bottom: 10px; } a { text-decoration: underline; } } .stockShots { img { width: 122px; margin: 0 4px; } .stockShot { .roundCorners; // border: 1px solid @lightBlue; float: left; width: 122px; height: 80px; margin: 0 4px; background-repeat: no-repeat; background-position: top center; } } .informationPage { .infoLinks { .opaqueBg; .roundCorners; .pad10; width: 500px; a { display: block; padding: 10px 0; float: left; // blocks that don't take whole page width clear: left; // blocks that don't take whole page width } } p { margin-bottom: 20px; a { text-decoration: underline; } } } .fbAlbumList { .fbAlbumLink { .floatLeft; display: block; width: 180px; margin: 4px; height: 180px; padding: 8px; .fbAlbumThumb { height: 135px; } h2 { margin-top: 10px; text-align: center; } &:hover { .roundCorners; .opaqueBg; } } .fbPhotoLink { .fbAlbumLink; width: 130px; height: 100px; margin: 2px; padding: 4px; .fbAlbumThumb { background-position: top center; background-repeat: no-repeat; height: 98px; } } .fbPhotoDeleteLink { height: 120px; .deletePane { padding-top: 5px; } } } .fbPhoto { position: absolute; z-index: 10000; // meh.... left: 50%; top: 10%; text-align: center; img { } form { display: none; } } .loadingMessage { .pad20; .opaqueBg; } .envNotice { position: absolute; top: 0; left: 0; background: red; width: 60px; padding: 5px 0; font-weight: bold; color: white; text-align: center; } h1.spacious { margin: 10px 0 20px; } .introHelp { .opaqueBg; .pad20; .roundCorners; margin-bottom: 20px; line-height: 1.6; a { text-decoration: underline; } } .bigBackToLink { .opaqueBg; .pad10; .roundCorners; clear: both; margin-top: 10px; a { font-weight: bold; font-size: 16px; } } .menuContextHelpPane { margin: 40px 0 0 40px; font-size: 17px; line-height: 1.4; } .viewMap { font-weight: bold; margin-right: 10px; } .mapPane { width: 720px; margin-left: -380px; top: 20px; .scoreboardPane { margin: 10px 0; } h1 { margin-bottom: 0px; padding-bottom: 5px; font-size: 26px; border-bottom: none; } } #map { display: none; width: 700px; height: 460px; color: #444; } .colourSquare { float: left; border-radius: 3px; border: 1px solid #AAA; width: 12px; height: 12px; margin-right: 10px; position: relative; top: 2px; left: 2px; } .largeColourSquare { .colourSquare; float: right; width: 16px; height: 16px; border-color: black; } a.disabled { pointer-events: none; cursor: default; } // TODO: shift to own CSS/LESS file? .quiz { .hints { margin-left: 20px; width: 300px; .hint { display: none; padding: 4px 2px; } } .options { width: 350px; .option a { .roundCorners; .opaqueBg; .pad10; display: block; list-style-type: none; font-size: 18px; margin-bottom: 10px; &:hover { position: relative; right: 1px; top: 1px; text-decoration: none; opacity: 0.9; } } } .quizSummary { .floatRight; //clear: both; width: 145px; .crudList { th { background: #DA353A; color: white; font-weight: bold; text-align: left; vertical-align: middle; font-weight: bold; } td { font-weight: bold; text-align: center; } } } } .flagOptions { min-height: 200px; .flagOption { text-align: center; width: 220px; float: left; margin-top: 10px; cursor: pointer; .innerFlagOption { background-position: center; background-repeat: no-repeat; height: 120px; width: 220px; } &:hover { .roundCorners; .opaqueBg; } } }